Discover in this tutorial how to hide the metadata at the top of all Custom Post Types (CPTs) in a Genesis child theme with code.
Do you have several CPTs where you don’t want to show the top metadata? No problem.
You can easily remove it from all of them by taking advantage of Genesis hooks and WordPress conditional tags.
Snippet to remove metadata from all CPTs
Add this fragment to the end of functions.php:
By using the previous block you manage to remove the metadata from the top of all CPTs.
This does not affect the normal entries, which will still show the date, author and comments.
Now you know how to remove the metadata that is displayed at the top of all CPTs in any Genesis Framework child theme.
Any questions? Let me know in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉