WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/07/2012 05:26:16 PM (9 years ago)
Author:
ryan
Message:

Contextual help updates for themes.php and theme-install.php. Props TomAuger. fixes #20515

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-install.php

    r20419 r20736  
    3737do_action('install_themes_pre_' . $tab); //Used to override the general interface, Eg, install or theme information.
    3838
    39 $help = '<p>' . sprintf(__('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.'), 'http://wordpress.org/extend/themes/') . '</p>';
    40 $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>';
    41 $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 <code>/wp-content/themes</code> directory.') . '</p>';
     39$help_overview =
     40    '<p>' . sprintf(__('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.'), 'http://wordpress.org/extend/themes/') . '</p>' .
     41    '<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>' .
     42    '<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 <code>/wp-content/themes</code> directory.') . '</p>';
    4243
    4344get_current_screen()->add_help_tab( array(
    4445    'id'      => 'overview',
    4546    'title'   => __('Overview'),
    46     'content' => $help
     47    'content' => $help_overview
     48) );
     49
     50$help_installing =
     51    '<p>' . __('Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you&#8217;re interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look.') . '</p>' .
     52    '<p>' . __('To install the theme so you can preview it with your site&#8217;s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Installed Themes page and clicking the "Customize" link under any installed theme&#8217;s thumbnail image.') . '</p>';
     53
     54get_current_screen()->add_help_tab( array(
     55    'id'      => 'installing',
     56    'title'   => __('Previewing and Installing'),
     57    'content' => $help_installing
    4758) );
    4859
Note: See TracChangeset for help on using the changeset viewer.