Forums

Abbreviating months in wp_get_archives() ? (1 post)

  1. ranji77
    Member
    Posted 2 years ago #

    Basically, I'm using <?php wp_get_archives('type=monthly&limit=3'); ?> to display my last three months of archives, but want to save a little space by abbreviating the months.

    eg.
    'Dec 2009' instead of the default 'December 2009'

    Is it possible? Somehow with a preg_replace? (which I am terrible at trying myself)

    Thank you in advance if anyone can help!

Topic Closed

This topic has been closed to new replies.

About this Topic