Learn how to remove both the labels and categories that appear at the end of Genesis Framework entries with a single line of code.
Do you want to remove the labels and categories shown at the bottom of each post?
If so, you can remove this metadata with a single line of code using a Genesis Framework hook (genesis_entry_footer
).
Snippet to hide entry tags and categories
Add this fragment to the end of the functions.php file:
To see this and another 1097 code snippets of this website, login or subscribe here.
You got it.
If you prefer, you can delete only the tags or remove only the categories.
Conclusions
Now you know how to hide with a simple line of code the labels and categories that are displayed at the bottom of the entries in the Genesis child themes.
Do you have any questions or do you want to give me a suggestion for future snippets? Leave it in the comments.
Advantages of being a subscriber😉