navigation/page permalink problem
-
Previous/Next Page permalinks are not working…meaning the url changes, but the content stays the same.
When I switch back to the default them the navigation works fine.
I’ve read several posts regarding this topic, but I still can’t seem to figure it out. A while back I changed my permalink structure to /%year%/%monthnum%/%postname%/ — but I’m not sure I understand how that relates to the next/previous page navigation which tries to call, for example: https://letsgetawesome.net/page/3/
Am I correct in assuming that this is not an .htaccess problem because the navigation is working when the default theme is selected?
navigation code is as follows:
`<?php
<hr />
<?php if (is_single()) { ?>
<div class=”navigation”>
<div class=”left”><?php previous_post(‘« %’,”,’yes’) ?></div>
<div class=”right”><?php next_post(‘ % »’,”,’yes’) ?></div>
<div class=”clear”></div>
</div><?php } else { ?>
<div class=”navigation”>
<div class=”left”><?php next_posts_link(‘« Previous Entries’) ?></div>
<div class=”right”><?php previous_posts_link(‘Next Entries »’) ?></div>
<div class=”clear”></div>
</div><?php } ?>
<hr />`
- The topic ‘navigation/page permalink problem’ is closed to new replies.