Support » Fixing WordPress » Older/Newer pages
7 years, 1 month ago
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 🙂
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 »', 'kubrick'));
$next_link = get_next_posts_link(__('« Older Entries', 'kubrick'));
<?php if ($prev_link || $next_link): ?>
Is that the right place I should look for the coding?
Here is the site is it helps: fittmamablog.hu
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="alignleft"><?php echo $next_link; ?></div>
<div class="alignright"><?php echo $prev_link; ?></div>
ok I deleted it and it works!
Do you know how could I decrease the space now between the menubar and the first article?
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.