• Hi,

    I tried your plugin and it does exactly what it says/what i need. Only one thing, I can’t use it right now with the way the results are showing up. I tried to change things in the functions.php as mentioned in your post here:
    https://9-sec.com/2013/06/ajax-wp-query-search-filter/

    But my template uses a bunch of php to customize the layout, that’s a column based layout and it must call the number of columns from the option and the last colum has an extra class to change the css.

    Here is an example to give you an idea:

    <?php while ( have_posts() ) : the_post(); $count++; ?>
    
            <!-- Post Starts -->
            <div class="bg-photo-thumb <?php echo $class; ?>-col<?php if ($count == $cols) { echo ' last'; $count = 0; } ?>">

    I’m a newbie and couldn’t figure out how to make it work from the functions.php

    So my question is, can we call/use a php template to present the results instead of doing it in the functions.php?

    https://www.ads-software.com/plugins/ajax-wp-query-search-filter/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Using a template to show results’ is closed to new replies.