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

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems