I have a page on a WP site I am doing that contains all posts form the "Blog" Category, but I don’t know how to get the previous post link at the bottom of the post.
I am using this code to display the posts from the category:
< ?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>
< ?php the_content(); ?>
< ?php endwhile; ?>
< ?php posts_nav_link(); ?>
You can find the page at http://nimbuswater.com/wordpress/whats-new/
Thanks for your help!
Add this below your code:
< ?php endif; ?>
Doesn’t look like this did anything.
If you’re on a single post, as in single.php, try this:
If you’re on an archive page, a listing of posts, try this:
You can obviously change the argument here to get different results. I’d check the codex for what you can pass to these things.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".