The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP Biographia
[resolved] Way to Disable Biography Box in User Profile? (6 posts)

  1. WebEndev
    Posted 3 years ago #

    When I activate the User Profile Settings in the Admin tab to hide the biography box settings, it removes the two setting check boxes, but not the biography box itself. http://screencast.com/t/yPvRM9Z4Y079

    I would like to have an easy way to remove the Biography Box itself, as it is confusing some users in some cases.

    Is there a way to do that now?
    Could an option be added in a future release?

    Thanks Gary


  2. vicchi
    Plugin Author

    Posted 3 years ago #

    Hi Bruce,

    I'm assuming you mean the Biographical Info text box under Dashboard ->Users -> Your Profile or Users -> All Users -> Username -> Edit ... ?

    If so then technically this is as simple as ensuring that you unset the description element of the passed array in the user_contactmethods filter hook.

    But practically, as this is part of the stock WordPress core, I'd feel ... unhappy ... about removing this or suppressing it.

    I can see how this would make sense in the sole context of WP Biographia and displaying, or not displaying, user's biography text and the Biography Box on posts, pages, etc ... but if this gets suppressed then other parts of the core, or a theme or another plugin might well stop working ... plus I could see contention where in WP Biographia's user_contactmethods hook you remove the description and another plugin or theme at a higher priority hook expects to find it there, which isn't unreasonable given that it's part of the core and part of the stock TwentyTen and TwentyEleven themes.

    The other problem is that in this context, suppression is not equivalent to hiding. As this is part of the core, all I can do is physically remove the field from the user_contactmethods array, I can't hide it ... that's not part of what a plugin can do via the WordPress API.

    I can't think of another approach to this that gives you the desired effect.


  3. vicchi
    Plugin Author

    Posted 3 years ago #

    PS: I've got an (invitation only) beta of the next version of WP Biographia up, running and publicly accessible, if you have the right credentials ... ping me an email if you'd like access.


  4. WebEndev
    Posted 3 years ago #

    Hi Gary,

    I'm a bit confused on this one. Here http://screencast.com/t/y9FGRrhh you can see both the normal WP biographical info field, and the WP Biographia 'Short Biography' (used for WP Biographia's sidebar widget). I do not need the 'Short Biography', and this is the one that I want to remove.

    I am not wanting to remove the core WP 'Biographical Info'. Only what has been added by WP Biographia (Short Biography).

    So I tried to unset the Short Biography, without any luck...

    Hope I'm being clear on this.


  5. vicchi
    Plugin Author

    Posted 3 years ago #

    My misunderstanding ... I read "biography box" in your original post as the default, WordPress core, biographical details text box, not the "short biography box" that the current version of WP Biographia adds for the plugin's widget.

    So this is the current state of play ...

    In an earlier iteration of what will become the next version of the plugin, v3.3, I added some code to hide the short biography in the user's profile if the plugin's widget was not currently active in any sidebar.

    But then I got a feature request to allow both full biography text as well as excerpt biography text in the rendered Biography Box, configured on a per-post basis.

    So now, the short biography text is back in the user's profile, but it's renamed Biographical Excerpt, with the following description

    Share an excerpt of your biography which can be used by the WP Biographia shortcode, template tags, sidebar widget and configured to be used in place of the standard biography for differing template types.

    ... which I hope is more descriptive (sadly I can't change the default biography text description of "Share a little biographical information to fill out your profile. This may be shown publicly" ... this isn't able to be amended/filtered.

    Now I can keep it like that, or I can key in on a new plugin setting which appears on the Admin tab of the plugin's settings which enabled per post specific overrides, although I'm mindful that removing the biography except when it's not being used may in turn cause further confusion.

    Hopefully this makes sense ...


  6. vicchi
    Plugin Author

    Posted 3 years ago #

    v3.3 of WP Biographia is now out which includes this functionality; flagging this as resolved.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Biographia
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.