• hello. I have gone through the threads but can’t seem to find help on how to put in links in individual entries that link to the “next post” and “previous post”. Like this https://just.hailat.com/archives/000167.html

    Is it too simple that I’m the only one who can’t do it? ??

    Also I can’t seem to find the archive options or anything. please help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • <center>
    <?php previous_post("%", "", "yes", "no", 1, "") ?>
    < < || <a href="https://www.tamba2.org.uk/T2" title="Home">Home</a> || > >
    <?php next_post("%", "", "yes", "no", 1, "") ?>
    </center>

    I have that bunch of lines just above this:
    <div class="post">
    in index.php.
    It has worked in 1.2, 1.2.1, 1.2.2 and now the latest code.

    (and one day I’ll get rid of those nasty center tags!)

    Thread Starter justine

    (@justine)

    thanks a lot ??

    Thread Starter justine

    (@justine)

    oooer it’s appearing on my front page :/

    Oops !

    <?php if ($single) { ?>
    <center>
    <?php previous_post('%', '', 'yes', 'no', 1, '') ?>
    < < || <a href="https://www.tamba2.org.uk/T2" title="Home">Home</a> || > >
    <?php next_post('%', '', 'yes', 'no', 1, '') ?>
    </center>
    <?php } ?>

    Add the lines at the top and bottom there to yours ?

    Thread Starter justine

    (@justine)

    oh ok.. thanks :p

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘linking individual entries’ is closed to new replies.