%2$s';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '';
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date() )
);
$posted_on = sprintf(
esc_html_x( 'Posted on %s', 'post date', 'beautifulstore-lite' ),
'' . $time_string . ''
);
$byline = sprintf(
esc_html_x( 'by %s', 'post author', 'beautifulstore-lite' ),
'' . esc_html( get_the_author() ) . ''
);
echo '' . $posted_on . ' ' . $byline . '';
}
endif;
if ( ! function_exists( 'beautifulstore_lite_entry_footer' ) ) :
function beautifulstore_lite_entry_footer() {
if ( 'post' === get_post_type() ) {
$categories_list = get_the_category_list( esc_html__( ', ', 'beautifulstore-lite' ) );
if ( $categories_list ) {
printf( '' . esc_html__( 'Posted in %1$s', 'beautifulstore-lite' ) . '', $categories_list );
}
$tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', 'beautifulstore-lite' ) );
if ( $tags_list ) {
printf( '' . esc_html__( 'Tagged %1$s', 'beautifulstore-lite' ) . '', $tags_list ); // WPCS: XSS OK.
}
}
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '';
}
edit_post_link(
sprintf(
wp_kses(
__( 'Edit %s', 'beautifulstore-lite' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
),
'',
''
);
}
endif;