Forums Forums Search & Filter Pro Categories not paginating

Viewing 6 posts - 21 through 26 (of 26 total)
  • Trevor
    #44758

    I have 2 pagination issues to look at, next up on my to do list, after lunch, so in about 2 hours I will start the investigation.

    Anonymous
    #45187
    This reply has been marked as private.
    Trevor
    #45208
    This reply has been marked as private.
    Ross Moderator
    #45410

    Hey Tim

    I took a look.

    There was definitely some issue with your pagination function….

    I replaced your pagination in archive.php with a standard WP function, and it seems to work out of the box (locally).

    In your archive.php, around line 74 you have –

    <?php pagination_bar(); ?>

    Lets replace this with a WP one, which looks just the same as your pagination:

    <?php 
    
    	echo the_posts_pagination( array(
    		'prev_text'          => __( '&laquo; Previous', 'twentyfifteen' ),
    		'next_text'          => __( 'Next &raquo;', 'twentyfifteen' ),
    	) );
    	
    	//old pagination
    	//pagination_bar();
    ?>

    And there you go 🙂 works great here.

    Sometimes a theme or plugin will modify WP pagination functions using filters, and switching to another WP function for pagination usually seems to solve the issue when this arises with S&F 🙂

    Thanks

    Anonymous
    #45630

    Hi there,

    Thank you very much for your help! The pagination is is up and working great on our dev site.

    Cheers!

    Trevor
    #45646

    Can I mark this as resolved and close the thread?

Viewing 6 posts - 21 through 26 (of 26 total)