Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hiding certain widgets?

  • @thebloghouse

    Participant

    Hi

    I would like to remove the default buddypress widgets from my users Available Widgets area in their blogs dashboard as they confuse people / don’t work correctly but I can’t seem to find any code examples / plugins to allow this?

    Ideally I want to remove the Welcome, Members, Who’s Online, Site Wide Activity, Recent Blog Posts and the Groups Widgets from the /wp-admin/widgets.php page.

    Any rough code pointers most welcome as I am willig to try to do the work and document it here :)

Viewing 3 replies - 1 through 3 (of 3 total)
  • @thebloghouse

    Participant

    Anyone?

    @jeffsayre

    Participant

    Well, you could either delete them from BuddyPress core (not a good idea), or unregister them in your theme’s functions.php file.

    https://codex.wordpress.org/WordPress_Widgets_Api/unregister_sidebar_widget

    @thebloghouse

    Participant

    Thanks for this Jeff.

    For now I have removed the whole widgets area on the end users blog dashbords as I haven’t got time to code this but I will write up some code here to help others with similar issues in the next few days.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hiding certain widgets?’ is closed to new replies.
Skip to toolbar