[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Twenty Eleven Theme Options
File Size: | 679 lines (23 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
twentyeleven_admin_enqueue_scripts( $hook_suffix ) X-Ref |
Properly enqueue styles and scripts for our theme options page. This function is attached to the admin_enqueue_scripts action hook. param: string $hook_suffix An admin page's hook suffix. since: Twenty Eleven 1.0 |
twentyeleven_theme_options_init() X-Ref |
Register the form setting for our twentyeleven_options array. This function is attached to the admin_init action hook. This call to register_setting() registers a validation callback, twentyeleven_theme_options_validate(), which is used when the option is saved, to ensure that our option values are complete, properly formatted, and safe. since: Twenty Eleven 1.0 |
twentyeleven_option_page_capability( $capability ) X-Ref |
Change the capability required to save the 'twentyeleven_options' options group. param: string $capability The capability used for the page, which is manage_options by default. return: string The capability to actually use. |
twentyeleven_theme_options_add_page() X-Ref |
Add a theme options page to the admin menu, including some help documentation. This function is attached to the admin_menu action hook. since: Twenty Eleven 1.0 |
twentyeleven_theme_options_help() X-Ref |
No description |
twentyeleven_color_schemes() X-Ref |
Return an array of color schemes registered for Twenty Eleven. since: Twenty Eleven 1.0 |
twentyeleven_layouts() X-Ref |
Return an array of layout options registered for Twenty Eleven. since: Twenty Eleven 1.0 |
twentyeleven_get_default_theme_options() X-Ref |
Return the default options for Twenty Eleven. return: array An array of default theme options. since: Twenty Eleven 1.0 |
twentyeleven_get_default_link_color( $color_scheme = null ) X-Ref |
Return the default link color for Twenty Eleven, based on color scheme. param: string $color_scheme Optional. Color scheme. return: string The default link color. since: Twenty Eleven 1.0 |
twentyeleven_get_theme_options() X-Ref |
Return the options array for Twenty Eleven. since: Twenty Eleven 1.0 |
twentyeleven_settings_field_color_scheme() X-Ref |
Render the Color Scheme setting field. since: Twenty Eleven 1.3 |
twentyeleven_settings_field_link_color() X-Ref |
Render the Link Color setting field. since: Twenty Eleven 1.3 |
twentyeleven_settings_field_layout() X-Ref |
Render the Layout setting field. since: Twenty Eleven 1.3 |
twentyeleven_theme_options_render_page() X-Ref |
Render the theme options page for Twenty Eleven. since: Twenty Eleven 1.2 |
twentyeleven_theme_options_validate( $input ) X-Ref |
Sanitize and validate form input. Accepts an array, return a sanitized array. param: array $input An array of form input. since: Twenty Eleven 1.0 |
twentyeleven_enqueue_color_scheme() X-Ref |
Enqueue the styles for the current color scheme. since: Twenty Eleven 1.0 |
twentyeleven_print_link_color_style() X-Ref |
Add a style block to the theme for the current link color. This function is attached to the wp_head action hook. since: Twenty Eleven 1.0 |
twentyeleven_layout_classes( $existing_classes ) X-Ref |
Add Twenty Eleven layout classes to the array of body classes. param: array $existing_classes An array of existing body classes. since: Twenty Eleven 1.0 |
twentyeleven_customize_register( $wp_customize ) X-Ref |
Implements Twenty Eleven theme options into Customizer param: WP_Customize_Manager $wp_customize Customizer object. since: Twenty Eleven 1.3 |
twentyeleven_customize_partial_blogname() X-Ref |
Render the site title for the selective refresh partial. return: void since: Twenty Eleven 2.4 |
twentyeleven_customize_partial_blogdescription() X-Ref |
Render the site tagline for the selective refresh partial. return: void since: Twenty Eleven 2.4 |
twentyeleven_customize_preview_js() X-Ref |
Bind JS handlers to make Customizer preview reload changes asynchronously. Used with blogname and blogdescription. since: Twenty Eleven 1.3 |
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |