| 110 | | $help = '<p>' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:', 'twentyeleven' ) . '</p>' . |
| | 110 | add_action( "load-$theme_page", 'twentyeleven_theme_options_help' ); |
| | 111 | } |
| | 112 | add_action( 'admin_menu', 'twentyeleven_theme_options_add_page' ); |
| | 113 | |
| | 114 | function twentyeleven_theme_options_help() { |
| | 115 | get_current_screen()->add_help_tab( array( |
| | 116 | 'title' => __( 'Help' ), |
| | 117 | 'id' => 'theme-options-help', |
| | 118 | 'content' => |
| | 119 | '<p>' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:', 'twentyeleven' ) . '</p>' . |
| 116 | | '<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>' . |
| 117 | | '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' . |
| 118 | | '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' . |
| 119 | | '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>', 'twentyeleven' ) . '</p>'; |
| | 125 | '<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>' |
| | 126 | ) |
| | 127 | ); |