Hi,
Love the plugin, but I’m not a great fan of template files.
I want to put a mini calendar in the sidebar of all event pages.
In Genesis functions.php + Event Rocket I had some success with:
add_action('wp_head','events_page');
function events_page() {
if ( tribe_is_event()) {
add_action( 'genesis_before_footer', 'event_sidebar' );
function event_sidebar() {
dynamic_sidebar('calendar');
}
}
}
But it will require some styling and feels a bit messy and non-standard.
I’d like to know if you have the quick answer for enabling a sidebar on event pages.
(seems unlikely since it doesn’t follow standard Genesis hooks, so..)
– or –
The function for outputting the event page, so I can use it in a Genesis template.
Many thanks