While it can’t dynamically create the list with month headers, you can query based on month to get only January 2016 posts.
This should work: [display-posts date=”2016-01″]
If it doesn’t, use the date_before and date_after: [display-posts date_after=”2016-01-01″ date_before=”2016-01-31″]
You can also add a heading which will only display if the results were found. Ex:
[display-posts date=”2016-01″ title=”January 2016″]
If you are a developer, I think this would make a great Extension Plugin. Add a parameter like display_by_month=”true” (and display_by_year=”true” for yearly archives). Use the output filter to look at the post’s date and compare to a global variable you define. If different, output the month/year above the post listing and update the global variable.
Hi Bill,
thanks for answering. Unfortunately I am not a dev.
using date filter will require to add a line of code per month. hope somebody could write the extension plugin.
anyone?