Discover in this tutorial how to hide the link to edit a post in any Genesis Framework child theme using code.
To do so, just take advantage of the Genesis filter hooks.
Snippet to remove the edit link
Add this fragment to the end of the functions.php file:
To see this and another 1097 code snippets of this website, login or subscribe here.
Using the code the ‘edit’ link will no longer be displayed next to the metadata at the beginning of the posts.
If you prefer, you have the option to hide all before entry metadata from the posts.
Conclusions
Now you know how to remove the edit link shown at the top of the entries 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. 😉