diff --git a/inc/template-tags.php b/inc/template-tags.php index 1f48016..514221f 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -46,6 +46,7 @@ function teamwpugph_posted_on() { * Prints HTML with meta information for the categories, tags and comments. */ function teamwpugph_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 */ @@ -56,10 +57,11 @@ function teamwpugph_entry_footer() { } /* translators: used between list items, there is a space after the comma */ - $tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', 'teamwpugph' ) ); + $tags_list = get_the_tag_list( '' . "\n" . '' ); if ( $tags_list ) { /* translators: 1: list of tags. */ - printf( '' . esc_html__( 'Tagged %1$s', 'teamwpugph' ) . '', $tags_list ); // WPCS: XSS OK. + printf( '

%s:

', esc_html__( 'Tag list', 'teamwpugph' ) ); + echo '' . "\n"; } }