Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created April 2, 2014 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckpicker/9936083 to your computer and use it in GitHub Desktop.
Save ckpicker/9936083 to your computer and use it in GitHub Desktop.
Events Calendar 3.5 // Add Organizer Data to single-event.php
<?php
$additional_values = array();
$additional_values['organizer'] = tribe_get_organizer($event_id);
?>
<div id="tribe-events-event-<?php echo $event_id ?>" class="<?php tribe_events_event_classes() ?>" data-tribejson='<?php echo tribe_events_template_data( $post, $additional_values ); ?>'>
<h3 class="tribe-events-month-event-title summary"><a href="<?php tribe_event_link( $post ); ?>" class="url"><?php the_title() ?></a></h3>
</div><!-- #tribe-events-event-# -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment