Skip to content

Instantly share code, notes, and snippets.

@geoffgraham
Created December 8, 2014 18:08
Show Gist options
  • Save geoffgraham/81479f4ebe4dc6bdbae7 to your computer and use it in GitHub Desktop.
Save geoffgraham/81479f4ebe4dc6bdbae7 to your computer and use it in GitHub Desktop.
Events Calendar // Add content before the calendar
add_action( 'tribe_events_before_html', 'output_custom_code' );
function output_custom_code() {
// Check if displaying month view
if( tribe_is_month() ) {
echo 'Your custom code to display.';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment