????
| Current Path : /home2/morganrand/www/wp-content-bkp/themes/wanderfuls/framework/customizer/settings/ |
| Current File : /home2/morganrand/www/wp-content-bkp/themes/wanderfuls/framework/customizer/settings/callout.php |
<?php
/**
* Footer Customizer Options
*
* @package Wanderfuls WordPress Theme
* @subpackage Customizer
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// General
$this->sections['tb_callout'] = array(
'title' => __( 'General', 'tb' ),
'settings' => array(
array(
'id' => 'callout',
'default' => '1',
'control' => array (
'label' => __( 'Enable', 'tb' ),
'type' => 'checkbox',
'desc' => __( 'If you disable this option we recommend you go to the Customizer Manager and disable the section as well so the next time you work with the Customizer it will load faster.', 'tb' ),
),
),
array(
'id' => 'callout_visibility',
'control' => array (
'label' => __( 'Visibility', 'tb' ),
'type' => 'select',
'choices' => tb_visibility(),
'active_callback' => 'tb_customizer_has_callout',
),
),
array(
'id' => 'callout_text',
'default' => 'I am the footer call-to-action block, here you can add some relevant/important information about your company or product. I can be disabled in the theme options.',
'control' => array (
'label' => __( 'Content', 'tb' ),
'type' => 'textarea',
'active_callback' => 'tb_customizer_has_callout',
'description' => __( 'If you enter the ID number of a page it will automatically display the content of such page.', 'tb' ),
),
),
/** Button **/
array(
'id' => 'callout_button_heading',
'control' => array(
'type' => 'tb-heading',
'label' => __( 'Button', 'tb' ),
'active_callback' => 'tb_customizer_has_callout',
),
),
array(
'id' => 'callout_link',
'default' => '/design/redirect.php',
'control' => array (
'label' => __( 'Link URL', 'tb' ),
'type' => 'text',
'active_callback' => 'tb_customizer_has_callout',
),
),
array(
'id' => 'callout_link_txt',
'default' => 'Start Designing Now',
'control' => array (
'label' => __( 'Link Text', 'tb' ),
'type' => 'text',
'active_callback' => 'tb_customizer_callout_has_button',
),
),
array(
'id' => 'callout_button_target',
'default' => 'blank',
'control' => array (
'label' => __( 'Link Target', 'tb' ),
'type' => 'select',
'active_callback' => 'tb_customizer_callout_has_button',
'choices' => array(
'blank' => __( 'Blank', 'tb' ),
'self' => __( 'Self', 'tb' ),
),
),
),
array(
'id' => 'callout_button_rel',
'control' => array (
'label' => __( 'Link Rel', 'tb' ),
'type' => 'select',
'active_callback' => 'tb_customizer_callout_has_button',
'choices' => array(
'' => __( 'None', 'tb' ),
'nofollow' => __( 'Nofollow', 'tb' ),
),
),
),
/** Styling **/
array(
'id' => 'callout_styling_heading',
'control' => array(
'type' => 'tb-heading',
'label' => __( 'Styling', 'tb' ),
'active_callback' => 'tb_customizer_has_callout',
),
),
array(
'id' => 'footer_callout_bg',
'control' => array (
'type' => 'color',
'label' => __( 'Background', 'tb' ),
'active_callback' => 'tb_customizer_has_callout',
),
'inline_css' => array(
'target' => '#footer-callout-wrap',
'alter' => 'background-color',
),
),
array(
'id' => 'footer_callout_border',
'control' => array (
'type' => 'color',
'label' => __( 'Border Color', 'tb' ),
'active_callback' => 'tb_customizer_has_callout',
),
'inline_css' => array(
'target' => '#footer-callout-wrap',
'alter' => 'border-color',
),
),
array(
'id' => 'footer_callout_color',
'control' => array (
'type' => 'color',
'label' => __( 'Text Color', 'tb' ),
'active_callback' => 'tb_customizer_has_callout',
),
'inline_css' => array(
'target' => '#footer-callout-wrap',
'alter' => 'color',
),
),
array(
'id' => 'footer_callout_link_color',
'control' => array (
'type' => 'color',
'label' => __( 'Links', 'tb' ),
'active_callback' => 'tb_customizer_has_callout',
),
'inline_css' => array(
'target' => '.footer-callout-content a',
'alter' => 'color',
),
),
array(
'id' => 'footer_callout_link_color_hover',
'control' => array (
'type' => 'color',
'label' => __( 'Links: Hover', 'tb' ),
'active_callback' => 'tb_customizer_has_callout',
),
'inline_css' => array(
'target' => '.footer-callout-content a:hover',
'alter' => 'color',
),
),
array(
'id' => 'callout_button_border_radius',
'control' => array (
'type' => 'text',
'label' => __( 'Button Border Radius', 'tb' ),
'active_callback' => 'tb_customizer_callout_has_button',
),
'inline_css' => array(
'target' => '#footer-callout .theme-button',
'alter' => 'border-radius',
),
),
array(
'id' => 'footer_callout_button_bg',
'control' => array (
'type' => 'color',
'label' => __( 'Button Background', 'tb' ),
'active_callback' => 'tb_customizer_callout_has_button',
),
'inline_css' => array(
'target' => '#footer-callout .theme-button',
'alter' => 'background',
),
),
array(
'id' => 'footer_callout_button_color',
'control' => array (
'type' => 'color',
'label' => __( 'Button Color', 'tb' ),
'active_callback' => 'tb_customizer_callout_has_button',
),
'inline_css' => array(
'target' => '#footer-callout .theme-button',
'alter' => 'color',
),
),
array(
'id' => 'footer_callout_button_hover_bg',
'control' => array (
'type' => 'color',
'label' => __( 'Button: Hover Background', 'tb' ),
'active_callback' => 'tb_customizer_callout_has_button',
),
'inline_css' => array(
'target' => '#footer-callout .theme-button:hover',
'alter' => 'background',
),
),
array(
'id' => 'footer_callout_button_hover_color',
'control' => array (
'type' => 'color',
'label' => __( 'Button: Hover Color', 'tb' ),
'active_callback' => 'tb_customizer_callout_has_button',
),
'inline_css' => array(
'target' => '#footer-callout .theme-button:hover',
'alter' => 'color',
),
),
),
);