These code snippets enable you to remove specific links generated by shortcodes from the default post info and post meta output.
The code includes conditional tags which you can change and shortcodes which you can remove.
Please copy ALL the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++
Post Info
This code only removes the comments link from all posts in category 1 on both the single post page and archive pages.
Post Meta
This code only removes the tagged with link from all posts in category 1 on both the single post page and archive pages.
Note: The code may NOT work if you have the Genesis Simple Edits plugin enabled as it can over ride any custom functions.
Was This Tutorial Helpful?