Hi there I have a problem in WP... with next/previous post link...
(1) in the blog/index page the links look like next post>> and <<previous post
(2) in the blog/cat page the links also look like next post>> and <<previous post
(3) in the post pages itself like /blog/?p=351 the links look like titlepostlink>> and <<titlepostlink
My goal is to have titlepostlink>> and <<titlepostlink
ALSO in blog/index page AND blog/cat page everywhere.
I have alredy tryed to modify PHP like this but nothing...
<?php previous_post_link('« %link') ?>
<?php next_post_link('%link »') ?>
if I modify blog/index page or blog/cat page in this way the link does not show up.
<?php previous_post_link('« %link'); ?>
<?php next_post_link('%link »'); ?>
These are the correct code snippets. On the categories and index pages the list of excerpts are usually pulled within a loop so adding these snippets outside of the loop won't allow Wordpress to know which “post” is being referred as the previous or next. A link to your dev site and/or some snippets of the loops might help since these things can be theme specific.
here is the link... chimicare.org/blog is in italian regretfully I hope it helps