Forums Forums Search & Filter Pro multiple pages result are not working

Viewing 10 posts - 51 through 60 (of 78 total)
  • Ross Moderator
    #42631

    Hi Robert I didn’t manage to find a solution yet, I will be jumping back on to this in the next couple of hours.

    Thanks

    Ross Moderator
    #42715
    This reply has been marked as private.
    Ross Moderator
    #42831
    This reply has been marked as private.
    Ross Moderator
    #42839
    This reply has been marked as private.
    Anonymous
    #42854

    thanks ross, everything looks fine!!

    Anonymous
    #42878

    i found an issue with tag filters.

    the tags of the posts are “Dark Entries” which is the label. it worked before, now it doesnt.
    usually clicking on the tag shows only results with that tag. now it just shows everything…
    any idea?

    Ross Moderator
    #42879

    Hi Robert

    Yes this is because you have the S&F “do_query” action in your index.php, so no matter what happens S&F is overriding the query – including for the archives.

    What you want to do is only apply the S&F query on the homepage, and the S&F search results pages…

    I don’t have ftp access anymore, but I downloaded a copy of your theme (for find & replace) and have just updated the code of index.php:

    <?php get_header(); ?>
    
    <div id="container">
    <div class="stars">
      <img src="http://www.plasticat.net/bg.jpg" alt="" class="full-bg animation-pulseSlow"/>
      
      
    </div>
    
    	<?php tamatebako_skip_to_content(); ?>
    
    	<?php get_template_part( 'site-header' ); ?>
    
    	<div id="main">
    
    		<div class="main-inner">
    
    			<div class="main-wrap">
    
    				<main <?php hybrid_attr( 'content' ); ?>>
    
    					<?php
    					
    					global $searchandfilter;
    					if(($searchandfilter->active_sfid())||(is_front_page()))
    					{
    					  do_action('search_filter_do_query', 125);
    					}
    					
    					
    					 if ( have_posts() ){ /* Posts Found */ ?>
    
    						<?php /*tamatebako_archive_header(); */ ?>
    
    						<div class="content-entry-wrap">
    							<?php while ( have_posts() ) {  /* Start Loop */ ?>
    
    								<?php the_post(); /* Load Post Data */ ?>
    
    								<?php /* Start Content */ ?>
    								<?php tamatebako_get_template( 'content' ); // Loads the content/*.php template. ?>
    								<?php /* End Content */ ?>
    
    							<?php } /* End Loop */ ?>
    
    						</div><!-- .content-entry-wrap-->
    
    						<?php tamatebako_archive_footer(); ?>
    
    					<?php } else { /* No Posts Found */ ?>
    
    						<?php tamatebako_content_error(); ?>
    
    					<?php } /* End Posts Found Check */ ?>
    
    				</main><!-- #content -->
    
    			</div><!-- .main-wrap -->
    
    		</div><!-- .main-inner -->
    
    		<?php hybrid_get_sidebar( 'primary' ); ?>
    
    	</div><!-- #main -->
    
    <?php get_template_part( 'site-footer' ); ?>
    
    </div><!-- #container -->
    
    <?php get_footer(); // Loads the footer.php template. ?>

    Notice the do_action('search_filter_do_query', 125); has changed to be inside the if statement.

    Thanks

    Anonymous
    #42880

    great, that was awesome quick!

    Anonymous
    #42881

    im a little bit overwhelmed by the quality of your support!

    Ross Moderator
    #42898

    No problem, thanks! – if you have the time would be great to get a review from you – http://www.designsandcode.com/wordpress-plugins/search-filter-pro/reviews/#comment 🙂

Viewing 10 posts - 51 through 60 (of 78 total)