WordPress.org

Make WordPress Core

Changeset 11270


Ignore:
Timestamp:
05/11/09 18:59:09 (5 years ago)
Author:
westi
Message:

Better theme page help. Fixes #9745 based on patch from demetris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r11245 r11270  
    2828$title = __('Manage Themes'); 
    2929$parent_file = 'themes.php'; 
     30 
     31$help = '<p>' . __('Themes give your WordPress style. Once a theme is installed, you may preview it, activate it or deactivate it here.') . '</p>'; 
     32$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="http://wordpress.org/extend/themes/">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>'; 
     33$help .= '<p>' . __('Once a theme is uploaded, you should see it on this page.') . '</p>' ; 
     34 
     35add_contextual_help('themes', $help); 
    3036 
    3137add_thickbox(); 
     
    278284} 
    279285?> 
    280  
    281 <h3><?php _e('Get More Themes'); ?></h3> 
    282 <p><?php _e('You can find additional themes for your site in the <a href="http://wordpress.org/extend/themes/">WordPress theme directory</a>. To install a theme you generally just need to upload the theme folder into your <code>wp-content/themes</code> directory. Once a theme is uploaded, you should see it on this page.'); ?></p> 
    283  
    284286</div> 
    285287 
Note: See TracChangeset for help on using the changeset viewer.