Inject a line break in date-based archives list? (1 post)

  1. marycharrington
    Posted 3 years ago #

    I'm cutting & coding a design that shows 12 months of archives in the sidebar. The designer has a line break after every month. It looks clean and I want to do it.

    <ol class="archives">
    <?php wp_get_archives(); ?>

    Right now I'm using wp_get_archives() with its default arguments to display the archive. Is there a way for me insert a break tag between month and year? Possibly by adding a filter? Or is there a better way?

    Any assistance is appreciate.

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by marycharrington
  • This topic is not resolved
  • WordPress version: 3.5.1