Support » Themes and Templates » Page Pagination Not working :(

  • Hardeep Asrani

    (@hardeepasrani)


    Support Team Volunteer

    Hey guys, I don’t know why but pagination is not working on my theme canyon.

    here is full script of my single.php page

    <?php get_header(); ?>
    
    <div id="content" >
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <div class="post" id="post-<?php the_ID(); ?>">
    
    	<div class="title">
    		<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    	</div>
    	<div class="postmeta">
    		<span class="pmet">Posted by <?php the_author_posts_link(); ?>  on <?php the_time('M - j - Y'); ?> </span>
    	</div>
    	<div class="entry">
    		<?php the_content('Read the rest of this entry &raquo;'); ?>
    		<div class="clear"></div>
    		<?php wp_link_pages(array('before' => '<p><strong>Pages: </strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    	</div>
    
    	<div class="titlemeta clearfix">
    		<span class="categori"> Categories: <?php the_category(', '); ?>   </span>
    
    	</div>
    </div>
    
    <?php comments_template(); ?>
    <?php endwhile; endif; ?>
    </div>
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Page Pagination Not working :(’ is closed to new replies.