2 replies [Last post]
mpc000
mpc000's picture
Offline
newbie
Last seen: 7 years 13 weeks ago
Timezone: GMT+1
Joined: 2014-04-26
Posts: 2
Points: 3

I have created a category where I place a number of sub-categories and in there a number of posts.

In those sub-categories that have several posts, once I click on a title to read the whole post I get this odd effect where other previous/next posts show on the top:

<a href="http://tinyurl.com/o3g6h6q" rel="nofollow">http://tinyurl.com/o3g6h6q</a>

This does not happen when I click on posts in a category that has only one post.

mpc000
mpc000's picture
Offline
newbie
Last seen: 7 years 13 weeks ago
Timezone: GMT+1
Joined: 2014-04-26
Posts: 2
Points: 3

problem solved, I commented

problem solved, I commented out the following code in the single.php file

					<?php } /*
 
					<div class="post-nav clearfix">  
						<span class="prev-span"><?php previous_post_link('%link', '<span class="next">%title</span>', TRUE); ?></span> 
						<span class="next-span"><?php next_post_link('%link', '<span class="previous">%title</span>', TRUE); ?> </span> 
					</div> 
*/?>[]/code]

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 21 weeks 3 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Well, that was easy

Laughing out loud

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.