*/
if ( ! function_exists( 'boldwp_post_tags' ) ) :
/**
* Prints HTML with meta information for the tags.
*/
function boldwp_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', 'boldwp' ) );
if ( $tags_list ) {
/* translators: 1: list of tags. */
printf( ' ' . esc_html__( 'Tagged %1$s', 'boldwp' ) . '', $tags_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
}
endif;
if ( ! function_exists( 'boldwp_style_9_cats' ) ) :
function boldwp_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__( ' ', 'boldwp' ) );
if ( $categories_list ) {
/* translators: 1: list of categories. */
printf( '
' . __( 'Posted in %1$s', 'boldwp' ) . '
', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
}
endif;
if ( ! function_exists( 'boldwp_style_9_postmeta' ) ) :
function boldwp_style_9_postmeta() { ?>
' . __( 'Posted in %1$s', 'boldwp' ) . '', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
}
endif;
if ( ! function_exists( 'boldwp_style_4_postmeta' ) ) :
function boldwp_style_4_postmeta() { ?>
' . __( 'Posted in %1$s', 'boldwp' ) . '', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
}
endif;
if ( ! function_exists( 'boldwp_style_5_postmeta' ) ) :
function boldwp_style_5_postmeta() { ?>
' . __( 'Posted in %1$s', 'boldwp' ) . '', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
}
endif;
if ( ! function_exists( 'boldwp_single_postmeta' ) ) :
function boldwp_single_postmeta() { ?>
', 'boldwp' ), array( 'span' => array( 'class' => array(), ), ) ), wp_kses_post( get_the_title() ) ) ); ?>
%s', 'boldwp' ), array( 'span' => array( 'class' => array(), ), ) ), wp_kses_post( get_the_title() ) ), '
', '' ); ?>
', 'boldwp' ), array( 'span' => array( 'class' => array(), ), ) ), wp_kses_post( get_the_title() ) ) ); ?>