Forums Forums Search & Filter Pro Ajax is not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #31718

    Hi,
    I am pretty sure that Ajax is not working on my site at http://www.buybettermall.com/apparel . I am using the search and filter pro template which I modified to have three columns. Is it possible that my modifications wrecked something, or is it because I am using the wp_pagenavi plugin? Also when the page is loading (which it does every search right now) the multi-select filter boxes get temporarily messed up. Here is how I modified the template:

    if ( $query->have_posts() )
    {
    ?>

    <div class=”pagination”>
    Found <?php echo $query->found_posts; ?> Results
    <?php

    if (function_exists(‘wp_pagenavi’))
    {
    echo “<br />”;
    wp_pagenavi( array( ‘query’ => $query ) );
    }
    ?>
    </div>

    <?php $i = 0; ?>
    <?php
    while ($query->have_posts())
    {
    $query->the_post();

    ?>

    <?php
    if($i == 0) {
    echo ‘<div class=”ng-row”>’;
    }
    ?>

    <div class=”half_bbm”>
    <div id=”myfirstid”>

    <h3>“><?php the_title(); ?></h3>
    “><?php
    if ( has_post_thumbnail() ) {
    echo ‘<p>’;
    the_post_thumbnail(“small”);
    echo ‘</p>’;
    }
    ?>

    <p><?php the_excerpt(); ?><br /><p>

    </div>
    </div>

    <?php
    $i++;
    if($i == 3) {
    $i = 0;
    echo ‘</div>’;
    }
    ?>

    <?php
    }
    ?>

    <?php
    if($i > 0) {
    echo ‘</div>’;
    }
    ?>

    After this I didn’t change anything. Any help you can give would be appreciated. Thanks
    Greg

    Ross Moderator
    #31748

    In the Display Results tab, what Display Method are you using?

    Anonymous
    #31792

    Using a ShortCode

    Anonymous
    #31826

    Hello sorry, that is my bad, i changed the parent of the display page. Some how the results still came up on the right page but ajax broke. Its all fixed, sorry for wasting your time.
    you can set this as resolved

Viewing 4 posts - 1 through 4 (of 4 total)