• 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 the top metadata from Genesis posts

Find out how to delete the metadata at the beginning of entries in Genesis Framework using code.

When you don’t need to display the date, author and number of comments under the post title in a Genesis child theme, you can easily hide them.

Snippet to remove the metadata from the entry header

Add this code fragment at the end of the functions.php file:

To see this and another 839 code snippets of this website, login or subscribe here.

Did you see how easy?

If you prefer, in the entry header you can also:

  • Remove only the date of publication.
  • Delete the comment link.
  • Hide the author’s name.

Conclusions

Now you know how to delete the metadata that appears under the header and title of the posts in Genesis child themes.

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

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?