Ticket #22451: 22451-appearance.diff
File 22451-appearance.diff, 14.5 KB (added by , 12 years ago) |
---|
-
wp-admin/theme-editor.php
22 22 23 23 get_current_screen()->add_help_tab( array( 24 24 'id' => 'overview', 25 'title' => __( 'Overview'),25 'title' => __( 'Overview' ), 26 26 'content' => 27 '<p>' . __( 'You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '</p>28 <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>29 <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>30 <p id="newcontent-description">' . __('In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.') . '</p>31 <p>' . __('After typing in your edits, click Update File.') . '</p>32 <p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p>33 <p>' . __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="http://codex.wordpress.org/Child_Themes" target="_blank">child theme</a> instead.') . '</p>' .34 ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.') . '</p>' : '' )27 '<p>' . __( 'You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '</p>' . 28 '<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>' . 29 '<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>' . 30 '<p id="newcontent-description">' . __( 'In the editing area, the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.' ) . '</p>' . 31 '<p>' . __( 'After typing in your edits, click Update File.' ) . '</p>' . 32 '<p>' . __( '<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '</p>' . 33 '<p>' . __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="http://codex.wordpress.org/Child_Themes" target="_blank">child theme</a> instead.' ) . '</p>' . 34 ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '</p>' : '' ) 35 35 ) ); 36 36 37 37 get_current_screen()->set_help_sidebar( -
wp-admin/custom-header.php
127 127 128 128 get_current_screen()->add_help_tab( array( 129 129 'id' => 'set-header-text', 130 'title' => __( 'Header Text'),130 'title' => __( 'Header Text' ), 131 131 'content' => 132 132 '<p>' . sprintf( __( 'For most themes, the header text is your Site Title and Tagline, as defined in the <a href="%1$s">General Settings</a> section.' ), admin_url( 'options-general.php' ) ) . '<p>' . 133 133 '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '</p>' . 134 '<p>' . __( 'Don’t forget to Save Changeswhen you’re done!') . '</p>'134 '<p>' . __( 'Don’t forget to click “Save Changes” when you’re done!') . '</p>' 135 135 ) ); 136 136 137 137 get_current_screen()->set_help_sidebar( -
wp-admin/nav-menus.php
436 436 437 437 get_current_screen()->add_help_tab( array( 438 438 'id' => 'overview', 439 'title' => __( 'Overview'),439 'title' => __( 'Overview' ), 440 440 'content' => 441 '<p>' . __( 'This feature allows you to use a custom menu in place of your theme’s default menus.') . '</p>' .442 '<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, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '</p>' .443 '<p>' . __( 'If your theme does not support the custom menus feature yet (the default themes, Twenty Eleven and Twenty Ten, do), you can learn about adding this support by following the Documentation link to the side.') . '</p>'441 '<p>' . __( 'This feature allows you to use a custom menu in place of your theme’s default menus.' ) . '</p>' . 442 '<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>' . 443 '<p>' . __( 'If your theme does not support the custom menus feature yet (the default themes, Twenty Twelve and Twenty Eleven, do), you can learn about adding this support by following the Documentation link to the side.' ) . '</p>' 444 444 ) ); 445 445 get_current_screen()->add_help_tab( array( 446 446 'id' => 'create-menus', 447 'title' => __( 'Create Menus'),447 'title' => __( 'Create Menus' ), 448 448 'content' => 449 '<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 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. Drop the item into its new nested placement when the dotted rectangle target shifts over, also a little to the right. Don’t forget to click Save when you’re finished.') . '</p>'449 '<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 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. Drop the item into its new nested placement when the dotted rectangle target shifts over, also a little to the right. Don’t forget to click Save Menu when you’re finished.' ) . '</p>' 450 450 ) ); 451 451 452 452 get_current_screen()->set_help_sidebar( -
wp-admin/widgets.php
56 56 ) ); 57 57 get_current_screen()->add_help_tab( array( 58 58 'id' => 'missing-widgets', 59 'title' => __( 'Missing Widgets'),59 'title' => __( 'Missing Widgets' ), 60 60 'content' => 61 '<p>' . __( 'Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area.') . '</p>' .62 '<p>' . __( 'When changing themes, there is often some variation in the number and setup of widget areas/sidebars and sometimes these conflicts make the transition a bit less smooth. If you changed themes and seem to be missing widgets, scroll down on this screen to the Inactive area, where all your widgets and their settings will have been saved.') . '</p>'61 '<p>' . __( 'Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area.' ) . '</p>' . 62 '<p>' . __( 'When changing themes, there is often some variation in the number and setup of widget areas/sidebars and sometimes these conflicts make the transition a bit less smooth. If you changed themes and seem to be missing widgets, scroll down on this screen to the Inactive Widgets area, where all of your widgets and their settings will have been saved.' ) . '</p>' 63 63 ) ); 64 64 65 65 get_current_screen()->set_help_sidebar( -
wp-admin/themes.php
41 41 42 42 if ( current_user_can( 'switch_themes' ) ) : 43 43 44 $help_manage = '<p>' . __( 'Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '</p>' .45 '<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 Live Preview link (see "Previewing and Customizing" help tab). To change themes, click the Activate link.') . '</p>';44 $help_manage = '<p>' . __( 'Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.' ) . '</p>' . 45 '<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 Live Preview link (see “Previewing and Customizing̶ help tab). To change themes, click the Activate link.' ) . '</p>'; 46 46 47 47 get_current_screen()->add_help_tab( array( 48 48 'id' => 'overview', 49 'title' => __( 'Overview'),49 'title' => __( 'Overview' ), 50 50 'content' => $help_manage 51 51 ) ); 52 52 … … 70 70 71 71 if ( current_user_can( 'edit_theme_options' ) ) { 72 72 $help_customize = 73 '<p>' . __( 'Click on the "Live Preview" link under any theme to preview that theme and change theme options in a separate, full-screen view. Any installed theme can be previewed and customized in this way.') . '</p>'.74 '<p>' . __( 'The theme being previewed is fully interactive — navigate to different pages to see how the theme handles posts, archives, and other page templates.') . '</p>' .75 '<p>' . __( 'In the left-hand pane you can edit the theme settings. The settings will differ, depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the "Save & Activate" button at the top of the left-hand pane.') . '</p>' .76 '<p>' . __( 'When previewing on smaller monitors, you can use the "Collapse" icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the Collapse icon again.') . '</p>';73 '<p>' . __( 'Click on the Live Preview link under any theme to preview that theme and change theme options in a separate, full-screen view. Any installed theme can be previewed and customized in this way.' ) . '</p>'. 74 '<p>' . __( 'The theme being previewed is fully interactive — navigate to different pages to see how the theme handles posts, archives, and other page templates.' ) . '</p>' . 75 '<p>' . __( 'In the left-hand pane you can edit the theme settings. The settings will differ, depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the Save & Activate button at the top of the left-hand pane.' ) . '</p>' . 76 '<p>' . __( 'When previewing on smaller monitors, you can use the “Collapse menu” icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the Collapse icon again.' ) . '</p>'; 77 77 78 78 get_current_screen()->add_help_tab( array( 79 79 'id' => 'customize-preview-themes', 80 'title' => __( 'Previewing and Customizing'),80 'title' => __( 'Previewing and Customizing' ), 81 81 'content' => $help_customize 82 82 ) ); 83 83 } -
wp-admin/custom-background.php
94 94 'title' => __('Overview'), 95 95 'content' => 96 96 '<p>' . __( 'You can customize the look of your site without touching any of your theme’s code by using a custom background. Your background can be an image or a color.' ) . '</p>' . 97 '<p>' . __( 'To use a background image, simply upload it , then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' .97 '<p>' . __( 'To use a background image, simply upload it or choose an image that has already been uploaded to your Media Library by clicking the “Choose Image” button. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' . 98 98 '<p>' . __( 'You can also choose a background color by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '</p>' . 99 99 '<p>' . __( 'Don’t forget to click on the Save Changes button when you are finished.' ) . '</p>' 100 100 ) );