/** * Prints HTML with meta information for the categories, tags and comments. */ function scored_entry_footer() { // Hide category and tag text for pages. if ('post' === get_post_type()) { /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list(esc_html__(', ', 'scored')); if ($categories_list && scored_categorized_blog()) { printf('<span class="cat-links">' . esc_html__('Posted in %1$s', 'scored') . '</span>', $categories_list); // WPCS: XSS OK. } /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list('', esc_html__(', ', 'scored')); if ($tags_list) { printf('<span class="tags-links">' . esc_html__('Tagged %1$s', 'scored') . '</span>', $tags_list); // WPCS: XSS OK. } } if (!is_single() && !post_password_required() && (comments_open() || get_comments_number())) { echo '<span class="comments-link">'; comments_popup_link(esc_html__('Leave a comment', 'scored'), esc_html__('1 Comment', 'scored'), esc_html__('% Comments', 'scored')); echo '</span>'; } edit_post_link(sprintf(esc_html__('Edit %s', 'scored'), the_title('<span class="screen-reader-text">"', '"</span>', false)), '<span class="edit-link">', '</span>'); }
if (has_post_thumbnail()) { echo '<div class="single-post-thumbnail clear">'; echo '<div class="image-shifter">'; echo the_post_thumbnail('large-thumb'); echo '</div>'; echo '</div>'; } ?> <header class="entry-header"> <?php /* translators: used between list items, there is a space after the comma */ $category_list = get_the_category_list(__(', ', 'scored')); if (scored_categorized_blog()) { echo '<div class="category-list">' . $category_list . '</div>'; } ?> <h1 class="entry-title"><?php the_title(); ?> </h1> <div class="entry-meta"> <?php scored_posted_on(); ?> <?php if (!post_password_required() && (comments_open() || '0' != get_comments_number())) { echo '<span class="comments-link">';