Forums

Monthly Archive Listing's year & month variable ? (1 post)

  1. winterain
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic