mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-20 04:00:29 +08:00
Move 'posted on' inside span
This commit is contained in:
parent
a31268e441
commit
bb53cb5c3f
1 changed files with 3 additions and 3 deletions
|
@ -435,9 +435,9 @@ if ( ! function_exists( 'storefront_post_meta' ) ) {
|
|||
);
|
||||
|
||||
$posted_on = sprintf(
|
||||
'<span class="posted-on">%s <a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a></span>',
|
||||
/* translators: %s: post date */
|
||||
_x( 'Posted on %s', 'post date', 'storefront' ),
|
||||
'<span class="posted-on"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a></span>'
|
||||
_x( 'Posted on', 'post date', 'storefront' )
|
||||
);
|
||||
|
||||
// Author.
|
||||
|
@ -464,7 +464,7 @@ if ( ! function_exists( 'storefront_post_meta' ) ) {
|
|||
echo wp_kses(
|
||||
sprintf( '%1$s %2$s %3$s', $posted_on, $author, $comments ), array(
|
||||
'span' => array(
|
||||
'class' => array(),
|
||||
'class' => array(),
|
||||
),
|
||||
'a' => array(
|
||||
'href' => array(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue