WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Edit “Right Now” dashboard widget

[Resolved] Edit “Right Now” dashboard widget

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Ok MichaelH. Thankyou very much for reply!

    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.

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Edit “Right Now” dashboard widget’ is closed to new replies.