css_font_post_h4',
'label' => esc_html_x('Post Body H4', 'Admin', 'cheerup'),
'value' => array('font_size' => '18'),
'desc' => '',
'type' => 'typography',
'css' => array(
'selectors' => 'h4',
)
),
array(
'name' => 'css_font_post_h5',
'label' => esc_html_x('Post Body H5', 'Admin', 'cheerup'),
'value' => array('font_size' => '16'),
'desc' => '',
'type' => 'typography',
'css' => array(
'selectors' => 'h5',
)
),
array(
'name' => 'css_font_post_h6',
'label' => esc_html_x('Post Body H6', 'Admin', 'cheerup'),
'value' => array('font_size' => '14'),
'desc' => '',
'type' => 'typography',
'css' => array(
'selectors' => 'h6',
)
),
) // fields
), // section
array(
'id' => 'typography-advanced',
'title' => esc_html_x('Typekit / Advanced', 'Admin', 'cheerup'),
'fields' => array(
array(
'name' => 'typekit_id',
'label' => esc_html_x('Typekit Kit ID', 'Admin', 'cheerup'),
'value' => '',
'desc' => esc_html_x('Refer to the documentation to learn about using Typekit.', 'Admin', 'cheerup'),
'type' => 'text'
),
array(
'name' => 'font_charset',
'label' => esc_html_x('Google Font Charsets', 'Admin', 'cheerup'),
'value' => array(),
'type' => 'checkboxes',
'options' => array(
'latin' => 'Latin',
'latin-ext' => 'Latin Extended',
'cyrillic' => 'Cyrillic',
'cyrillic-ext' => 'Cyrillic Extended',
'greek' => 'Greek',
'greek-ext' => 'Greek Extended',
'vietnamese' => 'Vietnamese'
),
),
), // fields
), // section
), // sections
), // panel
array(
'sections' => array(
array(
'id' => 'import-demos',
'title' => esc_html_x('Import Demos', 'Admin', 'cheerup'),
'fields' => array(
array(
'name' => 'import_info',
'label' => esc_html_x('Import Theme Demos', 'Admin', 'cheerup'),
'type' => 'content',
'text' => '',
)
),
), // section
) // sections
), // panel
array(
'sections' => array(
array(
'id' => 'performance',
'title' => esc_html_x('Performance', 'Admin', 'cheerup'),
'fields' => array(
array(
'name' => 'lazyload_enabled',
'label' => esc_html_x('LazyLoad Images', 'Admin', 'cheerup'),
'value' => 0,
'desc' => '',
'type' => 'checkbox',
),
array(
'name' => 'lazyload_type',
'label' => esc_html_x('Lazy Loader Type', 'Admin', 'cheerup'),
'value' => 'normal',
'desc' => '',
'type' => 'radio',
'options' => array(
'normal' => esc_html_x('Normal - Load Images on scroll', 'Admin', 'cheerup'),
'smart' => esc_html_x('Smart - Preload Images on Desktops', 'Admin', 'cheerup')
)
),
array(
'name' => 'lazyload_aggressive',
'label' => esc_html_x('Aggressive Lazy Load', 'Admin', 'cheerup'),
'value' => 0,
'desc' => esc_html_x('By default, only featured images are preloaded. Aggressive enables lazyloading on all sidebar widgets and footer as well.', 'Admin', 'cheerup'),
'type' => 'checkbox',
),
array(
'name' => 'perf_additional_sizes',
'label' => esc_html_x('Generate Extra Image Sizes', 'Admin', 'cheerup'),
'value' => 0,
'desc' => esc_html_x('Create additional image crops for more devices. WARNING: Requires powerful webhost, disable if you get HTTP ERROR on uploading images.', 'Admin', 'cheerup'),
'type' => 'checkbox',
),
) // fields
), // section
array(
'id' => 'reset-customizer',
'title' => esc_html_x('Reset Settings', 'Admin', 'cheerup'),
'fields' => array(
array(
'name' => 'reset_customizer',
'value' => esc_html_x('Reset All Settings', 'Admin', 'cheerup'),
'desc' => esc_html_x('Clicking the Reset button will revert all settings in the customizer except for menus, widgets and site identity.', 'Admin', 'cheerup'),
'type' => 'button',
'input_attrs' => array(
'class' => 'button reset-customizer',
),
)
) // fields
), // section
) // sections
), // panel
array(
'sections' => array(
array(
'id' => 'custom-css',
'title' => esc_html_x('Custom CSS', 'Admin', 'cheerup'),
'fields' => array(
array(
'name' => 'css_custom',
'value' => '',
'label' => esc_html_x('Custom CSS', 'Admin', 'cheerup'),
'desc' => '',
'type' => 'textarea',
'transport' => 'postMessage'
),
) // fields
), // section
array(
'id' => 'reset-customizer',
'title' => esc_html_x('Reset Settings', 'Admin', 'cheerup'),
'fields' => array(
array(
'name' => 'reset_customizer',
'value' => esc_html_x('Reset All Settings', 'Admin', 'cheerup'),
'desc' => esc_html_x('Clicking the Reset button will revert all settings in the customizer except for menus, widgets and site identity.', 'Admin', 'cheerup'),
'type' => 'button',
'input_attrs' => array(
'class' => 'button reset-customizer',
),
)
) // fields
), // section
) // sections
), // panel
));