Forums Forums Search & Filter Pro All Results displaying

Viewing 6 posts - 11 through 16 (of 16 total)
  • Anonymous
    #8780

    Here’s the returned string when I have AJAX turned on:

    http://localhost/wp-admin/admin-ajax.php?action=get_results&sfid=178

    Which returns an empty page… even though I have the Shortcode form and shortcode with results on the same page.

    Really struggling to understand what the problem is!

    Martin

    Ross Moderator
    #8788

    Hey Martin

    I didn’t get your message actually? Did you post it here?

    I’ve just emailed you an update which should hopefully fix your issue – let me know if it works 🙂

    Thanks

    Anonymous
    #8813

    Hey,

    I’ll try the update tonight – although I think I’ve got a bigger problem!

    All my results are displaying, the filters don’t seem to be filtering. I don’t have any WP_Query elements on my page.

    Thanks

    Anonymous
    #8830

    Hi,

    It doesn’t work, it’s a problem with the custom theme I’m creating.

    I have a page called archive-lettings.php with this code:

    <?php get_header(); ?>
    
    	<section>
    		<div class="span8 results">			
    
    	<?php if ( have_posts() ) : ?>
    		<?php while ( have_posts() ) : the_post(); ?>			
    
     				<section class="listingResult">
    					<a href="<?php the_permalink(); ?>"><img src="<?php the_field('listing_image'); ?>" /></a>
    					<h1><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
    					<h2><?php the_field( 'listing_price' ); ?></h2>
    					<p class="clear"><?php the_field( 'listing_extract' ); ?></p>
    					<a href="<?php the_permalink(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/img/button.svg" alt="Find out more" class="findoutmore"></a>
    				</section><!-- Listing -->
    
    				<?php endwhile; /* rewind or continue if all posts have been fetched */ ?>
    				<?php else : ?>
    					<section class="listingResult">
    				      <h1>Sorry, we couldn't find any results.</h1>
    				    </section>	
    				<?php endif; ?>
    			</div><!-- Results -->
    			
    	</section>
    
    	<div class="span4 right search">
    		<div class="lettings">Lettings</div>
    		<div class="forsale"><a href="/forsale">For Sale</a></div>
    		<?php echo do_shortcode( '[searchandfilter id="178"]' ); ?>
    	</div>
    	</section>
    <?php get_footer(); ?>

    Whether I try the normal results load or the AJAX I get all the results returned, and nothing is filtered 🙁

    Ross Moderator
    #8928

    Hey there

    Sorry for the generic message – I got locked out and blacklisted by my host for this website!! – so been unable to login and reply to tickets – playing catchup now – will be systematically working through tickets today.

    Thanks

    Ross Moderator
    #9173

    Hey Martin I’m back. Do you have a live link to look at? Unfortunately without seeing anything I’m at a loss as to what it could be…

    Thanks

Viewing 6 posts - 11 through 16 (of 16 total)