The MU forums have moved to WordPress.org

Removing Dashboard Items (8 posts)

  1. boonika
    Member
    Posted 12 years ago #

    Hello. I'm looking for a way to remove some or all Dashboard items. Actually, I have a replacement widget that I want to use instead of current Dashboard content. Any help is welcome. Thanks.

  2. dsader
    Member
    Posted 12 years ago #

    The following will take care of modifying most of the bits in a user Dashboard:

    1. Dashboard Widgets:
    http://pastebin.com/m21b6db05
    (use similar function/hook to register new widgets)

    2. Quota and You Are text:
    http://pastebin.com/me4a2863

    3. New dashboard text:
    http://pastebin.com/m330cdc96

  3. boonika
    Member
    Posted 12 years ago #

    Thanks Dsader. I will try that. Cheers.

  4. VentureMaker
    Member
    Posted 12 years ago #

    Would be good if someone uploaded all these as separate plugins into wpmudev.com

  5. boonika
    Member
    Posted 12 years ago #

    Works great. Thanks once again.

    @VentureMaker - when I finish my projects I'll upload plugins that I've created by using mostly Dsader's and MrBrian's codes, comments, advices.

  6. DeannaS
    Member
    Posted 12 years ago #

    I'm working on a plugin right now, too. I've got the removing part down. It's the adding new stuff that I haven't quite figured out. I'll take a look at the code that dsader posted and see if I can't get the adding part figured out. I'll post an actual plugin when I've got something working. For now, here's what I've got so far.

    (If you ignore the over ride the primary feed part, the removing part works)
    http://pastebin.com/f1bc7328

  7. DeannaS
    Member
    Posted 12 years ago #

    Okay, I've posted a working plugin here:
    http://wpmudevorg.wordpress.com/project/simple-dashboard

    Enjoy (until next month when I hear it all changes).

  8. andrea_r
    Moderator
    Posted 12 years ago #

    Take heart, Deanna - no telling how long 2'7 will take to roll into MU.

    (and then we can all redo a bunch of stuff. Fun!)

    :D

About this Topic

  • Started 12 years ago by boonika
  • Latest reply from andrea_r