Adding Custom Post Types To get_calendar() And The Calendar Widget

By default or design, the WordPress function get_calendar()[^1] does not handle post types other than post. I've updated it as the standalone function ucc_get_calendar() to allow it to accept a $post_types array; the included filter function ucc_get_calendar_filter() will allow for seamless integration via functions.php without requiring additional editing of Theme templates. (Note that the filter will also apply to the Calendar Widget's output.)

Continue reading