## archive per year with monthly

Question

I have an archive that shows all the post on monthly now i want is to group them per year like

2015
Jan
Feb
March
2014
April
May


I’m using this code.

<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>


This displays all the archive monthly from the beginning. i tried to add a monthly and yearly but they are on a separate group…

0
2 years 2020-01-07T08:41:05-05:00 0 Answers 74 views 0