I think yes, you can limit this next and previous to the categories the post is in.
I do not know how this works really with posts in asigned to many categories, but this should do it:
Code:
<div class="navigation">
<div class="right"><?php next_post_link('%link »', '%title', TRUE) ?></div>
<div class="left"><?php previous_post_link('« %link', '%title', TRUE) ?></div>
</div>
____________________
you find me on Google+, Twitter and Facebook
(von: Joern)
Hier noch 7 weitere Ergebnisse dieses Threads:
Where to place code changes in the style sheet for a very specific change
22. Jan. 2010 (von: Blogchick)
Ever since I started writing posts with this theme, I've been using a code that makes the links dotted. I like the look better than the normal link formatting.However, my understanding of css is very VERY basic, so I never…
Re: Where to place code changes in the style sheet for a very specific change :: Reply by Joern
22. Jan. 2010 (von: Joern)
if you start to change something in style.css undera:link, a:visited { color: #3c78a7; text-decoration:none }a:hover, a:active { color: #3c78a7; text-decoration:underline; }you will get this changes all over your site, let's say you changetext-decorati... Weiterlesen →
Re: Where to place code changes in the style sheet for a very specific change :: Reply by Blogchick
23. Jan. 2010 (von: Blogchick)
That worked out perfectly! Thanks Joern . Weiterlesen →
Re: Where to place code changes in the style sheet for a very specific change :: Reply by Joern
23. Jan. 2010 (von: Joern)
I got at least one more idea how to 'improve' your internal linking by giving the visitors a chance to go directly from one post to the next in single post view. Just display the link to next and previous…
Re: Where to place code changes in the style sheet for a very specific change :: Reply by Blogchick
24. Jan. 2010 (von: Blogchick)
Hi Joern,Thanks for the brilliant suggestion! I think it's a great idea and implemented a slight variation of it. What I didn't like was the location though - putting that code in exactly like that would have the next and…
Re: Where to place code changes in the style sheet for a very specific change :: Reply by Blogchick
25. Jan. 2010 (von: Blogchick)
That did it.... now all of the next and previous posts are within the categories. Well, not with the featured and heading categories (which behave funny), but I have no problem with that really.Thanks again . Weiterlesen →
Re: Where to place code changes in the style sheet for a very specific change :: Reply by Joern
5. Feb. 2010 (von: Joern)
what happened to your single.php?I guess you have a /div too much close to the end of this file.The sidebar drops below the content.____________________you find me on Google+, Twitter and Facebook Weiterlesen →