• Hi,

    This is the website I am working on, https://www.bbin.in. Currently set to load 5 blog posts but showing 9 and pagination throws back to homepage not page 2,3,4….

    I tried changing blog post to load 9, it doesn’t solve the problem.

    Preview of index.php, if needed

    <div id="page-content" class="col-sm-7 col-md-8">
    
    			<?php if (have_posts()) : ?>
    
    				<?php get_template_part( 'templates/page-title' ); ?>
    
    				<?php $blog_layout = vw_get_option( 'blog_layout' ); ?>
    
    				<?php if ( 'classic' == $blog_layout ) : ?>
    
    				<div class="row archive-posts post-box-list">
    					<?php while (have_posts()) : the_post(); ?>
    					<div class="col-sm-12 post-box-wrapper">
    						<?php get_template_part( 'templates/post-box/classic', get_post_format() ); ?>
    					</div>
    					<?php endwhile; ?>
    				</div>
    
    				<?php else: ?>
    
    				<div class="row archive-posts vw-isotope post-box-list">
    					<?php while (have_posts()) : the_post(); ?>
    					<div class="col-sm-6 post-box-wrapper">
    						<?php get_template_part( 'templates/post-box/large-thumbnail', get_post_format() ); ?>
    					</div>
    					<?php endwhile; ?>
    				</div>
    
    				<?php endif; ?>
    
    				<?php get_template_part( 'templates/pagination' ); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix pagination. Refuses to load next page’ is closed to new replies.