/** * Print only categories */ function quadro_cats() { $categories_list = get_the_category_list(' '); if ($categories_list && quadro_categorized_blog()) { ?> <span class="cat-links"> <?php echo $categories_list; ?> </span> <?php } // End if categories }
<div class="dark-overlay"></div> <div class="entry-inner"> <header class="entry-header"> <?php quadro_posted_on(); ?> <?php /* translators: used between list items, there is a space after the comma */ $category_list = get_the_category_list(', '); if ($category_list != '') { if (quadro_categorized_blog()) { $cats_text = '<p class="cat-links">' . esc_html__('In %1$s', 'quadro') . '</p>'; } // end check for categories on this blog printf($cats_text, $category_list); } ?> <?php qi_before_post_title(); ?> <h1 class="entry-title"> <a href="<?php the_permalink(); ?>
?> <?php if ('post' == $post_type) { // Print date meta quadro_posted_on(); } ?> <?php if ('post' == $post_type && ($post_format != 'aside' && $post_format != 'status' && $post_format != 'quote' && $post_format != 'image' && $post_format != 'link')) { // Hide category and tag text for pages on Search ?> <?php $categories_list = get_the_category_list(', '); if ($categories_list && quadro_categorized_blog()) { ?> <span class="cat-links"> <?php echo $categories_list; ?> </span> <?php } // End if categories ?> <?php } ?> </header><!-- .entry-header -->