-
Search Results
-
Hello,
first of all, thank you so much for the great Plugin, as well as the swift support the last time! The plugin has been a big help in our project so far.
However, I have just one more – pretty urgent – problem, relating to displaying the search results. Now, as a preface, I know that in order to customize the search results I need to change the results.php, and I’ve made a copy of it in the theme as instructed. I’m currently using the shortcode method to display my results, but if what I want can be achieved with some other method more easily, I could try changing to it.
So! The thing is, I’m using the Enfold theme and would like to display my results using their portfolio grid, like so: link (hovering over a picture displays the green circle depicted in the upper right corner, which opens a lightbox preview [Ajax portfolio] when clicked) instead of just the default title and image. Basically, it’s the grid and the lightbox preview that I’d like.
However, I’m unsure how to do that. I think I either need to do something in the results.php to put the results in the grid, or somehow have the S&F affect the portfolio entries displayed in the grid itself…? I’ve tried Googling and searching through the support forums, but unfortunately couldn’t find anything. I’m really stumped!
If it helps, I have a piece of shortcode that produces the portfolio grid. I tried to echo that in various parts of the results.php, but all it did was display one entire grid (with all the portfolio entries) for each search result (title and image), resulting in about 120 grids with 120 entries…
Any idea of how I could accomplish what I want? I’d be forever grateful for any help!
Hi Ross,
Love the plugin. Thanks for this.
I need to customise results.php, but I need to be able to do that from a plugin, NOT from the theme. Right now, the only way to do so, according to the docs, we can copy paste search-filter/results.php in our theme’s dir.
Can you please advise on how to maybe overwrite/extend Search_Filter_Query Class (the_results function), from a custom plugin, and define new location for search-filter/results.php?
Any help is much appreciated.
Thank you,
V.
Hi.
I use a search form with results displayed as shortcode. I customized results.php file, everything is working fine except my a href=”#” links 🙁
These links were used in my template to display further information about each result, but I can’t get them to work now.
I thought it might be Ajax conflict, so I desactivated it, but it still doesn’t work.
Thanks for your help
Séline