• I’ve created a custom archive index, that leads to archive listings by month of a year.
    Printing $year actually shows the correct ‘current’ year of the results shown, but I can’t find the variable that actually holds the month of the listings… $month is wordpress’s array of month names. I want to show the month and year OUTSIDE the loop, on a main header.

    I figure that information should be on the page somewhere, otherwise the loop wouldn’t know what to print out..

    Could you help me out please?

  • The topic ‘Monthly Archive Listing’s year & month variable ?’ is closed to new replies.