wordpress monthly navigation

Date: 25th October 2007 at 4:11 pm | Filed under: development, scripts, wordpress | Author: Sam Burdge

This article explains how to create a monthly navigation system for one or more categories in wordpress, or on the home page itself. By this I mean that on the first page it would display only posts from the current month. The next and previous page links would be replaced by next and previous month links.

To display the monthly content it is first necessary to create a custom query. This should be done before the loop begins. Here is an example of the custom query php:
Read on…

2 Responses to “wordpress monthly navigation”

  • Comment by hanslukas
    Date: May 12th, 2008 at 11:09 pm

    hi…
    it’s just what i was searching…

    I tried to use your solution pasting it on mi index.php, but don’t work…
    where my error please?

    Sorry for my english,I thank you
    regards

  • Comment by Minmin
    Date: November 27th, 2008 at 7:38 pm

    Thanks so much! You’re the best! :) It helped me so much.

Leave a Comment