AnonymousInactive
Hi again.
Just if it helps, have been taking a look at Relevanssi, and the indexing system is a huge risk for a large project (big ddbb) like mine. Have found this easy workaround
http://adambalee.com/search-wordpress-by-custom-fields-without-a-plugin/
and works like a charm for default WP Search. Have tried out to integrate on your class-search-filter-get-results.php, but no luck, goes bit far of my scope, honestly.
Just if you think for a simpler system to integrate this feature than dealing with Relevanssi, that i’ve seen other support request with the same issue.
Thanks!
AnonymousInactive
Hi Ross,
Thanks again for getting back to me. Having looked at both options now I think the shortcode option is the best for my site, as it gives more flexibility.
So I have a few questions:
1. Having switched back to shortcode, the slug is now appearing as http://houseplansdirect.co.uk/search-house-designs/%20%E2%80%8E/?_sft_category=dormer-bungalow-designs which is causing a 404. I’m not sure where the %20%E2%80%8E is coming from as it wasn’t there before.
2. I still need to determine how to get more than one category showing if selected by the user.
3. I’ve managed to amend your results.php template to show thumbnails the right size, remove the excerpt and meta, but I can’t figure out how to show the results in a grid.
Thanks
Andy
AnonymousInactive
Thanks for the quick reply, very helpful.
All fixed (kind of) yes it seems it is something to do with my custom results.php page as I switched back to the default and it worked.
Strange it works locally, will have a read through my code now and am sure it will be some PHP syntax error (my fault).
Thanks again for your quick reply and an amazing plugin.
Kevin.
Ah no, just create a new search form and follow the instructions here under A Quick Tutorial:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/with-a-shortcode/
Make sure this new search form is using the original results.php
supplied with Search & Filter – then provide me with a link so I can test a “clean” version of S&F and the results template.
Thanks
AnonymousInactive
Actually I went back to original results.php and still have the same issue.
regards
AnonymousInactive
I used custom results.php file.
http://goo.gl/vd2I4q
Try to go to the last page of pagination.
many thanks
regards
AnonymousInactive
I am using a shortcode to display the Filters/Results.
I have also created my own results.php in my theme folder to use <?php the_content(); ?> instead of <?php the_excerpt(); ?>.
Whenever the results are updated using AJAX, the content is replaced with excerpt.
http://hassonwong.wpengine.com/hair-transplant-image-gallery/
I’m not sure what to try next…
Thanks,
Mike
AnonymousInactive
Hi,
I am not sure if this would be better suited in the Feature Requests forum or if it’s actually possible already. I couldn’t find any clues in the documentation.
Is it possible to have different views depending on if the user has entered a search term or not?
For example: The default view shows a list of posts grouped by category or basically any other content I choose. Once the user enters a search term the page will display the results according to the results.php.
In standard wordpress we can achieve this with a conditional is_search() in php. Is there any way to include such a switch in the results.php or is it not possible due to the way the Ajax request works?
Is there a specific javascript event which gets fired to indicate whether the user has entered a search query or if it’s empty? (in that case we could at least hide the content with js if a search is performed).
Thanks,
Robin
AnonymousInactive
Hello Ross,
I hope you are doing fine!
I checked all the answers you gave me to my questions, but I need some extra help in my question No3:
3) How to remove the “Tags:” that appears before every result in my Continent filter. For example as you see the results are: Tags:Europe , Tags:Americas e.t.c.
because, I believe that you are missing something.
Your answer was:
3) This is in your custom template – you need to make modifications to this in order to remove it
So, as you see in my result page now!
http://glass-mig2.the-glass-co.com/form-results/?_sft_post_tag=asia-pacific
I put back your “Default”, results.php file. But the problem still exists.
I believe that somewhere else is the problem and it brings the word “Tags:”, with the results.
– Why the word “Category”, don’t come with the results?
so somewhere else is the issue.
Thank you,
p.s. for all the other questions, you guide me and I found my way how to make them work in a proper way. thanks again
AnonymousInactive
Hows it going?
So heres my situation. I am using classipress + search filter pro. One thing I plan to use on the site is featured ads that utilize the stickypost feature. Problem is, on the search results page, in addition to posts matching my search query meta, sticky posts that dont match search query meta are also displayed. Ive tried every way I can think of to get this to work I want to no avail. Using your shortcode to display results works the way I want it too (ignores sticky posts) but the results layout is not ideal and not consistent with listings in index and post archives. Ive had no luck modifying the results.php file to my liking (although i came somewhat close) as my skill level is no where near that of yours. My proposal is I hire you to make the modifications I require. Id setp a clone site with admin + FTP access. Please let me know if this something you are available for. Thanks!