File: //proc/self/root/proc/self/root/proc/self/cwd/wp-content/themes/kidzieo/theme-parts/post-meta.php
<?php
/**
* Template part for displaying post meta
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Kidzieo
* @since 1.0
* @version 1.0
*/
$meta_array = array();
?>
<?php
/*** Author Meta ****/
?>
<span class="pbmit-meta pbmit-meta-author"><a class="pbmit-author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>"><i class="demo-icon pbmit-base-icon-user"></i><?php echo get_the_author(); ?></a></span>
<?php
/*** Date Meta ****/
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = sprintf( '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated pbmit-hide" datetime="%3$s">%4$s</time>',
esc_attr( get_the_date( 'c' ) ),
get_the_date( get_option('date_format') ),
esc_attr( get_the_modified_date( 'c' ) ),
get_the_modified_date( get_option('date_format') )
);
} else {
$time_string = sprintf( '<time class="entry-date published updated" datetime="%1$s">%2$s</time>',
esc_attr( get_the_date( 'c' ) ),
get_the_date( get_option('date_format') ) // ,
);
}
?>
<span class="pbmit-meta pbmit-meta-date"><a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php echo pbmit_esc_kses($time_string); ?></a></span>
<?php
/*** Category Meta ****/
$cat_link = true;
$categories_list = get_the_category_list( ', ' );
if ( !empty($categories_list) ) {
if( $cat_link!=true ){
$categories_list = trim(strip_tags($categories_list));
}
?>
<span class="pbmit-meta pbmit-meta-cat"><?php echo pbmit_esc_kses($categories_list); ?></span>
<?php
}
?>
<?php
/*** Tag Meta ****/
$tag_link = true;
$tags_list = get_the_tag_list( '', esc_attr_x( ', ', 'Used between list items, there is a space after the comma.', 'kidzieo' ) );
if ( !empty($tags_list) ) {
if( $tag_link!=true ){
$tags_list = strip_tags($tags_list);
}
?>
<span class="pbmit-meta pbmit-meta-tags"><?php echo pbmit_esc_kses($tags_list); ?></span>
<?php
}
?>
<?php
/*** Comments Meta ****/
if ( !post_password_required() && comments_open() && get_comments_number()>0 ) {
?>
<span class="pbmit-meta pbmit-meta-comments"><?php echo esc_html( trim(get_comments_number()) ); ?></span>
<?php
}
?>