Skip to content

how to remove the dashboard? (or go directly to other page) « WordPress Support

by eliot on August 30th, 2005

Needed to kill the dashboard in WordPress so it doesn’t clutter the admin section for users. Found a simple fix here:

how to remove the dashboard? (or go directly to other page) « WordPress Support

Here is the fix, which is made on line 7 of the file wp-admin/menu.php:

$menu[0] = array(__('Dashboard'), 1, 'index.php');

instead of

$menu[0] = array(__('Dashboard'), 0, 'index.php');

It is then necessary to edit the edit the file wp-login.php:

change line 159 from
$redirect_to = 'wp-admin/';

to

$redirect_to = 'wp-admin/post.php';

From → Blog, Code

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS