Make WordPress Core

Changeset 14951

05/26/2010 06:27:13 PM (14 years ago)

Help for Appearance screens. Props duck_, jane. see #13467

5 edited


  • trunk/wp-admin/nav-menus.php

    r14934 r14951  
     438$help = '<p>' . __('This feature is new in version 3.0; to use a custom menu in place of your theme&#8217;s default menus, support for this feature must be registered in the theme&#8217;s functions.php file. If your theme does not support the custom menus feature yet (the new default theme Twenty Ten, does), you can learn about adding support yourself by following the below link.') . '</p>';
     439$help .= '<p>' . __('You can create custom menus for your site. These 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, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '</p>';
     440$help .= '<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&#8217;ll be able to edit the information for each menu item, and can drag and drop to put them in order. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. You&#8217;ll see when the position of the drop target shifts over to create the nested placement. Don&#8217;t forget to click Save when you&#8217;re finished.') . '</p>';
     441$help .= '<p>' . __('<strong>For more information:</strong>') . '</p>';
     442$help .= '<p>' . sprintf(__('<a href="%s">Menus Documentation</a>'), '') . '</p>';
     443$help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), '') . '</p>';
     445add_contextual_help($current_screen, $help);
    438447// Get the admin header
  • trunk/wp-admin/theme-editor.php

    r14930 r14951  
    1515$title = __("Edit Themes");
    1616$parent_file = 'themes.php';
     18$help = '<p>' . __('You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '</p>';
     19$help .= '<p>' . __('Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of all the template files. Clicking once on any file name causes the file to appear in the large Editor box.') . '</p>';
     20$help .= '<p>' . __('For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Lookup takes you to a web page with reference material about that particular function.') . '</p>';
     21$help .= '<p>' . __('After typing in your edits, click Update File.') . '</p>';
     22$help .= '<p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p>';
     23$help .= '<p>' . sprintf(__('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s">child theme</a> instead.'), '') . '</p>';
     24$help .= '<p>' . __('<strong>For more information:</strong>') . '</p>';
     25$help .= '<p>' . sprintf(__('<a href="%s">Theme Development Documentation</a>'), '') . '</p>';
     26$help .= '<p>' . sprintf(__('<a href="%s">Documentation on Using Themes</a>'), '') . '</p>';
     27$help .= '<p>' . sprintf(__('<a href="%s">Documentation on Editing Files</a>'), '') . '</p>';
     28$help .= '<p>' . sprintf(__('<a href="%s">Template Tags Documentation</a>'), '') . '</p>';
     29$help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), '') . '</p>';
     30add_contextual_help($current_screen, $help);
    1832wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'theme', 'dir'));
  • trunk/wp-admin/theme-install.php

    r14313 r14951  
    5454do_action('install_themes_pre_' . $tab); //Used to override the general interface, Eg, install or theme information.
    56 add_contextual_help($current_screen, plugins_search_help());
     56$help = '<p>' . __('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the theme repository. These themes are designed and developed by third parties, are available free of charge, and are licensed under the GNU General Public License, version 2, just like WordPress.') . '</p>';
     57$help .= '<p>' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Newest, or Recently Updated. When you find a theme you like, you can preview it or install it.') . '</p>';
     58$help .= '<p>' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme&#8217;s folder via FTP into your wp-content/themes directory.') . '</p>';
     59$help .= '<p>' . __('<strong>For more information:</strong>') . '</p>';
     60$help .= '<p>' . sprintf(__('<a href="%s">Documentation on Using Themes</a>'), '') . '</p>';
     61$help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), '') . '</p>';
     62add_contextual_help($current_screen, $help);
  • trunk/wp-admin/themes.php

    r14581 r14951  
    3434if ( current_user_can( 'switch_themes' ) ) :
    36 $help = '<p>' . __('Themes give your WordPress style. Once a theme is installed, you may preview it, activate it or deactivate it here.') . '</p>';
    37 if ( current_user_can('install_themes') ) {
    38     $help .= '<p>' . sprintf(__('You can find additional themes for your site by using the new <a href="%1$s">Theme Browser/Installer</a> functionality or by browsing the <a href="">WordPress Theme Directory</a> directly and installing manually.  To install a theme <em>manually</em>, <a href="%2$s">upload its ZIP archive with the new uploader</a> or copy its folder via FTP into your <code>wp-content/themes</code> directory.'), 'theme-install.php', 'theme-install.php?tab=upload' ) . '</p>';
    39     $help .= '<p>' . __('Once a theme is uploaded, you should see it on this screen.') . '</p>' ;
    40 }
     36$help = '<p>' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '</p>';
     37$help .= '<p>' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '</p>';
     38if ( current_user_can('install_themes') )
     39    $help .= '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the "Install Themes" tab and you will be able to browse or search for additional themes from the <a href="%s"> theme repository</a>. Themes in the theme repository are designed and developed by third parties, and are licensed under the GNU General Public License, version 2, just like WordPress. Oh, and they&#8217;re free!'), '') . '</p>';
     41$help .= '<p>' . __('<strong>For more information:</strong>') . '</p>';
     42$help .= '<p>' . sprintf(__('<a href="%s">Documentation on Using Themes</a>'), '') . '</p>';
     43$help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), '') . '</p>';
    4244add_contextual_help($current_screen, $help);
  • trunk/wp-admin/widgets.php

    r14581 r14951  
    3636$help = '
    37     <p>' . __('Widgets are added and arranged by simple drag &#8217;n&#8217; drop. If you hover your mouse over the titlebar of a widget, you&#8217;ll see a 4-arrow cursor which indicates that the widget is movable.  Click on the titlebar, hold down the mouse button and drag the widget to a sidebar. As you drag, you&#8217;ll see a dotted box that also moves. This box shows where the widget will go once you drop it.') . '</p>
    38     <p>' . __('To remove a widget from a sidebar, drag it back to Available Widgets or click on the arrow on its titlebar to reveal its settings, and then click Remove.') . '</p>
    39     <p>' . __('To remove a widget from a sidebar <em>and keep its configuration</em>, drag it to Inactive Widgets.') . '</p>
    40     <p>' . __('The Inactive Widgets area stores widgets that are configured but not curently used. If you change themes and the new theme has fewer sidebars than the old, all extra widgets will be stored to Inactive Widgets automatically.') . '</p>
     37    <p>' . __('Widgets are independent sections of content that can be placed into any widgetized area provided by your theme (commonly called sidebars). To populate your sidebars/widget areas with individual widgets, drag and drop the title bars into the desired area. By default, only the first widget area is expanded. To populate additional widget areas, click on their title bars to expand them.') . '</p>
     38    <p>' . __('Available Widgets section contains all the widgets you can choose from. Once you drag a widget into a sidebar, it will open to allow you to configure its settings. When you are happy with the widget settings, click the Save button and the widget will go live on your site. If you click Delete, it will remove the widget.') . '</p>
     39    <p>' . __('If you want to remove the widget but save its setting for possible future use, just drag it into the Inactive Widgets area. You can add them back anytime from there. This is especially helpful when you switch to a theme with less or different widget areas.') . '</p>
     40    <p>' . __('Widgets may be used multiple times. You can give each widget a title, to display on your site, but it&#8217;s not required.') . '</p>
     41    <p>' . __('Enabling Accessibility Mode, via Screen Options, allows you to use Add and Edit buttons instead of using drag and drop.') . '</p>
     43$help .= '<p>' . __('<strong>For more information:</strong>') . '</p>';
     44$help .= '<p>' . sprintf(__('<a href="%s">Widgets Documentation</a>'), '') . '</p>';
     45$help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), '') . '</p>';
    4246add_contextual_help($current_screen, $help);
Note: See TracChangeset for help on using the changeset viewer.