Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul class="events-list">
- <?php query_posts('post_type=tribe_events&eventDisplay=upcoming&posts_per_page=5'); ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php if ( is_new_event_day() ) : ?>
- <em><?php echo the_event_start_date( null, false ); ?></em>
- <?php endif; ?>
- <li>
- <?php the_title('<h5 class="entry-title"><a href="' . get_permalink() . '" title="' . the_title_attribute('echo=0') . '" rel="bookmark">', '</a></h5>'); ?>
- </li>
- <?php endwhile; // posts ?>
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement