• Hi. I have a problem that I can’t seem to figure out. On the top of the permalink pages, the navigation looks something like this:

    ——————————————————
    ?? Site Review of Chloe18.com
    Brooke Skye Slowly Strips ??
    ——————————————————

    It breaks up the navigation into two lines, and list the full title of the previous and next post. Also, there is no link to get back to the main page, so if the surfer is several pages in they have to hit the back button several times. What I want it to do is make the navigation at the top of the page look like this:

    ——————————————————
    ?? Previous Post | Home | Next Post ??
    ——————————————————

    That way it’s all on one line, doesn’t have the full title of the nav links, and has a Home link. Can someone please tell me (exactly…because I don’t know anything about editing PHP) how to do this? Thanks in advance to anyone that helps.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter teenieblog

    (@teenieblog)

    Anyone know how to fix this, please?

    I have something like this:
    <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, '') ?>
    </div>

    The css .cent just centers everything:
    .cent {
    text-align:center;
    }

    It does show the post title though..
    See if that works ?

    Thread Starter teenieblog

    (@teenieblog)

    Thanks! Now where do I put that? lol. I’m sorry for sounding so stupid, but I’m just learing WP.

    In your main template, there should be this line (which is the start of The Loop):
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    put it just below that, right underneath it.

    Thread Starter teenieblog

    (@teenieblog)

    Ok thanks! I’ll try that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Navigation Problem on Pemalink Pages’ is closed to new replies.