Archive with months of current year only
I left the plugin for what it was and finally figured it out with help of one of the answers in the other thread I’ve mentioned. The code below did what I needed. function get_posts_grouped_by_month( $year = null ) { if ( $year == null ) { $year = date(‘Y’); } $months = range(1,12); $posts … Read more