• Roar

    (@rori)


    On my current comment or archive pages
    (example: https://www.tuckle.net/index.php?p=3126)

    at the top it has the previous and the next entry.

    How do I get it to say Main in the middle?

    I have tried a couple things, but obviously, me and divs just do not get along.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I can’t see your php, but this is what I have:

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

    <div class="post">

    that help ?

    Thread Starter Roar

    (@rori)

    Mine says:

    <div class="navigation">
    <div class="alignleft"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
    <div class="alignright"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
    </div>

    This comes right out of the Kubrick index template.

    I wonder if I should just start over from scratch. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code for getting back Home’ is closed to new replies.