WordPress Guy

WordPress Guy designs and develops WordPress themes and plugins. WordPress Guy teaches you WordPress stuff.

Picture this: You’ve been surfing the web for a little while, and end up in this great blog that seems to have lots of useful articles. But wait… There are no previous/next links after the tenth article! You’re doomed. Your only option now seems to be going through each and every category, or each and every month in the archives page.

Sounds stupid, I know, but if I you gave me a penny for every blog I have visited that didn’t have previous/next links, I’d be rich by now. It’s so frustrating!

So remember your navigation links! Here is how to generate them in WordPress:

<?php next_posts_link('&laquo; Older Entries'); ?>
<?php previous_posts_link('Newer Entries &raquo;'); ?>

Comments

  • May 18th, 2008 at 2:31 pm

    I feel your pain, ah ah :-)
    There’s this pulgin, Neighbor Post Preview by thinlight, that shows a small preview window when hovering the navigation links, I use it on my blog where I tweaked it a bit to have a small clickable thumbnail image instead of the javascript popup window.

    Btw, you’ve got such a nice domain name :-) I see a lot of potential in it, keep up the good work.

  • March 5th, 2013 at 2:16 pm

    Hi Admin
    I have read your tutorials, i have find many helpful article on your blog, i am more friendly with blogger blog platform, will you pls provide me link of adding meta tag related article’s link i need it for my WordPress blog
    Regards
    Tips Via Blogging

Your Comment