[resolved] Older and newer posts links show up on single pages (3 posts)

  1. thatjohnpaul
    Posted 3 years ago #


    I was wondering if someone could help me modify my code so that the "older posts" and "newer posts" links show up only on the blog homepage and not on single blog posts? (Right now the older posts link isn't showing up because I only have the posts to fill up one page at the moment, FYI.) Thanks in advance!

  2. nazzilla
    Posted 3 years ago #

    in single page work only next post/previus post
    code is

    <?php previous_post('&laquo; &laquo; %', '', 'yes'); ?>
    | <?php next_post('% &raquo; &raquo; ', '', 'yes'); ?>

    put it in single.php

    more info here

  3. thatjohnpaul
    Posted 3 years ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic