navagation next / previous not working
-
I am having trouble getting the next / previous buttons to show up in posts.
https://www.gypsylounge.com/wordpress
The next/ previous buttons do show up and work in only one template. The default kubrick theme but only that one theme.
I have tried deactivating all plug-ins, removing all widgets, and in general restoring everything to it’s original state. With no luck.
I’m sure you could use some code to help me figure this out so here is the code related to my index.php page
`<?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): ?>
<div class=”Post”>
<div class=”Post-tl”></div>
<div class=”Post-tr”><div></div></div>
<div class=”Post-bl”><div></div></div>
<div class=”Post-br”><div></div></div>
<div class=”Post-tc”><div></div></div>
<div class=”Post-bc”><div></div></div>
<div class=”Post-cl”><div></div></div>
<div class=”Post-cr”><div></div></div>
<div class=”Post-cc”></div>
<div class=”Post-body”>
<div class=”Post-inner article”><div class=”PostContent”>
<div class=”navigation”>
<div class=”alignleft”><?php echo $next_link; ?></div>
<div class=”alignright”><?php echo $prev_link; ?></div>
</div></div>
and here is the code from my style.css
.navigation
{
display: block;
text-align: center;
}I have spent two days trying to fix this myself with no luck. I am new and could use some help.
Thank you,
Ryan
- The topic ‘navagation next / previous not working’ is closed to new replies.