Thread Starter
laudio
(@laudio)
@robnicholson this script:
function tribe_set_default_date () {
if ( !is_single() && empty( $_REQUEST[‘tribe-bar-date’] ) ) {
$_REQUEST[‘tribe-bar-date’] = ‘2015-01-01’;
}
}
add_action( ‘parse_query’, ‘tribe_set_default_date’ );
didn’t work for me. It show the right month on header but the calendar show the previous month.
Hey Laudio,
I just updated the code in this article: Set calendar to show specific month. I tested it in my local install and it’s working as expected.
If this continues to fail please indicate which view you are using, and also please follow the steps described in our Testing for conflicts guide. This way we can see if this is a problem in our plugin or a conflict with the theme or other installed plugins.
Best,
Nico
Thread Starter
laudio
(@laudio)
Hi nicosantos, thanks for this now it’s working. Love your calendar. Cheers
Thanks for the feedback laudio. We really appreciate folks reaching out when a tutorial needs updating. 🙂 Cheers!
– Brook