Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created August 8, 2012 01:41
Show Gist options
  • Save ckpicker/3291292 to your computer and use it in GitHub Desktop.
Save ckpicker/3291292 to your computer and use it in GitHub Desktop.
New List.php Code
<?php if ( tribe_is_new_event_day() && !tribe_is_day() ) : ?>
<?php if(tribe_is_multiday()) { ?>
<h4 class="event-day"><?php echo tribe_get_start_date( null, false ); ?> - <?php echo tribe_get_end_date( null, false ); ?></h4>
<?php } else { ?>
<h4 class="event-day"><?php echo tribe_get_start_date( null, false ); ?></h4>
<?php } ?>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment