• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Remove tags and categories from Genesis entries

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 847 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😉

Genesis Framework PHP Post Post meta

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2023

Lost your password?