• 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 link to edit entries in Genesis Framework

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

Genesis Framework PHP 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?