[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Twenty Sixteen Customizer functionality
File Size: | 1261 lines (32 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
twentysixteen_custom_header_and_background() X-Ref |
Sets up the WordPress core custom header and custom background features. since: Twenty Sixteen 1.0 |
twentysixteen_header_style() X-Ref |
Styles the header text displayed on the site. Create your own twentysixteen_header_style() function to override in a child theme. since: Twenty Sixteen 1.0 |
twentysixteen_customize_register( $wp_customize ) X-Ref |
Adds postMessage support for site title and description for the Customizer. param: WP_Customize_Manager $wp_customize The Customizer object. since: Twenty Sixteen 1.0 |
twentysixteen_customize_partial_blogname() X-Ref |
Render the site title for the selective refresh partial. return: void since: Twenty Sixteen 1.2 |
twentysixteen_customize_partial_blogdescription() X-Ref |
Render the site tagline for the selective refresh partial. return: void since: Twenty Sixteen 1.2 |
twentysixteen_get_color_schemes() X-Ref |
Registers color schemes for Twenty Sixteen. Can be filtered with {@see 'twentysixteen_color_schemes'}. The order of colors in a colors array: 1. Main Background Color. 2. Page Background Color. 3. Link Color. 4. Main Text Color. 5. Secondary Text Color. return: array An associative array of color scheme options. since: Twenty Sixteen 1.0 |
twentysixteen_get_color_scheme() X-Ref |
Retrieves the current Twenty Sixteen color scheme. Create your own twentysixteen_get_color_scheme() function to override in a child theme. return: array An associative array of either the current or default color scheme HEX values. since: Twenty Sixteen 1.0 |
twentysixteen_get_color_scheme_choices() X-Ref |
Retrieves an array of color scheme choices registered for Twenty Sixteen. Create your own twentysixteen_get_color_scheme_choices() function to override in a child theme. return: array Array of color schemes. since: Twenty Sixteen 1.0 |
twentysixteen_sanitize_color_scheme( $value ) X-Ref |
Handles sanitization for Twenty Sixteen color schemes. Create your own twentysixteen_sanitize_color_scheme() function to override in a child theme. return: string Color scheme name. param: string $value Color scheme name value. since: Twenty Sixteen 1.0 |
twentysixteen_color_scheme_css() X-Ref |
Enqueues front-end CSS for color scheme. since: Twenty Sixteen 1.0 |
twentysixteen_customize_control_js() X-Ref |
Binds the JS listener to make Customizer color_scheme control. Passes color scheme data as colorScheme global. since: Twenty Sixteen 1.0 |
twentysixteen_customize_preview_js() X-Ref |
Binds JS handlers to make the Customizer preview reload changes asynchronously. since: Twenty Sixteen 1.0 |
twentysixteen_get_color_scheme_css( $colors ) X-Ref |
Returns CSS for the color schemes. return: string Color scheme CSS. param: array $colors Color scheme colors. since: Twenty Sixteen 1.0 |
twentysixteen_color_scheme_css_template() X-Ref |
Outputs an Underscore template for generating CSS for the color scheme. The template generates the css dynamically for instant display in the Customizer preview. since: Twenty Sixteen 1.0 |
twentysixteen_page_background_color_css() X-Ref |
Enqueues front-end CSS for the page background color. since: Twenty Sixteen 1.0 |
twentysixteen_link_color_css() X-Ref |
Enqueues front-end CSS for the link color. since: Twenty Sixteen 1.0 |
twentysixteen_main_text_color_css() X-Ref |
Enqueues front-end CSS for the main text color. since: Twenty Sixteen 1.0 |
twentysixteen_secondary_text_color_css() X-Ref |
Enqueues front-end CSS for the secondary text color. since: Twenty Sixteen 1.0 |
Generated: Wed Dec 25 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |