• My blog archive currently displays the full month followed by year. I want to display the abbreviated month only.

    For example, Jan instead of January 2008

    This is the tag I am using to display the archive:
    <?php wp_get_archives(‘type=monthly’); ?>

    Can anybody tell me how to do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cili

    (@cili)

    I tried to change the date format in my settings, but that doesn’t work for the archive display.

    Any ideas? Any help would be much appreciated!

    oeln

    (@oeln)

    In /wp-includes, look at general-template.php in function wp_get_archives(): the value for $text is obtained from locale.php, which is editable in a few ways..

    Hi oeln- could you explain a bit clearer what I’d do in general-template.php or locale.php to change the formatting to Jan?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Archive display format – abbreviate month’ is closed to new replies.