Recent Topics

next_post() and previous_post()

started by on Mar 18, 2007 – Last touched: Mar 18, 2007

Mar 18, 2007 04:58    

Code

next_post();
previous_post();

These seem to function differently depending on if they are in the posts loop (main body) or the sidebar. When in the sidebar they point to the previous or next post in the database, which may or may not be the previous or next post in the blog the person is visiting.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.