I have a custom post type with its own date field. the date is setup for unix YYYY/mm/dd
I need to create a simple month calendar that shows days that have a cpt on them. get_calendar works for posts but not a CPT.
You can put a custom function into your functions.php to show a calendar with CPTs.
echo ucc_get_calendar( $post_types = array('event'));
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago
1 year ago