• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / inc/customizer.php


Lines:

1 to 66 of 66
<?php

/**
 * Twenty Sixteen Customizer functionality
 *
 * @package WordPress
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 1.0
 */

/* function twentysixteen_custom_header_and_background() – Sets up the WordPress core custom header and custom background features. */
add_action( 'after_setup_theme', 'twentysixteen_custom_header_and_background' );

if ( ! function_exists( 'twentysixteen_header_style' ) ) :
/* function twentysixteen_header_style() – Styles the header text displayed on the site. */
endif; // twentysixteen_header_style()

/* function twentysixteen_customize_register() – Adds postMessage support for site title and description for the Customizer. */
add_action( 'customize_register', 'twentysixteen_customize_register', 11 );

/* function twentysixteen_customize_partial_blogname() – Render the site title for the selective refresh partial. */

/* function twentysixteen_customize_partial_blogdescription() – Render the site tagline for the selective refresh partial. */

/* function twentysixteen_get_color_schemes() – Registers color schemes for Twenty Sixteen. */

if ( ! function_exists( 'twentysixteen_get_color_scheme' ) ) :
/* function twentysixteen_get_color_scheme() – Retrieves the current Twenty Sixteen color scheme. */
endif; // twentysixteen_get_color_scheme()

if ( ! function_exists( 'twentysixteen_get_color_scheme_choices' ) ) :
/* function twentysixteen_get_color_scheme_choices() – Retrieves an array of color scheme choices registered for Twenty Sixteen. */
endif; // twentysixteen_get_color_scheme_choices()


if ( ! function_exists( 'twentysixteen_sanitize_color_scheme' ) ) :
/* function twentysixteen_sanitize_color_scheme() – Handles sanitization for Twenty Sixteen color schemes. */
endif; // twentysixteen_sanitize_color_scheme()

/* function twentysixteen_color_scheme_css() – Enqueues front-end CSS for color scheme. */
add_action( 'wp_enqueue_scripts', 'twentysixteen_color_scheme_css' );

/* function twentysixteen_customize_control_js() – Binds the JS listener to make Customizer color_scheme control. */
add_action( 'customize_controls_enqueue_scripts', 'twentysixteen_customize_control_js' );

/* function twentysixteen_customize_preview_js() – Binds JS handlers to make the Customizer preview reload changes asynchronously. */
add_action( 'customize_preview_init', 'twentysixteen_customize_preview_js' );

/* function twentysixteen_get_color_scheme_css() – Returns CSS for the color schemes. */


/* function twentysixteen_color_scheme_css_template() – Outputs an Underscore template for generating CSS for the color scheme. */
add_action( 'customize_controls_print_footer_scripts', 'twentysixteen_color_scheme_css_template' );

/* function twentysixteen_page_background_color_css() – Enqueues front-end CSS for the page background color. */
add_action( 'wp_enqueue_scripts', 'twentysixteen_page_background_color_css', 11 );

/* function twentysixteen_link_color_css() – Enqueues front-end CSS for the link color. */
add_action( 'wp_enqueue_scripts', 'twentysixteen_link_color_css', 11 );

/* function twentysixteen_main_text_color_css() – Enqueues front-end CSS for the main text color. */
add_action( 'wp_enqueue_scripts', 'twentysixteen_main_text_color_css', 11 );

/* function twentysixteen_secondary_text_color_css() – Enqueues front-end CSS for the secondary text color. */
add_action( 'wp_enqueue_scripts', 'twentysixteen_secondary_text_color_css', 11 );
 

 View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: inc/customizer.php
      Plugin ref: Twenty Sixteen
      Version: 2.8
      Deprecated?: No
      API Letters: C,I,P

      Published: 25th November 2019 | Last updated: 21st August 2020

      Primary Sidebar

      Information

      File name: inc/customizer.php
      Plugin ref: Twenty Sixteen
      Version: 2.8
      Deprecated?: No
      API Letters: C,I,P

      inc

      Footer

      WordPress a2z
      WordPress a2z
      WordPress Dynamic API Reference
      WordPress 6.1.1. PHP: 8.0.28
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  wp-a2z.org
      © Copyright WordPress a2z 2014-2023. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites