• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Remove Author Bio Description Meta Box Field for User Profiles Conditionally

This code enables you to remove/hide the Biographical Info meta box field for users/authors, conditionally.

To view the box, from your WordPress Dashboard, go to Users > Your Profile and scroll down to About Yourself where you’ll see a meta box field for Biographical Info just above your profile picture.

In this case, the code removes the box for all users except the administrator or can set or modify the the info about each author and disable access for authors to add or edit thier bio.

Here’s the Bio field which is displayed for admins:

show-bio

And here’s the bio box removed for non admins:

remove-bio

You can simply change the conditional tag to control who can edit the Bio box.

This solution is based on this question:

I’m running a multi author website and I want to prevent authors from editing their bio and links. The bio is set upon creation of the author and it must not be edited by the author after.

Here’s the code snippet for logged in members:

Register for full access

Related Code Snippets

  • How To Add/Remove Custom User Profile Contact Info Fields In WordPress

Meta Box

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.