nguyen dung 39b8cb3612 init
2022-02-18 16:43:41 +07:00

26 lines
771 B
PHP

<h6 class="entry-category is-xsmall">
<?php echo get_the_category_list( __( ', ', 'flatsome' ) ) ?>
</h6>
<?php
if ( is_single() ) {
echo '<h1 class="entry-title">' . get_the_title() . '</h1>';
} else {
echo '<h2 class="entry-title"><a href="' . get_the_permalink() . '" rel="bookmark" class="plain">' . get_the_title() . '</a></h2>';
}
?>
<div class="entry-divider is-divider small"></div>
<?php
$single_post = is_singular( 'post' );
if ( $single_post && get_theme_mod( 'blog_single_header_meta', 1 ) ) : ?>
<div class="entry-meta uppercase is-xsmall">
<?php flatsome_posted_on(); ?>
</div>
<?php elseif ( ! $single_post && 'post' == get_post_type() ) : ?>
<div class="entry-meta uppercase is-xsmall">
<?php flatsome_posted_on(); ?>
</div>
<?php endif; ?>