Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. create file single-event.php in your theme (e.g. /wp-content/themes/Your Theme/single-event.php)
- 2. copy these snippet
- 3.
- <?php get_header(); ?>
- <div id="primary">
- <div id="content" role="main">
- <?php
- global $post;
- $EM_Event = em_get_event($post->ID, 'post_id');
- ?>
- <header class="entry-header">
- <h1 class="entry-title"><?php echo $EM_Event->output('#_EVENTNAME'); ?></h1>
- </header>
- <div class="entry-content">
- <p><?php echo $EM_Event->output(get_option ( 'dbem_single_event_format')); ?></p>
- </div>
- </div><!-- #content -->
- </div><!-- #primary -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement