Current Path : /var/www/ooareogundevinitiative/wp-content/themes/pain/ |
Current File : /var/www/ooareogundevinitiative/wp-content/themes/pain/single-events.php |
<?php get_header(); ?> <?php $jwstheme_options = $GLOBALS['jwstheme_options']; $tb_show_page_title = isset($jwstheme_options['tb_post_show_page_title']) ? $jwstheme_options['tb_post_show_page_title'] : 1; $tb_show_page_breadcrumb = isset($jwstheme_options['tb_post_show_page_breadcrumb']) ? $jwstheme_options['tb_post_show_page_breadcrumb'] : 1; jwstheme_title_bar($tb_show_page_title, $tb_show_page_breadcrumb); ?> <div class="main-content jw-event-article"> ddddddddddddddddddddddddddddddddddddddddddddddddddddddddd <div class="row"> <div class="container"> <!-- Start Content --> <div class="col-md-9 content jw-event"> <?php while ( have_posts() ) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="jw-event-item"> <div class="jw-header"> <?php if (has_post_thumbnail()) the_post_thumbnail('jwstheme_custom_blog_single_size'); ?> <div class="jw-header-inner"> <ul class="jw-meta"> <li class="jw-author"><?php echo '<i class="fa fa-user"></i>'.__('By ', 'pain').'<span>'.get_the_author().'</span>'; ?></li> <li class="jw-location"><?php echo '<i class="fa fa-map-marker"></i><span>'.get_post_meta(get_the_ID(),'tbevents_location',true).'</span>'; ?></li> </ul> <h3 class="jw-title"><?php the_title(); ?></h3> <ul class="jw-info"> <li class="jw-date"><?php echo '<i class="fa fa-calendar"></i>'.get_the_date('M d', get_the_ID()).__(' - AT ', 'pain').get_the_date('g:i a', get_the_ID()); ?></li> <li class="jw-oganizer"><?php echo __('ORGANIZER: ', 'pain').'<span>'.get_post_meta(get_the_ID(),'tbevents_organizer',true).'</span>'; ?></li> <li class="jw-category"><?php the_terms(get_the_ID(), 'tbeventcategory', 'EVENT CATEGORIES: <span>' , ', ', '</span>' ); ?></li> <li class="jw-cost"><?php echo __('EVENT COST: ', 'pain').'<span>'.get_post_meta(get_the_ID(),'tbevents_cost',true).'</span>'; ?></li> <a href="#" class="jw-btn-buy-ticket"><?php _e('BUY TICKET', 'pain'); ?></a> </ul> </div> </div> <div class="jw-content"> <?php the_content(); ?> </div> </div> </article> <?php endwhile; ?> </div> <!-- End Content --> <!-- Start Right Sidebar --> <div class="col-md-3 sidebar-right"> <?php if (is_active_sidebar('jwstheme-main-sidebar')) { dynamic_sidebar('jwstheme-main-sidebar'); } ?> </div> <!-- End Right Sidebar --> </div> </div> </div> <?php get_footer(); ?>