add_option('layout_columns', array('max' => 4, 'default' => 1) ); else $current_screen->add_option('layout_columns', array('max' => 4, 'default' => 2) ); $current_screen->add_option_context( '
test
' ); // Help tabs $help = '' . __('Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab in the top bar.') . '
'; $current_screen->add_help_tab( array( 'title' => __('Overview'), 'id' => 'overview', 'content' => $help ) ); $help = '' . __('The left-hand navigation menu provides links to all of the WordPress administration screens, with submenu items displayed on hover. You can minimize this menu to a narrow icon strip by clicking on the Collapse Menu arrow at the bottom.') . '
' . __('Links in the “admin bar” at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.') . '
'; $current_screen->add_help_tab( array( 'title' => __('Navigation'), 'id' => 'navigation', 'content' => $help ) ); $help = '' . __('You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well.') . '
' . __('Screen Options - Use the Screen Options tab to choose which Dashboard boxes to show, and how many columns to display.') . '
' . __('Drag and Drop - To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.') . '
' . __('Box Controls - Click the title bar of the box to expand or collapse it. In addition, some box have configurable content, and will show a “Configure” link in the title bar if you hover over it.') . '
'; $current_screen->add_help_tab( array( 'title' => __('Layout'), 'id' => 'layout', 'content' => $help ) ); $help = '' . __('The boxes on your Dashboard screen are:') . '
' . __('Right Now - Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.') . '
' . __('Recent Comments - Shows the most recent comments on your posts (configurable, up to 30) and allows you to moderate them.') . '
' . __('Incoming Links - Shows links to your site found by Google Blog Search.') . '
' . __('QuickPress - Allows you to create a new post and either publish it or save it as a draft.') . '
' . __('Recent Drafts - Displays links to the 5 most recent draft posts you’ve started.') . '
' . __('WordPress Blog - Latest news from the official WordPress project.') . '
' . __('Other WordPress News - Shows the WordPress Planet feed. You can configure it to show a different feed of your choosing.') . '
' . __('Plugins - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '
'; $current_screen->add_help_tab( array( 'title' => __('Content'), 'id' => 'content', 'content' => $help ) ); $current_screen->add_help_sidebar('' . __( 'For more information:' ) . '
' . __( 'Documentation on Dashboard' ) . '
' . __( 'Support Forums' ) . '
'); include (ABSPATH . 'wp-admin/admin-header.php'); $today = current_time('mysql', 1); ?>