' . esc_html__( ' %1$s', 'bitcoinee' ) . '', $categories_list ); // WPCS: XSS OK.
}
}
// Get the author name; wrap it in a link.
$byline = sprintf(
/* translators: %s: post author */
__( ' %s', 'bitcoinee' ),
'' . get_the_author() . ''
);
// Finally, let's write all of this to the page.
echo '' . bitcoinee_time_link() . ' ' . $byline . '';
}
endif;
if ( ! function_exists( 'bitcoinee_time_link' ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
*/
function bitcoinee_time_link() {
$time_string = '';
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', 'bitcoinee' ),
'' . $time_string . ''
);
}
endif;
if ( ! function_exists( 'bitcoinee_entry_footer' ) ) :
/**
* Prints HTML with meta information for the categories, tags and comments.
*/
function bitcoinee_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 */
$tags_list = get_the_tag_list( '', esc_html_x( ' ', 'list item separator', 'bitcoinee' ) );
if ( $tags_list ) {
/* translators: 1: list of tags. */
printf( '' . esc_html__( 'Tagged %1$s', 'bitcoinee' ) . '', $tags_list ); // WPCS: XSS OK.
}
}
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '';
comments_popup_link(
sprintf(
wp_kses(
/* translators: %s: post title */
__( 'Leave a Comment on %s', 'bitcoinee' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
)
);
echo '';
}
edit_post_link(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit %s', 'bitcoinee' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
),
'',
''
);
}
endif;