WordPress.org

Support

Support » Themes and Templates » navigation links for posts on category template

navigation links for posts on category template

  • Can someone please advise me as how to ad links on the bottom of this template so a user can view previous and next links for all the posts of the same category. I’ve tried and (feel like) I’ve read every post in this forum about this topic but none of what I’ve tried has worked.

    Here’s the link to my page. (This page is a multi-post category template named F.A.T.):
    http://www.computesocial.com/small-business-facts-applications-trends

    Here’s my code below:
    <?php
    /*
    Template Name: F.A.T.
    */
    ?>
    <?php get_header(); ?>
    <div id=”content”>
    <?php include(TEMPLATEPATH.”/l_sidebar.php”);?>
    <div id=”contentmiddle”>
    <h1>Facts, Apps & Trends</h1>
    <?php query_posts(‘category_name=FAT’); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php the_content(__(‘Read more’));?>
    <!–
    <?php trackback_rdf(); ?>
    –>
    <?php endwhile; else: ?>
    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p><?php endif; ?>
    </div>
    <?php include(TEMPLATEPATH.”/r_sidebar.php”);?>
    </div>
    <!– The main column ends –>
    <?php get_footer(); ?>

    Thanks in advance for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘navigation links for posts on category template’ is closed to new replies.