Single Post
This commit is contained in:
@@ -25,10 +25,13 @@ if ( ! function_exists( 'brpp_prawo_podatki_posted_on' ) ) :
|
||||
esc_html( get_the_modified_date() )
|
||||
);
|
||||
|
||||
// $posted_on = sprintf(
|
||||
// esc_html_x( 'Posted on %s', 'post date', 'brpp-prawo-podatki' ),
|
||||
// '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'
|
||||
// );
|
||||
$posted_on = sprintf(
|
||||
/* translators: %s: post date. */
|
||||
esc_html_x( 'Posted on %s', 'post date', 'brpp-prawo-podatki' ),
|
||||
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'
|
||||
esc_html_x( '%s', 'post date', 'brpp-prawo-podatki' ), $time_string
|
||||
);
|
||||
|
||||
echo '<span class="posted-on">' . $posted_on . '</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
@@ -43,7 +46,7 @@ if ( ! function_exists( 'brpp_prawo_podatki_posted_by' ) ) :
|
||||
function brpp_prawo_podatki_posted_by() {
|
||||
$byline = sprintf(
|
||||
/* translators: %s: post author. */
|
||||
esc_html_x( 'by %s', 'post author', 'brpp-prawo-podatki' ),
|
||||
esc_html_x( '%s', 'post author', 'brpp-prawo-podatki' ),
|
||||
'<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>'
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user