File: /home/posscale/public_html/WP-POS/wp-content/themes/angle/functions/customizer/customizer-data.php
<?php
function angle_customizer_data() {
static $data = array();
if ( empty( $data ) ) {
$media_viewport = 'screen and (min-width: 768px)';
$data = array(
'title_tagline' => array(
'title' => __( 'Site Identity', 'wpzoom' ),
'priority' => 20,
'options' => array(
'hide-tagline' => array(
'setting' => array(
'sanitize_callback' => 'absint',
'default' => true
),
'control' => array(
'label' => __( 'Show Tagline', 'wpzoom' ),
'type' => 'checkbox',
'priority' => 11
),
'style' => array(
'selector' => '.navbar-brand-wpz .tagline',
'rule' => 'display'
)
),
'custom_logo_retina_ready' => array(
'setting' => array(
'sanitize_callback' => 'absint',
'default' => false,
),
'control' => array(
'label' => __( 'Retina Ready?', 'wpzoom' ),
'type' => 'checkbox',
'priority' => 9
),
'partial' => array(
'selector' => '.navbar-brand-wpz a',
'container_inclusive' => false,
'render_callback' => 'angle_custom_logo'
)
),
'blogname' => array(
'setting' => array(
'sanitize_callback' => 'sanitize_text_field',
'default' => get_option( 'blogname' ),
'transport' => 'postMessage',
'type' => 'option'
),
'control' => array(
'label' => __( 'Site Title', 'wpzoom' ),
'type' => 'text',
'priority' => 9
),
'partial' => array(
'selector' => '.navbar-brand-wpz a',
'container_inclusive' => false,
'render_callback' => 'zoom_customizer_partial_blogname'
)
),
'blogdescription' => array(
'setting' => array(
'sanitize_callback' => 'sanitize_text_field',
'default' => get_option( 'blogdescription' ),
'transport' => 'postMessage',
'type' => 'option'
),
'control' => array(
'label' => __( 'Tagline', 'wpzoom' ),
'type' => 'text',
'priority' => 10
),
'partial' => array(
'selector' => '.navbar-brand-wpz .tagline',
'container_inclusive' => false,
'render_callback' => 'zoom_customizer_partial_blogdescription'
)
),
'custom_logo' => array(
'partial' => array(
'selector' => '.navbar-brand-wpz',
'container_inclusive' => false,
'render_callback' => 'angle_custom_logo'
)
)
)
),
'homepage-template' => array(
'title' => __( 'Homepage Template', 'wpzoom' ),
'priority' => 50,
'options' => array(
'home-widget-section-text' => array(
'setting' => array(
'sanitize_callback' => 'sanitize_text_field',
'default' => 'Our Services'
),
'control' => array(
'label' => __( 'Section Text', 'wpzoom' ),
'type' => 'text',
),
'partial' => array(
'selector' => '.home-widgetized-wrapper',
'container_inclusive' => false,
'render_callback' => 'angle_home_widgetized_callback'
)
),
'home-widget-columns' => array(
'setting' => array(
'sanitize_callback' => 'sanitize_text_field',
'default' => 3
),
'control' => array(
'label' => __( 'Number of Columns in first Widgetized Area', 'wpzoom' ),
'type' => 'select',
'choices' => array( '0', '1', '2', '3' ),
),
'partial' => array(
'selector' => '.home-widgetized-wrapper',
'container_inclusive' => false,
'render_callback' => 'angle_home_widgetized_callback'
)
),
)
),
'color' => array(
'title' => __( 'General', 'wpzoom' ),
'panel' => 'color-scheme',
'priority' => 110,
'capability' => 'edit_theme_options',
'options' => array(
'color-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Background Color', 'wpzoom' ),
),
'style' => array(
'selector' => 'body',
'rule' => 'background'
)
),
'color-body-text' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#333333'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Body Text', 'wpzoom' ),
),
'style' => array(
'selector' => 'body, h1, h2, h3, h4, h5, h6',
'rule' => 'color'
)
),
'color-logo' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#000000'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Logo Color', 'wpzoom' ),
),
'style' => array(
'selector' => '.navbar-brand-wpz a',
'rule' => 'color'
),
),
'color-logo-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#000000'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Logo Color on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.navbar-brand-wpz a:hover',
'rule' => 'color'
)
),
'color-tagline' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#666666'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Site Description', 'wpzoom' ),
),
'style' => array(
'selector' => '.navbar-brand-wpz .tagline',
'rule' => 'color'
),
),
'color-link' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Link Color', 'wpzoom' ),
),
'style' => array(
'selector' => 'a',
'rule' => 'color'
)
),
'color-link-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Link Color on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => 'a:hover',
'rule' => 'color'
),
),
'color-button-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Buttons Background', 'wpzoom' ),
),
'style' => array(
'selector' => '#heading .action, a.more_link, button, input[type=button], input[type=reset], input[type=submit], div.navigation .prev, div.navigation .next, div.navigation span.current',
'rule' => 'background'
),
),
'color-button-color' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Buttons Text Color', 'wpzoom' ),
),
'style' => array(
'selector' => '#heading .action, a.more_link, button, input[type=button], input[type=reset], input[type=submit], div.navigation .prev, div.navigation .next, div.navigation span.current',
'rule' => 'color'
),
),
'color-button-border' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Buttons Border Color', 'wpzoom' ),
),
'style' => array(
'selector' => '#heading .action, a.more_link, button, input[type=button], input[type=reset], input[type=submit], div.navigation .prev, div.navigation .next, div.navigation span.current',
'rule' => 'border-color'
),
),
'color-button-background-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Buttons Background on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '#heading .action:hover, a.more_link:hover, button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover, div.navigation .prev:hover, div.navigation .next:hover ',
'rule' => 'background'
),
),
'color-button-color-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Buttons Text Color on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '#heading .action:hover, a.more_link:hover, button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover, div.navigation .prev:hover, div.navigation .next:hover ',
'rule' => 'color'
),
),
'color-button-border-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Buttons Border Color on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '#heading .action:hover, a.more_link:hover, button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover, div.navigation .prev:hover, div.navigation .next:hover ',
'rule' => 'border-color'
),
),
),
),
'color-main-menu' => array(
'panel' => 'color-scheme',
'title' => __( 'Main Menu', 'wpzoom' ),
'options' => array(
'color-menu-link' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#363940'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Menu Item', 'wpzoom' ),
),
'style' => array(
'id' => 'color-menu-link',
'selector' => '.main-navbar .navbar-nav > li > a, .main-navbar .navbar-nav > li > ul > li > a',
'rule' => 'color'
)
),
'color-menu-link-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#818592'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Menu Item Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.main-navbar .navbar-nav > li > a:hover, .main-navbar .navbar-nav > li > ul > li > a:hover',
'rule' => 'color'
),
),
'color-menu-link-current' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#818592'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Menu Current Item', 'wpzoom' ),
),
'style' => array(
array(
'selector' => '.main-navbar .navbar-nav > li > ul > li.current-menu-item > a, .main-navbar .navbar-nav > .current-menu-item > a, .main-navbar .navbar-nav > .current_page_item > a, .main-navbar .navbar-nav > .current-menu-parent > a',
'rule' => 'color'
),
array(
'selector' => '.main-navbar .navbar-nav > li > ul > li.current-menu-item > a, .main-navbar .navbar-nav > .current-menu-item > a, .main-navbar .navbar-nav > .current_page_item > a, .main-navbar .navbar-nav > .current-menu-parent > a',
'rule' => 'border-bottom-color'
)
)
),
'color-menu-link-current-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#818592'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Menu Current Item on Hover', 'wpzoom' ),
),
'style' => array(
array(
'selector' => '.main-navbar .navbar-nav > li > ul > li.current-menu-item > a:hover, .main-navbar .navbar-nav > .current-menu-item > a:hover, .main-navbar .navbar-nav > .current_page_item > a:hover, .main-navbar .navbar-nav > .current-menu-parent > a:hover',
'rule' => 'color'
),
array(
'selector' => '.main-navbar .navbar-nav > li > ul > li.current-menu-item > a:hover, .main-navbar .navbar-nav > .current-menu-item > a:hover, .main-navbar .navbar-nav > .current_page_item > a:hover, .main-navbar .navbar-nav > .current-menu-parent > a:hover',
'rule' => 'border-bottom-color'
)
)
),
)
),
'color-slider' => array(
'panel' => 'color-scheme',
'title' => __( 'Homepage Slider', 'wpzoom' ),
'options' => array(
'color-slider-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#F7F7F7'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Slider Background', 'wpzoom' ),
),
'style' => array(
'selector' => '.slider-wrap',
'rule' => 'background',
'media' => $media_viewport
)
),
'color-slider-post-title' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Slide Title', 'wpzoom' ),
),
'style' => array(
'selector' => '.slides li h3 a, .slides li h3',
'rule' => 'color',
'media' => $media_viewport
)
),
'color-slider-post-title-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Slide Title Background', 'wpzoom' ),
),
'style' => array(
'selector' => '.slides li h3',
'rule' => 'background',
'media' => $media_viewport
)
),
'color-slider-post-title-background-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Slide Title Background on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.slides li h3:hover',
'rule' => 'background',
'media' => $media_viewport
)
),
'color-slider-post-title-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ff671b'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Slide Title Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.slides li h3 a:hover',
'rule' => 'color',
'media' => $media_viewport
)
),
'color-slider-button-color' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Button Text', 'wpzoom' ),
),
'style' => array(
'selector' => '.slides .slide_button a',
'rule' => 'color',
'media' => $media_viewport
)
),
'color-slider-button-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Button Background', 'wpzoom' ),
),
'style' => array(
'selector' => '.slides .slide_button a',
'rule' => 'background',
'media' => $media_viewport
)
),
'color-slider-button-color-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#fff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Button Text Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.slides .slide_button a:hover',
'rule' => 'color',
'media' => $media_viewport
)
),
'color-slider-button-background-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#000000'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Button Background Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.slides .slide_button a:hover',
'rule' => 'background',
'media' => $media_viewport
)
),
'color-slider-arrows-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Arrows Background', 'wpzoom' ),
),
'style' => array(
'selector' => '#slider .flex-direction-nav .flex-next:after, #slider .flex-direction-nav .flex-prev:after ',
'rule' => 'background',
'media' => $media_viewport
)
),
'color-slider-arrows-background-on-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Arrows Background on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '#slider .flex-direction-nav .flex-next:hover:after, #slider .flex-direction-nav .flex-prev:hover:after ',
'rule' => 'background',
'media' => $media_viewport
)
),
'color-slider-arrows-color' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#111111'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Arrows Color', 'wpzoom' ),
),
'style' => array(
'selector' => '#slider .flex-direction-nav .flex-next:after, #slider .flex-direction-nav .flex-prev:after ',
'rule' => 'color',
'media' => $media_viewport
)
),
'color-slider-arrows-color-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#111111'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Arrows Color on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '#slider .flex-direction-nav .flex-next:hover:after, #slider .flex-direction-nav .flex-prev:hover:after',
'rule' => 'color',
'media' => $media_viewport
)
)
)
),
'color-posts' => array(
'panel' => 'color-scheme',
'title' => __( 'Blog Posts', 'wpzoom' ),
'options' => array(
'color-post-title' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Title', 'wpzoom' ),
),
'style' => array(
'selector' => '.entry-title a',
'rule' => 'color'
)
),
'color-post-title-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ff671b'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Title Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.entry-title a:hover',
'rule' => 'color'
)
),
'color-post-cat' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#999999'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Category', 'wpzoom' ),
),
'style' => array(
array(
'selector' => '.entry-meta .cat-links a',
'rule' => 'color'
),
array(
'selector' => 'div.entry-meta .cat-links a',
'rule' => 'border-color'
)
)
),
'color-post-cat-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Category Hover', 'wpzoom' ),
),
'style' => array(
array(
'selector' => '.entry-meta .cat-links a:hover',
'rule' => 'color'
),
array(
'selector' => 'div.entry-meta .cat-links a:hover',
'rule' => 'border-color'
)
)
),
'color-post-meta' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#999999'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Meta', 'wpzoom' ),
),
'style' => array(
'selector' => '.entry-meta',
'rule' => 'color'
)
),
'color-post-meta-link' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#999999'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Meta Link', 'wpzoom' ),
),
'style' => array(
array(
'selector' => '.entry-meta a',
'rule' => 'color'
),
array(
'selector' => '.recent-posts .entry-meta a',
'rule' => 'border-color'
)
)
),
'color-post-meta-link-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Meta Link Hover', 'wpzoom' ),
),
'style' => array(
array(
'selector' => '.entry-meta a:hover',
'rule' => 'color'
),
array(
'selector' => '.recent-posts .entry-meta a:hover',
'rule' => 'border-color'
)
)
),
'color-post-button-color' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Read More Text Color', 'wpzoom' ),
),
'style' => array(
'selector' => 'a.more_link',
'rule' => 'color'
)
),
'color-post-button-color-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Read More Text Color Hover', 'wpzoom' ),
),
'style' => array(
'selector' => 'a.more_link:hover, a.more_link:active',
'rule' => 'color'
)
),
'color-post-button-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Read More Button Background Color', 'wpzoom' ),
),
'style' => array(
'selector' => 'a.more_link',
'rule' => 'background-color'
)
),
'color-post-button-background-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Read More Button Background Color Hover', 'wpzoom' ),
),
'style' => array(
'selector' => 'a.more_link:hover, a.more_link:active',
'rule' => 'background-color'
)
),
'color-post-button-border' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Read More Button Border', 'wpzoom' ),
),
'style' => array(
'selector' => 'a.more_link',
'rule' => 'border-color'
)
),
'color-post-button-border-color' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Read More Button Border Hover', 'wpzoom' ),
),
'style' => array(
'selector' => 'a.more_link:hover, a.more_link:active',
'rule' => 'border-color'
)
),
)
),
'color-single' => array(
'panel' => 'color-scheme',
'title' => __( 'Individual Posts and Pages', 'wpzoom' ),
'options' => array(
'color-single-title' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post/Page Title', 'wpzoom' ),
),
'style' => array(
'selector' => '.page h1.entry-title, .single h1.entry-title, div.page-header div.page-header-content h1.archive-title ',
'rule' => 'color'
)
),
'color-single-title-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ff671b'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post/Page Title Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.page h1.entry-title a, .single h1.entry-title a, div.page-header div.page-header-content h1.archive-title a',
'rule' => 'color'
)
),
'color-single-title-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ffffff'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post/Page Title Background', 'wpzoom' ),
'description' => __( 'Only for Pages/Posts that have Image Cover.', 'wpzoom' )
),
'style' => array(
'selector' => '.page h1.entry-title, .single h1.entry-title, div.page-header.has-post-cover div.page-header-content h1.archive-title ',
'rule' => 'background'
)
),
'color-single-meta' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#999999'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Meta', 'wpzoom' ),
),
'style' => array(
'selector' => '.single .entry-meta',
'rule' => 'color'
)
),
'color-single-meta-link' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#999999'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Meta Link', 'wpzoom' ),
),
'style' => array(
array(
'selector' => '.single .entry-meta a',
'rule' => 'color'
),
array(
'selector' => '.single .entry-meta a',
'rule' => 'border-bottom-color'
)
)
),
'color-single-meta-link-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post Meta Link Hover', 'wpzoom' ),
),
'style' => array(
array(
'selector' => '.single .entry-meta a:hover',
'rule' => 'color'
),
array(
'selector' => '.single .entry-meta a:hover',
'rule' => 'border-bottom-color'
)
)
),
'color-single-content' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#333333'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Post/Page Text Color', 'wpzoom' ),
),
'style' => array(
'selector' => '.entry-content',
'rule' => 'color'
)
),
'color-single-link' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#ff671b'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Links Color in Posts', 'wpzoom' ),
),
'style' => array(
'selector' => '.entry-content a',
'rule' => 'color'
)
),
'color-single-link-hover' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Links Color in Posts on Hover', 'wpzoom' ),
),
'style' => array(
'selector' => '.entry-content a:hover',
'rule' => 'color'
)
)
)
),
'color-widgets' => array(
'panel' => 'color-scheme',
'title' => __( 'Widgets', 'wpzoom' ),
'options' => array(
'color-widget-title' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#222222'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Widget Title Color', 'wpzoom' ),
),
'style' => array(
'selector' => '.widget h3.title',
'rule' => 'color'
)
),
)
),
'color-footer' => array(
'panel' => 'color-scheme',
'title' => __( 'Footer', 'wpzoom' ),
'options' => array(
'color-footer-text' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#666666'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Footer Widget Area Color Text', 'wpzoom' ),
),
'style' => array(
'selector' => '.footer-widgets',
'rule' => 'color'
)
),
'color-footer-widget-area-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#f8f8f8'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Footer Widget Area Background', 'wpzoom' ),
),
'style' => array(
'selector' => '.footer-widgets',
'rule' => 'background'
)
),
'color-footer-copyright-background' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#0D0D0D'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Copyright Background', 'wpzoom' ),
),
'style' => array(
'selector' => '.site-info',
'rule' => 'background'
)
),
'color-footer-copyright-text' => array(
'setting' => array(
'sanitize_callback' => 'maybe_hash_hex_color',
'transport' => 'postMessage',
'default' => '#999999'
),
'control' => array(
'control_type' => 'WP_Customize_Color_Control',
'label' => __( 'Copyright Text', 'wpzoom' ),
),
'style' => array(
'selector' => '.site-info',
'rule' => 'color'
)
)
)
),
/**
* Typography
*/
'font-site-body' => array(
'panel' => 'typography',
'title' => __( 'Body', 'wpzoom' ),
'options' => array(
'body' => array(
'type' => 'typography',
'selector' => 'body',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 16,
'font-weight' => 'normal',
'font-style' => 'normal'
)
)
)
),
'font-site-title' => array(
'panel' => 'typography',
'title' => __( 'Site Title', 'wpzoom' ),
'options' => array(
'title' => array(
'type' => 'typography',
'selector' => '.navbar-brand-wpz h1',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 30,
'font-weight' => 'bold',
'text-transform' => 'uppercase',
'font-style' => 'normal'
)
)
)
),
'description-typography' => array(
'panel' => 'typography',
'title' => __( 'Site Description', 'wpzoom' ),
'options' => array(
'description' => array(
'type' => 'typography',
'selector' => '.navbar-brand-wpz .tagline',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 14,
'font-weight' => 'normal',
'text-transform' => 'none',
'font-style' => 'normal'
)
)
)
),
'font-nav' => array(
'panel' => 'typography',
'title' => __( 'Main Menu Links', 'wpzoom' ),
'options' => array(
'mainmenu' => array(
'type' => 'typography',
'selector' => '.navbar-nav a, .navbar-nav',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 16,
'font-weight' => 'normal',
'text-transform' => 'none',
'font-style' => 'normal'
)
)
)
),
'font-slider' => array(
'panel' => 'typography',
'title' => __( 'Homepage Slider Title', 'wpzoom' ),
'options' => array(
'slider-title' => array(
'type' => 'typography',
'selector' => '.slides .slide-content > h3, .slides .slide-content > h3 a',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 36,
'font-weight' => 'normal',
'text-transform' => 'none',
'font-style' => 'normal'
)
)
)
),
'font-slider-button' => array(
'panel' => 'typography',
'title' => __( 'Homepage Slider Button', 'wpzoom' ),
'options' => array(
'slider-button' => array(
'type' => 'typography',
'selector' => '.slides > li .slide_button a',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 14,
'font-weight' => 'normal',
'text-transform' => 'none',
'font-style' => 'normal'
)
)
)
),
'font-widgets' => array(
'panel' => 'typography',
'title' => __( 'Widget Title', 'wpzoom' ),
'options' => array(
'widget-title' => array(
'type' => 'typography',
'selector' => '.widget h3.title',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 20,
'font-weight' => 'normal',
'text-transform' => 'none',
'font-style' => 'normal'
)
)
)
),
'font-post-title' => array(
'panel' => 'typography',
'title' => __( 'Blog Posts Title', 'wpzoom' ),
'options' => array(
'blog-title' => array(
'type' => 'typography',
'selector' => 'h3.entry-title a',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 30,
'font-weight' => 'bold',
'text-transform' => 'none',
'font-style' => 'normal'
)
)
)
),
'font-single-post-title' => array(
'panel' => 'typography',
'title' => __( 'Single Post Title', 'wpzoom' ),
'options' => array(
'post-title' => array(
'type' => 'typography',
'selector' => '.single .page-header.has-post-cover h1.archive-title, .single .page-header.has-post-cover h2.archive-title',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 36,
'font-weight' => 'normal',
'text-transform' => 'none',
'font-style' => 'normal'
)
)
)
),
'font-page-title' => array(
'panel' => 'typography',
'title' => __( 'Single Page Title', 'wpzoom' ),
'options' => array(
'page-title' => array(
'type' => 'typography',
'selector' => '.page .page-header.has-post-cover h1.archive-title, .page .page-header.has-post-cover h2.archive-title',
'rules' => array(
'font-family' => 'Roboto',
'font-size' => 36,
'font-weight' => 'normal',
'text-transform' => 'none',
'font-style' => 'normal'
)
)
)
),
'footer-area' => array(
'title' => __( 'Footer', 'wpzoom' ),
'options' => array(
'footer-widget-areas' => array(
'setting' => array(
'default' => '3',
'sanitize_callback' => 'sanitize_text_field',
'transport' => 'postMessage'
),
'control' => array(
'type' => 'select',
'label' => __( 'Number of Widget Areas', 'wpzoom' ),
'choices' => array( '0', '1', '2', '3', '4' ),
),
'partial' => array(
'selector' => '.footer-widgetized-wrapper',
'container_inclusive' => false,
'render_callback' => 'angle_footer_widgetized_callback'
)
),
'blogcopyright' => array(
'setting' => array(
'sanitize_callback' => 'sanitize_text_field',
'default' => get_option( 'blogcopyright', sprintf( __( 'Copyright © %1$s — %2$s. All Rights Reserved', 'wpzoom' ), date( 'Y' ), get_bloginfo( 'name' ) ) ),
'transport' => 'postMessage',
'type' => 'option'
),
'control' => array(
'label' => __( 'Footer Text', 'wpzoom' ),
'type' => 'text',
'priority' => 10
),
'partial' => array(
'selector' => '.site-info .copyright',
'container_inclusive' => false,
'render_callback' => 'zoom_customizer_partial_blogcopyright'
)
)
)
)
);
zoom_customizer_normalize_options( $data );
}
return $data;
}
add_filter( 'wpzoom_customizer_data', 'angle_customizer_data' );