Results 1 to 3 of 3
Thread: wordpress help needed (2)
Feb 15, 2010, 10:30 #1
wordpress help needed (2)
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 »') ?>
Feb 16, 2010, 13:42 #2
- Join Date
- Jun 2009
- Los Angeles
- 0 Post(s)
- 0 Thread(s)
<?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.
Feb 18, 2010, 05:09 #3