Support » Themes and Templates » Inject a line break in date-based archives list?

  • 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.

  • The topic ‘Inject a line break in date-based archives list?’ is closed to new replies.