mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Add some help for the widgets screen, make css class .description usable everywhere, fixes #5859
git-svn-id: https://develop.svn.wordpress.org/trunk@11133 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3458,6 +3458,12 @@ function screen_meta($screen) {
|
||||
$_wp_contextual_help[$screen] = $help;
|
||||
}
|
||||
break;
|
||||
case 'widgets':
|
||||
if ( !isset($_wp_contextual_help['widgets']) ) {
|
||||
$help = widgets_help();
|
||||
$_wp_contextual_help['widgets'] = $help;
|
||||
}
|
||||
break;
|
||||
}
|
||||
?>
|
||||
<div id="screen-meta">
|
||||
@@ -3562,6 +3568,14 @@ function plugins_search_help() {
|
||||
';
|
||||
}
|
||||
|
||||
function widgets_help() {
|
||||
return '
|
||||
<p>' . __('Widgets can be added or arranged by dragging. If you hover your mouse over the title bar of a widget you’ll notice the 4 arrow cursor appears to let you know it is movable. Click on it, hold down the mouse button and start dragging the widget to a new location. As you drag the module, notice the dotted gray box that also moves. This box indicates where the widget will be placed when you release the mouse button.') . '</p>
|
||||
<p>' . __('To show or hide the settings for a widget, click on the arrow that appears on the right of the widget title.') . '</p>
|
||||
<p>' . __('The Inactive Widgets area stores all widgets that are configured but not curently used on the web site. After changing themes if the new theme has less sidebars than the old theme, all widgets that were in these sidebars will be transfered to Inactive Widgets.') . '</p>
|
||||
';
|
||||
}
|
||||
|
||||
function screen_layout($screen) {
|
||||
global $screen_layout_columns;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user