appearance -> customize, you have a GUI for altering various theme values. This array creates those values. * Here, we have commented-out examples. Child themes would use this format for adding nodes to the customization screen. * * * label - The heading for the section in wp-admin * * slug - Should be a unique value for referring to this section * * fields - An array of customization nodes grouped into the current section * * * fields[label] - The heading for this node in wp-admin * * * fields[slug] - Should be a unique value for referring to this node * * * fields[type] - Tells WP which kind of input to use (text, color, select, etc) * * * fields[default] - The default value for this node * * * fields[is_style] - Set to '1' to tell WP that this is a style rule. WP will then output it between "; } return $out; } } /** * Echoes the theme mod styles in wp_head. * * @since anchorage 1.0 */ if( ! function_exists( 'anchorage_base_the_custom_styles' ) ) { function anchorage_base_the_custom_styles() { echo anchorage_base_get_custom_styles(); } } add_action( 'wp_head', 'anchorage_base_the_custom_styles' );