Remove the tags from showing in News
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 1 Feb 2018 19:19:49 +0000 (14:19 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 1 Feb 2018 19:19:49 +0000 (14:19 -0500)
Comment out the part where it outputs the tags.

inc/template-tags.php

index 79a8e39..38cd180 100644 (file)
@@ -54,10 +54,10 @@ function wmta_entry_footer() {
                }
 
                /* translators: used between list items, there is a space after the comma */
-               $tags_list = get_the_tag_list( '', esc_html__( ', ', 'wmta' ) );
-               if ( $tags_list ) {
-                       printf( '<p class="tags-links">' . esc_html__( 'Tagged %1$s', 'wmta' ) . '</p>', $tags_list ); // WPCS: XSS OK.
-               }
+               // $tags_list = get_the_tag_list( '', esc_html__( ', ', 'wmta' ) );
+               // if ( $tags_list ) {
+               //      printf( '<p class="tags-links">' . esc_html__( 'Tagged %1$s', 'wmta' ) . '</p>', $tags_list ); // WPCS: XSS OK.
+               // }
        }
 /*
        if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {