Skip to content

Instantly share code, notes, and snippets.

@mikebrogan
Created October 13, 2014 15:48
Show Gist options
  • Save mikebrogan/c737da11decd2ad9aff4 to your computer and use it in GitHub Desktop.
Save mikebrogan/c737da11decd2ad9aff4 to your computer and use it in GitHub Desktop.
Get tooltips to show
if ( !defined('ABSPATH') ) { die('-1'); } ?>
<?php
$additional_values = array();
$additional_values['venue'] = tribe_get_venue($event_id);
?>
<?php $event = tribe_events_week_get_event(); ?>
<div id='tribe-events-event-<?php echo $event->ID; ?>' <?php tribe_events_the_header_attributes( 'week-hourly' ); ?> class='<?php tribe_events_event_classes($event->ID) ?> tribe-week-event' data-tribejson='<?php echo tribe_events_template_data( $event ); ?> <?php echo tribe_events_template_data( $post, $additional_values ); ?>'>
<div class="hentry vevent">
<h3 class="entry-title summary"><a href="<?php tribe_event_link( $event ); ?>" class="url" rel="bookmark"><?php echo $event->post_title; ?></a></h3>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment