| 451 | $overview = '<p>' . __( 'This screen is used for managing your custom navigation menus.' ) . '</p>'; |
| 452 | $overview .= '<p>' . __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a Custom Menus widget on the Widgets screen. ' ); |
| 453 | $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' ) . '</p>'; |
| 454 | |
| 455 | $overview .= '<p>' . __( 'From this screen you can:' ) . '</p>'; |
| 456 | $overview .= '<ul><li>' . __( 'Create, edit, and delete menus' ) . '</li>'; |
| 457 | $overview .= '<li>' . __( 'Add, organize, and modify individual menu items' ) . '</li></ul>'; |
| 458 | |
452 | | 'id' => 'overview', |
453 | | 'title' => __('Overview'), |
454 | | 'content' => |
455 | | '<p>' . __('This feature allows you to use a custom menu in place of your theme’s default menus.') . '</p>' . |
456 | | '<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>' . |
457 | | '<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>' |
| 460 | 'id' => 'overview', |
| 461 | 'title' => __( 'Overview' ), |
| 462 | 'content' => $overview |
460 | | 'id' => 'create-menus', |
461 | | 'title' => __('Create Menus'), |
462 | | 'content' => |
463 | | '<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>' |
| 471 | 'id' => 'menu-management', |
| 472 | 'title' => __( 'Menu Management' ), |
| 473 | 'content' => $menu_management |
| 476 | $editing_menus = '<p>' . __( 'Each custom menu may contain a unique 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.' ) . '</p>'; |
| 477 | $editing_menus .= '<ul><li>' . __( 'Add one or several items at once by <strong>selecting the checkbox next to each item and clicking Add to Menu</strong>' ) . '</li>'; |
| 478 | $editing_menus .= '<li>' . __( 'To add a custom link, <strong>expand the Links section, enter a URL and link text, and click Add to Menu</strong>' ) .'</li>'; |
| 479 | $editing_menus .= '<li>' . __( 'To reorganize menu 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>'; |
| 480 | $editing_menus .= '<li>' . __( 'Delete a menu item by <strong>expanding it and clicking the Remove link</strong>' ) . '</li></ul>'; |
| 481 | $editing_menus .= '<p>' . __( 'Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen Options tab.' ) . '</p>'; |
| 482 | |
| 483 | get_current_screen()->add_help_tab( array( |
| 484 | 'id' => 'editing-menus', |
| 485 | 'title' => __( 'Editing Menus' ), |
| 486 | 'content' => $editing_menus |
| 487 | ) ); |
| 488 | |