Not really…
I think he wants the title of the next/prev post to show in the links, ala Movable Type. I would also be interested in this information.
I’m sure I’ve seen this in wp blogs too …. just can’t recall which…
Ummm, with previous_post() and next_post(). Try it.
Thread Starter
Anonymous
sorry rboren but the code u gave is exactly the one i am using now n it doesn’t give out the title of the post.
the code i m using now is:
<?php if ($single) { ?>
<center>
<?php previous_post('%', '<< Previous post', 'no', 'no', 1, '') ?>
|| Home ||
<?php next_post('%', 'Next post >>', 'no', 'no', 1, '') ?>
</center>
<?php } ?>
any ideas (from matt maybe) on how this can be implemented…
–abhi.
It works for me using previous_post() and next_post(). I don’t know about all those parameters…
Are you using it inside “the loop?”
Well that’s because you have the use title option set to no instead of yes.
<?php previous_post('%', '<< Previous post', 'yes', 'no', 1, '') ?>
Thread Starter
Anonymous
cool its working now… thnx rubyji… 🙂
rboren> i m using it outside the loop…
–abhi.