Example #1
0
    while (have_posts()) {
        the_post();
        ?>
		<?php 
        global $more;
        $more = false;
        ?>
		<div id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class('tribe-events-event clearfix');
        ?>
 itemscope itemtype="http://schema.org/Event">
			<?php 
        if (tribe_is_new_event_day() && !tribe_is_day() && !tribe_is_multiday()) {
            ?>
				<h4 class="event-day"><?php 
            echo tribe_get_start_date(null, false);
            ?>
</h4>
			<?php 
        }
        ?>
			<?php 
        if (!tribe_is_day() && tribe_is_multiday()) {
            ?>
				<h4 class="event-day"><?php 
            echo tribe_get_start_date(null, false);
            ?>
 – <?php 
Example #2
0
 /**
  * @deprecated
  */
 function sp_is_new_event_day()
 {
     _deprecated_function(__FUNCTION__, '2.0', 'tribe_is_new_event_day()');
     return tribe_is_new_event_day();
 }
Example #3
0
    foreach ($venueEvents as $post) {
        setup_postdata($post);
        // Venue
        ?>
		
			<div id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class($first ? 'tribe-events-event clearfix first' : 'tribe-events-event clearfix');
        $first = false;
        ?>
 itemscope itemtype="http://schema.org/Event">
			
 				<?php 
        if (tribe_is_new_event_day()) {
            ?>
 					<h4 class="event-day"><?php 
            echo tribe_get_start_date(null, false);
            ?>
</h4>
 				<?php 
        }
        ?>
				
				<?php 
        the_title('<h2 class="entry-title" itemprop="name"><a href="' . tribe_get_event_link() . '" title="' . the_title_attribute('echo=0') . '" rel="bookmark" itemprop="url">', '</a></h2>');
        ?>
				
 				<div class="entry-content tribe-events-event-entry" itemprop="description">
 					<?php