paginating category page? (2 posts)

  1. atracksler
    Posted 2 years ago #

    Here is the code on my category page:

    <?php /* Template Name: Category*/ ?>
    <?php get_header(); ?>
    	<div id="meat-left">
    	<h1>	Recordingography >><?php single_cat_title(); ?></h1>
    	<p><?php echo category_description(); ?></p>
    <?php if (have_posts()): while (have_posts()): the_post(); ?>
    <ul class="ology">
    					<?php the_post_thumbnail('thumbnail', array('class' => 'alignleft')); ?>
    					<a href="<?php the_permalink(); ?>"><h2><?php the_title(); ?></h2></a>
    $Note = get_post_meta($post->ID, 'Note', true);
    if($Note != '') echo "<strong> - </strong>" . $Note;
    	<?php comments_template(); ?>
    <?php endwhile; endif;?>
    		<?php echo do_shortcode('[fbcomments]'); ?>
    	<?php get_sidebar();?>
    <?php get_footer(); ?>

    Where do I add the code to paginate these? Right now there are only 10 posts showing...

    Thanks in advance!

  2. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    possibly between endwhile; and endif;


    <?php endwhile; ?>
    <?php post_nav_links(); ?>
    <?php endif;?>


Topic Closed

This topic has been closed to new replies.

About this Topic