WordPress 3.0 was released in the summer of 2010. It was an exciting time for WordPress developers. It was when WordPress really finally grew up and become a full fledged CMS, no doubt about it. A big part of that release was full support for custom post types (CPTs). All was roses and sunshine, lollipops and unicorns…until….you had a project that used CPTs and needed dated archives for them! That’s when you discovered that wp_get_archives() does not support custom post types. What!? How can this be possible. Nooooooo! It’s true though. It was true then and unfortunately still true today.
Now to the good news. It’s not like WordPress developers are not aware of this issue. There is a bug ticket for this issue. Unfortunately, this ticket has been open for 2 years with no end yet in sight. Wait, where is the good news you ask??
Well here is the good news — one of the core developers for WP who is working on this ticket has release this simple yet essential plugin that enables you to get dated based archives for your custom post types. Yes! Finally.