Forums › Forums › Search & Filter Pro › Search result page cant't work with Avada theme
Tagged: Avada, display results, filter, poduct
- This topic has 18 replies, 1 voice, and was last updated 11 months, 3 weeks ago by Anonymous.
-
Ross Moderator(Private) April 10, 2015 at 4:47 pm #14875
Hi Diego
To change the style of the results you must customise
search-filter.php
to your needs.Or start with a different template (not search.php) however I don’t have much experience with that and is a customisation you must make yourself.
Thanks
Anonymous(Private) April 10, 2015 at 7:04 pm #14881FML
I was indeed using S&F without a search field, so I tried also fixing line 74, along with removing line 71, but it still not working for me!
Quick question – are you guys using Taxonomy fields? Because I am. Could that require additional tweaking?
I am getting desperate…
Anonymous(Private) April 20, 2015 at 6:57 pm #15476On a related note, I believe there is an issue with Ajax. When using the Avada theme and customizing the template, the featured images do not appear when I have Ajax turned on. When I turn off Ajax, the images appear as expected in the search results.
Anonymous(Private) April 21, 2015 at 12:55 pm #15532I used index.php and copied and renamed it then entered my own code to give a “results not found” as I had the above problems. Just in case people want an alternative.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); // POSTS NOT FOUND LOOP CODE FOR JOB SEARCH endwhile; else : echo wpautop( '<h1>SORRY NOTHING WAS FOUND</h1> <p><a href="/job-search/">Click here to search again! </a></p>' ); endif; ?>
-
AuthorPosts