CSS question – how can I hide Category and Tag links? Welcome! › Support › WP-Drudge › Customization › CSS question – how can I hide Category and Tag links? This topic contains 4 replies, has 2 voices, and was last updated by Matthew 3 months ago. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts 6/1/2017 at 3:55 pm Matthew Working on http://surf4u.com/space-rock-music-masterpiece-is-timeless-2/ Want to hide the Tags: and Categories: links. Can’t seem to find how to hide those elements in this theme with display: none CSS Any suggestions? Thanks! 6/2/2017 at 11:22 am Matthew anyone? 6/6/2017 at 12:02 am propersupport Hi Matthew, Thanks for getting in touch. To hide tags and categories, please open single.php in the theme folder. The look for the following two lines: $output = str_replace( '[tags]', get_the_tag_list( '', ', ', '' ), $output ); $output = str_replace( '[categories]', get_the_category_list( '', ', ', '' ), $output ); Now replace them with the following: $output = str_replace( 'Tags: [tags]<br>Categories: [categories]', '', $output ); Hope this helps. Thanks. 6/21/2017 at 12:58 pm Matthew Hey! This worked perfectly, thank you. I didn’t see it til a few days ago. Much appreciated, thanks again. 6/21/2017 at 2:40 pm Matthew BTW, I found an easier solution to this. In the Text tab of wp-drudge options, under “Page and post” you can just remove the meta elements you don’t want. this way you don’t need to edit single.php Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic.