*/
if ( ! function_exists( 'bestwp_post_tags' ) ) :
/**
* Prints HTML with meta information for the tags.
*/
function bestwp_post_tags() {
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', 'bestwp' ) );
if ( $tags_list ) {
/* translators: 1: list of tags. */
printf( ' ' . esc_html__( 'Tagged %1$s', 'bestwp' ) . '', $tags_list ); /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */
}
}
}
endif;
if ( ! function_exists( 'bestwp_style_9_cats' ) ) :
function bestwp_style_9_cats() {
if ( 'post' == get_post_type() ) {
/* translators: used between list items, there is a space */
$categories_list = get_the_category_list( esc_html__( ' ', 'bestwp' ) );
if ( $categories_list ) {
/* translators: 1: list of categories. */
printf( '
' . __( 'Posted in %1$s', 'bestwp' ) . '
', $categories_list ); /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */
}
}
}
endif;
if ( ! function_exists( 'bestwp_style_9_postmeta' ) ) :
function bestwp_style_9_postmeta() { ?>
' . __( 'Posted in %1$s', 'bestwp' ) . '', $categories_list ); /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */
}
}
}
endif;
if ( ! function_exists( 'bestwp_style_4_postmeta' ) ) :
function bestwp_style_4_postmeta() { ?>
' . __( 'Posted in %1$s', 'bestwp' ) . '', $categories_list ); /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */
}
}
}
endif;
if ( ! function_exists( 'bestwp_single_postmeta' ) ) :
function bestwp_single_postmeta() { ?>
', 'bestwp' ), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ) ); ?>
%s', 'bestwp' ), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ), '
', '' ); ?>