Support » Fixing WordPress » Older/Newer pages

  • Resolved markovacs



    I have my newer/older page links working fine, but I do not want them to be displayed at the top of the page only at the bottom.

    Could anyone help me what do I have to change to be able to do that?
    I have tried many things but I usually wreck my pgae totally 🙂


Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi


    Forum Moderator

    What is being used to generate the newer/older post links? next_posts_link and previous_posts_link or posts_nav_link?

    Thanks esmi for the reply, but I am not completely sure since none of the above match 100%
    Please see the code:(it is from index.php)

    $prev_link = get_previous_posts_link(__('Newer Entries &raquo;', 'kubrick'));
    $next_link = get_next_posts_link(__('&laquo; Older Entries', 'kubrick'));
    <?php if ($prev_link || $next_link): ?>
    <div class="Post">
        <div class="Post-body">

    Is that the right place I should look for the coding?
    Here is the site is it helps:



    Forum Moderator

    You need to look for a code block that starts with <div class="navigation"> (I think).

    Yeah I got that `<div class=”navigation”>
    <div class=”alignleft”><?php echo $next_link; ?></div>
    <div class=”alignright”><?php echo $prev_link; ?></div>`

    and to do what with it?
    delete, wont it make the bottom ones disappear?

    <div class="navigation">
    			<div class="alignleft"><?php echo $next_link; ?></div>
    			<div class="alignright"><?php echo $prev_link; ?></div>

    ok I deleted it and it works!

    Thanks esmi.

    Do you know how could I decrease the space now between the menubar and the first article?

    Thanks again



    Forum Moderator

    There appears to be an empty post div at the top of your Home page content. That’s what is creating the gap between the header and the first (visible) post.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Older/Newer pages’ is closed to new replies.