WordPress.org

Support

Support » Themes and Templates » Pagination Not working

Pagination Not working

  • Shiva1029
    Member

    @shiva1029

    The Pagination on my site
    http://www.theCollegeStash.com isn’t working! I am getting a blank page on clicking Page 2
    ( .com/page/2/ )

    this is the code in index.php

    <?php  if ($options['mts_pagenavigation'] == '1') { ?>   
    
    			  <?php  pagination($additional_loop->max_num_pages); ?> 
    
    			  <?php  } else {  ?> 
    
    		<div class="pnavigation2">
    
    			<div class="nav-previous"><?php next_posts_link( __( '← '.'Older posts', 'mythemeshop' ) ); ?></div>
    
    			<div class="nav-next"><?php previous_posts_link( __( 'Newer posts'.' →', 'mythemeshop' ) ); ?></div>
    
    	    </div> 
    
    			  <?php } ?>

    [Please post code between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    My permalink structure is ” .com/%postname%-%year%-%monthnum%-%day%/ “
    I use Yoast too…
    MY WORDPRESS VERSION IS 3.5.1

  • The topic ‘Pagination Not working’ is closed to new replies.