Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

YARPP - Events Manager single-event.php

By: ksaffy on Jun 15th, 2013  |  syntax: None  |  size: 0.63 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php include (TEMPLATEPATH . '/header-events.php'); ?>        
  2. <?php
  3. global $post;
  4. $EM_Event = em_get_event($post->ID, 'post_id');
  5. ?>
  6.  
  7. <header class="entry-header"><h1 class="entry-title"><?php echo $EM_Event->output('#_EVENTNAME'); ?></h1></header>
  8. <p><?php single_month_title('<br />') ?></p><?php $my_month = single_month_title('', false); echo $my_month; ?><?php echo $EM_Event->output( get_option('dbem_single_event_format') );?>
  9. <div class="clear"><br /><br /></div>
  10. <?php related_posts(); ?>
  11. <div class="clear"></div>
  12.  <?php edit_post_link(__('[EDIT THIS EVENT]','gpp_i18n'), '<p>', '</p>'); ?>  
  13.  
  14. <?php get_footer(); ?>
clone this paste RAW Paste Data