Find out how to hide the link to comments and its related information that appear under the title of the posts in Genesis Framework with code.
Don’t want to show the data related to the comments at the top of the posts? No problem.
Remove this metadata with a filter (genesis_post_info
) in Genesis Framework.
Snippet to remove the comment link from the post header
Add this fragment at the end of the functions.php file:
To see this and another 1097 code snippets of this website, login or subscribe here.
It’s as simple as that.
And if you prefer, you can remove all the metadata under the title with a single line of code: author, date and number of comments.
Conclusions
Now you know how to hide the link and comments information shown at the top of the entries in Genesis child themes.
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. 😉