[ColorMag WordPress Theme] How To Remove Unwanted Tags

ColorMag WordPress Theme updated and some users found that some tags appear under the title, so here's the tutorial to remove it.

What is Wrong?

A ColorMag WordPress Theme user raised a question:

How can I remove the one marked in red?

ColorMag WordPress Theme unwanted tags

The page I need help with: https://militarizm.su/

(@militarizm72)

How to Solve It?

Method one:

Add the following CSS to the theme and that part in circle will disappear:

.cm-tag-links {display: none;}

And here is a detailed explanation of how to add custom CSS to WordPress.

Method Two:

If you know how to modify the theme, try go to "\colormag\inc\template-tags.php"

and turn these lines:

if ( ! function_exists( 'colormag_tags_meta_markup' ) ) :

	/**
	 * Prints post meta markup tags.
	 *
	 * @return void
	 */
	function colormag_tags_meta_markup() {
		$tags_list = get_the_tag_list( '<span class="cm-tag-links"' . '>' . colormag_get_icon( 'tag', false ) . ' ', __( ', ', 'colormag' ), '</span>' );

		if ( $tags_list ) {
			echo $tags_list; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
		}
	}

endif;

into

//if ( ! function_exists( 'colormag_tags_meta_markup' ) ) :

	/**
	 * Prints post meta markup tags.
	 *
	 * @return void
	 */
	//function colormag_tags_meta_markup() {
		//$tags_list = get_the_tag_list( '<span class="cm-tag-links"' . '>' . colormag_get_icon( 'tag', false ) . ' ', __( ', ', 'colormag' ), '</span>' );

		//if ( $tags_list ) {
			//echo $tags_list; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
		}
	}

//endif;

Feel free to leave me a comment. I'd be happy to provide some CSS code and show you where to add it. Please give me a link to your site so I can take a look directly, and point me to exactly where on your site you're looking to make the changes, as there are multiple places where blog posts and widgets might be displayed, and it'll be much better if we can look at it directly.