<!-- Event content --> <?php do_action('tribe_events_single_event_before_the_content'); ?> <div class="tribe-events-single-event-description tribe-events-content entry-content description"> <?php the_content(); ?> </div> <!-- .tribe-events-single-event-description --> <?php do_action('tribe_events_single_event_after_the_content'); ?> </div> <!-- #post-x --> <?php avada_render_social_sharing('events'); if (class_exists('Tribe__Events__Pro__Main') && !tribe_get_option('hideRelatedEvents', false)) { tribe_get_template_part('pro/related-events'); } ?> <?php if (get_post_type() == Tribe__Events__Main::POSTTYPE && tribe_get_option('showComments', false)) { add_filter('comments_template', 'add_comments_template'); function add_comments_template() { return get_template_directory() . '/comments.php'; } comments_template(); } ?> <?php
<div class="post-content"> <?php the_content(); ?> <?php avada_link_pages(); ?> </div> <?php if (!post_password_required($post->ID)) { ?> <?php echo avada_render_post_metadata('single'); ?> <?php avada_render_social_sharing(); ?> <?php if (Avada()->settings->get('author_info') && get_post_meta($post->ID, 'pyre_author_info', true) != 'no' || !Avada()->settings->get('author_info') && get_post_meta($post->ID, 'pyre_author_info', true) == 'yes') { ?> <div class="about-author"> <?php ob_start(); the_author_posts_link(); $title = sprintf('%s %s', __('About the Author:', 'Avada'), ob_get_clean()); echo Avada()->template->title_template($title, '3'); ?> <div class="about-author-container"> <div class="avatar"> <?php echo get_avatar(get_the_author_meta('email'), '72');
</div> <?php } ?> </div> <?php } ?> </div> <div class="portfolio-sep"></div> <?php if (!post_password_required($post->ID)) { ?> <?php avada_render_social_sharing('portfolio'); ?> <?php echo avada_render_related_posts('avada_portfolio'); // Render Related Posts ?> <?php if (Avada()->settings->get('portfolio_comments')) { ?> <?php wp_reset_query(); ?> <?php comments_template(); ?>