YITH Ajax Filter not showing any results

UPDATE: Using the plugin suggested in this post i have installed and added the widget to the side of my website. in my code i added the class to the container ‘productswoo’ when selecting a filter it spins like its searching but then returns nothing just a empty container

<div class=”row products-range search-space productswoo”>
<?php $query = new WP_Query( $args );

if ( $query->have_posts() ) {
global $wpdb;
/* Start the Loop */
while ( $query->have_posts() ) : $query->the_post();
?>
<div class=”col-xs-12 col-sm-12 col-md-6 col-lg-4″>
<div class=”box”>
<div class=”image”>
<a href=””><img src=”https://via.placeholder.com/600×400″ class=”img-responsive center-block” /></a>
</div>
<div class=”info”>
<h3 style=”font-size: 18px;”><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></h3>
<?php the_excerpt(); ?>
<a class=”btn btn-success btn-lg btn-block” href=”<?php echo get_the_permalink(get_the_ID()); ?>”>View</a>
</div>
</div>
</div>
<?php
endwhile;
// Restore original post data.
wp_reset_postdata();
} ?>
</div>

To see for yourself here is the link to the site: link here

Read more here:: YITH Ajax Filter not showing any results

Leave a Reply

Your email address will not be published. Required fields are marked *