Discover in this tutorial how to hide the metadata at the top of a Custom Post Type (CPT) in the Genesis child theme Breakthrough Pro.
But some child themes make changes to hooks order so the “standard code” may not work.
That’s the case with Breakthrough Pro, which has a file called headings.php that changes the priority and location of the posts metadata.
However, once you know this feature you can remove it from the CPT of your choice by taking advantage of the Genesis hooks and WordPress conditional tags.
Snippet to suppress the metadata of a CPT in Breakthrough Pro
Add this fragment to the end of functions.php:
By using the previous code you manage to remove the information from the top of the CPT Course. Of course, I invite you to change it to the one you want.
This does not affect the normal entries, which will still show the date, author and comments.
Now you know how to hide the metadata that is displayed at the top of a CPT in the Genesis child theme Breakthrough Pro.
Any questions? I read you 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. 😉