diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index 66950945af..12f46aef2b 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -473,20 +473,55 @@ wp_initial_nav_menu_meta_boxes(); if ( ! current_theme_supports( 'menus' ) && ! wp_get_nav_menus() ) $messages[] = '
' . __('The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.') . '
' . __('This feature allows you to use a custom menu in place of your theme’s default menus.') . '
' . - '' . __('Custom menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu location, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '
' . - '' . sprintf( __('If your theme does not support the custom menus feature (the default themes, %1$s and %2$s, do), you can learn about adding this support by following the Documentation link to the side.'), 'Twenty Thirteen', 'Twenty Twelve' ) . '
' -) ); -get_current_screen()->add_help_tab( array( -'id' => 'create-menus', -'title' => __('Create Menus'), -'content' => - '' . __('To create a new custom menu, click on the + tab, give the menu a name, and click Create Menu. Next, add menu items from the appropriate boxes. You’ll be able to edit the information for each menu item, and can drag and drop to change their order. You can also drag a menu item a little to the right to make it a submenu. Don’t forget to click Save Menu when you’re finished.') . '
' -) ); +if ( ! $locations_screen ) : // Main tab + $overview = '' . __( 'This screen is used for managing your custom navigation menus.' ) . '
'; + $overview .= '' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a Custom Menus widget on the Widgets screen. ' ), admin_url( 'widgets.php') ); + $overview .= sprintf( __( 'If your theme does not support the custom menus feature (the default themes, %1$s and %2$s, do), you can learn about adding this support by following the Documentation link to the side.' ), 'Twenty Thirteen', 'Twenty Twelve' ) . '
'; + $overview .= '' . __( 'From this screen you can:' ) . '
'; + $overview .= '' . __( 'The menu management box at the top of the screen is used to control which menu is opened in the editor below.' ) . '
'; + $menu_management .= '' . __( 'You can assign theme locations to individual menus by selecting the desired settings at the bottom of the menu editor. To assign menus to all theme locations at once, visit the Manage Locations tab at the top of the screen.' ) . '
'; + + get_current_screen()->add_help_tab( array( + 'id' => 'menu-management', + 'title' => __( 'Menu Management' ), + 'content' => $menu_management + ) ); + + $editing_menus = '' . __( 'Each custom menu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below.' ) . '
'; + $editing_menus .= '' . __( 'Clicking the title of any menu item in the editor will reveal a standard group of settings. Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen Options tab.' ) . '
'; + $editing_menus .= '' . __( 'This screen is used for globally assigning menus to locations defined by your theme.' ) . '
'; + $locations_overview .= '' . __('For more information:') . '
' .