Advertisement
BakerMan

month/single-event.php sans-tooltips (TEC 3)

Jul 30th, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.70 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Month Single Event - customized to remove tooltips
  4.  *
  5.  * @package TribeEventsCalendar
  6.  * @since  3.0
  7.  * @author Modern Tribe Inc.
  8.  *
  9.  */
  10.  
  11. if ( !defined('ABSPATH') ) { die('-1'); } ?>
  12.  
  13. <?php
  14.  
  15. global $post;
  16. $day = tribe_events_get_current_month_day();
  17. $event_id = "{$post->ID}-{$day['daynum']}";
  18. $start = tribe_get_start_date( $post, FALSE, 'U' );
  19. $end = tribe_get_end_date( $post, FALSE, 'U' );
  20.  
  21. ?>
  22.  
  23. <div id="tribe-events-event-<?php echo $event_id ?>" class="<?php tribe_events_event_classes() ?>">
  24.     <h3 class="tribe-events-month-event-title summary"><a href="<?php tribe_event_link( $post ); ?>" class="url"><?php the_title() ?></a></h3>
  25. </div><!-- #tribe-events-event-# -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement