Currently my blog does not have the "Previous posts" and "next posts" that is usually on the bottom of the list of posts in each category. How do I add this? Please help.
I'm sure many of us would be happy to help, Kaja, but a little more information will be needed. For starters, what platform is your blog on? Is it WordPress or something else? Would it be alright if we saw it?
Yeah I'm using wordpress kajanova.com i'm using the Newstheme template wpthemedesigner.com/2009/01/13/news-theme/ the website is new so not all the categories have more than 10 posts, but the uncategorized category does, but I can't figure out how to display the "Previous posts" link. thanks for your help
<?php posts_nav_link(' | ', '« Next', 'Previous »'); ?> Code (markup): raquo = right-pointing arrow laquo = left-pointing arrow
wherever in your template you want it. index.php works. <?php posts_nav_link(' | ', '« Next Post', 'Previous Post »'); ?> Code (markup): you can change that into anything you want. it's like this: <?php posts_nav_link('<divider>', '<text for next>', '<text for previous>'); ?> Code (markup): don't forget that if you use ' Code (markup): make sure you put \ Code (markup): in front of it like so: \' Code (markup): here's an example of what I mean: <?php posts_nav_link(' - ', '\'Next Post\'', '\'Previous Post\''); ?> Code (markup): the result will be: 'Next Post' - 'Previous Post' Code (markup):
thanks, that worked. but it only shows up on the main page. Is there anyway I can get it to show on the category pages?