File: /home/petsclubcc/LinkersIT.com/wp-content/themes/toka/template-parts/blog-entry-header.php
<?php
/**
* Displays the post header
* @since Toka 1.2
*/
?>
<header class="entry-header">
<a href="<?php echo esc_url(get_the_permalink()) ?>" class="entry-title-link"><?php
the_title('<h5 class="entry-title">', '</h5>');
echo '</a>';
/**
* Allow child themes and plugins to filter the display of the categories in the entry header.
*
* @param bool Whether to show the categories in header, Default true.
* @since Toka 1.0
*
*/
$show_categories = apply_filters('toka_show_categories_in_entry_header', true);
if (true === $show_categories && has_category()) {
?>
<div class="entry-categories">
<span class="screen-reader-text"><?php esc_html_e('Categories', 'toka'); ?></span>
<div class="entry-categories-inner">
<?php the_category(', '); ?>
</div>
</div>
<?php
}
?>
<div class="entry-excerpt"><?php the_excerpt(); ?></div><?php
// Default to displaying the post meta.
toka_the_post_meta(get_the_ID(), 'single-top');
?>
</header>