Support » Fixing WordPress » Older/Newer pages

  • Resolved markovacs

    (@markovacs)


    Hi,

    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 🙂

    Thanks

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

    (@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)

    <?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: fittmamablog.hu

    esmi

    (@esmi)

    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>
    </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

    esmi

    (@esmi)

    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.