Search result page cant't work with Avada theme

Forums › Forums › Search & Filter Pro › Search result page cant't work with Avada theme

Viewing 9 posts – 11 through 19 (of 19 total)
  • Ross Moderator
    #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
    #14877

    Ross

    I will try to customize the search-filter.php.
    Thanks again. ^ ^

    Anonymous
    #14881

    FML

    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
    #14910

    Update: I started from scratch (also now using latest version of Avada), and sure enough I was able to get it to work!

    Thanks for the help!!

    Ross Moderator
    #14999

    Great stuff glad its sorted!

    Anonymous
    #15476

    On 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
    #15532

    I 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;
    ?>
    Ross Moderator
    #15798

    Thanks for the info Chris!

    Anonymous
    #276921

    When you say you “comment out line 71” what file is that in?

Viewing 9 posts – 11 through 19 (of 19 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.