Brightside Theme - add previous and next links? (3 posts)

  1. lorigreenberg
    Posted 7 years ago #

    I searched for this and came up empty.

    I'd like to have links to previous and next posts at the end of my page. Is this a plugin I need or code I can add?

    I use the brightside theme and my site is http://gal-lori.com

    Thanks in advance.

    Lori Greenberg

  2. threestyler
    Posted 7 years ago #

    Code for previus and next posts (used in single.php):

    <?php previous_post_link('&laquo; %link') ?>
    <?php next_post_link('%link &raquo;') ?>

    Code for previous and next page (used in index.php):

    <?php next_posts_link('&laquo; Older Entries') ?>
    <?php previous_posts_link('Newer Entries &raquo;') ?>
  3. lorigreenberg
    Posted 7 years ago #

    Thanks threestyler. That is exactly what I needed and nice and easy!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.