?> <?php qi_after_post(); ?> </div><!-- .entry-content --> <footer class="entry-footer"> <?php $tag_list = get_the_tag_list('', ' '); if ('' != $tag_list) { $meta_text = '<p class="single-tags">' . esc_html__('%1$s', 'quadro') . '</p>'; } else { $meta_text = ''; } printf($meta_text, $tag_list, esc_url(get_permalink())); ?> <?php edit_post_link('<i class="fa fa-pencil"></i>', '<span class="edit-link">', '</span>'); ?> <?php if ($quadro_options['single_author_box'] == 'show') { quadro_author_box($post->post_author); } ?> </footer><!-- .entry-footer --> </article><!-- #post-## -->
$style = ''; if (is_author()) { $cover_img = esc_url(get_the_author_meta('cover_img', get_query_var('author'))); $style = $cover_img != '' ? 'style="background-image: url(' . $cover_img . ');"' : ''; } ?> <header class="archive-header" <?php echo $style; ?> > <div class="inner-archive"> <?php quadro_archive_title('<h1 class="archive-title">', '</h1>'); if (is_author()) { quadro_author_box(get_query_var('author')); } else { // Show an optional term description. $term_description = term_description(); if (!empty($term_description)) { printf('<div class="taxonomy-description">%s</div>', $term_description); } } ?> </div> </header><!-- .archive-header --> <div class="page-wrapper clear"> <div id="primary" class="content-area">