Forums › Forums › Search & Filter Pro › All Results displaying
- This topic has 15 replies, 2 voices, and was last updated 9 years, 11 months ago by Ross.
-
Anonymous(Private) December 8, 2014 at 9:55 pm #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(Private) December 9, 2014 at 12:59 am #8788Hey 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(Private) December 9, 2014 at 7:28 pm #8830Hi,
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(Private) December 11, 2014 at 1:32 pm #8928Hey 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(Private) December 16, 2014 at 11:01 pm #9173Hey 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
-
AuthorPosts