' . get_the_date() . ''
);
$byline = sprintf(
/* translators: %s: post author. */
__( 'By : %s', 'switch-lite' ),
'' . esc_html( get_the_author() ) . ''
);
?>
%2$s';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '';
}
$time_string = sprintf( $time_string,
get_the_date( DATE_W3C ),
get_the_date(),
get_the_modified_date( DATE_W3C ),
get_the_modified_date()
);
// Wrap the time string in a link, and preface it with 'Posted on'.
return sprintf(
/* translators: %s: post date */
__( 'Posted on %s', 'switch-lite' ),
'' . $time_string . ''
);
}
endif;
function switch_lite_edit_link() {
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
__( 'Edit "%s"', 'switch-lite' ),
get_the_title()
),
'',
''
);
}
if ( ! function_exists( 'switch_lite_entry_footer' ) ) :
/**
* Prints HTML with meta information for the categories, tags and comments.
*/
function switch_lite_entry_footer() {
// Hide category and tag text for pages.
if ( 'post' === get_post_type() ) {
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( __( ', ', 'switch-lite' ) );
if ( $categories_list ) {
echo wp_kses_post('' . esc_html__('Categorys : ', 'switch-lite' ) . $categories_list . '');
}
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', esc_html__( ' , ', 'switch-lite' ) );
if ( $tags_list ) {
echo wp_kses_post('' . esc_html__('Tags : ', 'switch-lite' ) . $tags_list . '');
}
}
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '';
}
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
esc_html__( 'Edit %s', 'switch-lite' ),
the_title( '"', '"', false )
),
'',
''
);
}
endif;