The other day a user posted a question on the WordPress Stack Exchange about how to display a calendar of your site’s custom post types, much like the default WP Calendar widget. After a quick google search, I found a function written by Jennifer Dodd that did exactly this. The user who asked the question was pleased with the result, so I thought I’d go ahead and take Jennifer’s work a step further and create a plugin out of the function so that you could have it available as a widget.
The widget is very simple with just three options:
- Widget Title
- Restrict to a single post type
- The post type to show
The second option allows you to turn on/off the option that causes the calendar to show only a specific post type. If you disable it, the calendar will show all public post types. If it is enabled, then you can choose the post type to display from the drop down below.
Please download the plugin for free below and let me know what you think!Download