?> > <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">
} echo '</div>'; // Render comments for grid/timeline layouts echo '<div class="fusion-alignright">'; if (!Avada()->settings->get('post_meta_comments')) { if (!post_password_required(get_the_ID())) { comments_popup_link('<i class="fusion-icon-bubbles"></i> ' . __('0', 'Avada'), '<i class="fusion-icon-bubbles"></i> ' . __('1', 'Avada'), '<i class="fusion-icon-bubbles"></i> ' . '%'); } else { echo sprintf('<i class="fusion-icon-bubbles"></i> %s', __('Protected', 'Avada')); } } echo '</div>'; } else { // Render all meta data for medium and large layouts if ($blog_layout == 'large' || $blog_layout == 'medium') { echo avada_render_post_metadata('standard'); } // Render read more for medium/large and medium/large alternate layouts echo '<div class="fusion-alignright">'; if (!Avada()->settings->get('post_meta_read')) { $link_target = ''; if (fusion_get_page_option('link_icon_target', get_the_ID()) == 'yes' || fusion_get_page_option('post_links_target', get_the_ID()) == 'yes') { $link_target = ' target="_blank"'; } echo sprintf('<a href="%s" class="fusion-read-more"%s>%s</a>', get_permalink(), $link_target, apply_filters('avada_read_more_name', __('Read More', 'Avada'))); } echo '</div>'; } echo '</div>'; // end meta-info }
function loop_footer() { if (self::$args['layout'] == 'grid' || self::$args['layout'] == 'timeline') { echo '</div>'; if (self::$args['meta_info_combined'] > 0) { $inner_content = $this->read_more(); $inner_content .= $this->grid_timeline_comments(); echo sprintf('<div class="fusion-meta-info">%s</div>', $inner_content); } } echo '</div>'; echo '<div class="fusion-clearfix"></div>'; if (self::$args['meta_info_combined'] > 0 && self::$args['layout'] == 'large' || self::$args['meta_info_combined'] > 0 && self::$args['layout'] == 'medium') { echo sprintf('<div class="fusion-meta-info">%s%s</div>', avada_render_post_metadata('standard', $this->meta_info_settings), $this->read_more()); } if (self::$args['meta_all'] && self::$args['layout'] == 'large-alternate' || self::$args['meta_all'] && self::$args['layout'] == 'medium-alternate') { echo $this->read_more(); } }