| 430 | $overview = '<p><strong>' . __( 'This screen is used for managing your custom navigation menus.' ) . '</strong></p>'; |
| 431 | $overview .= '<p>' . __( 'Menus can be assigned to locations defined by your WordPress theme. You can also create a custom menus here that you can use with the Custom Menu Widget to add them to other areas of your site. From this screen you can:' ) . '</p>'; |
| 432 | $overview .= '<ul><li>' . __( 'Create and manage custom menus' ) . '</li>'; |
| 433 | $overview .= '<li>' . __( 'Rearrange, add, or remove menu items or "tabs" in an individual menu' ) . '</li>'; |
| 434 | $overview .= '<li>' . __( 'Assign a menu to a specific location within your theme' ) . '</li></ul>'; |
| 435 | |
| 436 | $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 custom menus to your site using the following documentation and support links.' ), 'Twenty Thirteen', 'Twenty Twelve' ) . '</p>'; |
| 437 | |
| 438 | |
431 | | 'id' => 'overview', |
432 | | 'title' => __('Overview'), |
433 | | 'content' => |
434 | | '<p>' . __('This feature allows you to use a custom menu in place of your theme’s default menus.') . '</p>' . |
435 | | '<p>' . __('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.') . '</p>' . |
436 | | '<p>' . 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' ) . '</p>' |
| 440 | 'id' => 'overview', |
| 441 | 'title' => __( 'Overview' ), |
| 442 | 'content' => $overview |
| 444 | |
| 445 | $add_edit_menus = '<p>' . __( 'Use the menu management box at the top of the screen to add or select existing menus to edit.' ) . '</p>'; |
| 446 | $add_edit_menus .= '<ul><li>' . __( 'To create your first menu, either give your default menu a name then save by <strong>clicking ’Create Menu’</strong> or following the steps to add a new menu.' ) . '</li>'; |
| 447 | $add_edit_menus .= '<li>' . __( 'To create a new menu <strong>click the ’Add New’ button</strong> at the top of the screen. Give your menu a name, then <strong>click ’Create Menu’</strong>.' ) . '</li>'; |
| 448 | $add_edit_menus .= '<li>' . __( 'To edit an existing menu, choose a menu from the drop down and <strong>click ’Select’</strong>.' ) . '</li></ul>'; |
| 449 | |
| 450 | $add_edit_menus .= '<p>' . __( '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). If your theme includes more than one menu location, you can choose which custom menu to associate with each.' ) . '</p>'; |
| 451 | $add_edit_menus .= '<ul><li>' . __( 'Add menu items by selecting links from the boxes in the left column and <strong>clicking ’Add to Menu’</strong>.' ) . '</li>'; |
| 452 | $add_edit_menus .= '<li>' . __( 'To rearrange items, <strong>drag and drop items with your mouse or use your keyboard</strong>. Drag or move a menu item a little to the right to make it a submenu.' ) . '</li>'; |
| 453 | $add_edit_menus .= '<li>' . __( 'Delete a menu item by expanding it and <strong>clicking the Remove link</strong>.' ) . '</li></ul>'; |
| 454 | |
439 | | 'id' => 'create-menus', |
440 | | 'title' => __('Create Menus'), |
441 | | 'content' => |
442 | | '<p>' . __('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.') . '</p>' |
| 456 | 'id' => 'add-edit-menus', |
| 457 | 'title' => __( 'Add & Edit Menus' ), |
| 458 | 'content' => $add_edit_menus |
| 461 | $other_settings = '<p>' . __( 'In addition to the standard menu item settings, you can also set additional attributes for each menu item. Attributes like link target, CSS classes, link relationships and link descriptions can be enabled and disabled via the Screen Options tab.' ) . '</p>'; |
| 462 | $other_settings .= '<p>' . __( 'You can find more information about additional menu item attributes by following the Documentation link to the side.' ) . '</p>'; |
| 463 | |
| 464 | get_current_screen()->add_help_tab( array( |
| 465 | 'id' => 'other-settings', |
| 466 | 'title' => __( 'Other Settings' ), |
| 467 | 'content' => $other_settings |
| 468 | ) ); |
| 469 | |