Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="post-inner">
- <?php
- global $post;
- $terms = get_the_terms($post->id, 'event-categories');
- if($terms) {
- foreach($terms as $em_term) {
- $EM_Category = em_get_category($em_term->term_id);
- ?>
- <h1><?php echo $EM_Category->output('#_CATEGORYNAME'); ?></h1>
- <p><?php echo $EM_Category->output('#_CATEGORYNEXTEVENTS
- '); ?></p>
- <?php
- }
- }
- ?>
- </div>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement