Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $eventargs = array('post_type' => 'event');
- slt_cf_get_posts_by_custom_first('date', $eventargs, 'ASC', true, 'post');
- foreach($events as $post) : setup_postdata($post); ?>
- <div id="event-summary">
- <div id="date"><?php echo slt_cf_field_value('date'); ?></div>
- <?php echo the_post_thumbnail('event'); ?>
- <?php echo the_title();?>
- <?php echo the_excerpt();?>
- </div><!-- #event-summary -->
- <?php endforeach; ?>
- </div><!-- #events -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement