WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Edit "Right Now" dashboard widget (5 posts)

  1. bruno.galindro
    Member
    Posted 4 years ago #

    Hi all!
    How can I edit the "Right Now" dashboard widget? I want to hide/add some features and words.

  2. MichaelH
    Member
    Posted 4 years ago #

    That's in wp-admin/includes/dashboard.php (line 195 area in 2.9.2) but remember you'd need to redo that change each time you update WordPress.

  3. bruno.galindro
    Member
    Posted 4 years ago #

    Ok MichaelH. Thankyou very much for reply!

  4. handsofaten
    Member
    Posted 3 years ago #

    Rather than modifying the widget in WordPress core, you can copy it over to the functions.php of your theme, and modify it there. Then unset the standard WordPress Right Now widget and register the customized one using the instructions here:

    http://codex.wordpress.org/Dashboard_Widgets_API

    That way, when you upgrade WordPress you don't need to worry about losing your customized widget. And you can distribute it with a theme, if you want.

  5. goldenapples
    Member
    Posted 3 years ago #

    There are also a couple of actions included in there that you can use. 'right_now_content_table_end' to add rows to the bottom of the left table, and 'right_now_discussion_table_end' for the right side table; plus 'rightnow_end' to add any additional content to the bottom of the table. There aren't any filters to remove/hide content that I can see, but you could do that with jquery added at any of those action points.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.