Server IP : 104.21.93.192 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/redwjova/www/wp-content/themes/kadence/inc/customizer/options/ |
Upload File : |
<?php /** * Header Main Row Options * * @package Kadence */ namespace Kadence; use Kadence\Theme_Customizer; use function Kadence\kadence; $settings = array( 'woocommerce_store_notice_tabs' => array( 'control_type' => 'kadence_tab_control', 'section' => 'woocommerce_store_notice', 'settings' => false, 'priority' => 1, 'input_attrs' => array( 'general' => array( 'label' => __( 'General', 'kadence' ), 'target' => 'woocommerce_store_notice', ), 'design' => array( 'label' => __( 'Design', 'kadence' ), 'target' => 'woocommerce_store_notice_design', ), 'active' => 'general', ), ), 'woocommerce_store_notice_tabs_design' => array( 'control_type' => 'kadence_tab_control', 'section' => 'woocommerce_store_notice_design', 'settings' => false, 'priority' => 1, 'input_attrs' => array( 'general' => array( 'label' => __( 'General', 'kadence' ), 'target' => 'woocommerce_store_notice', ), 'design' => array( 'label' => __( 'Design', 'kadence' ), 'target' => 'woocommerce_store_notice_design', ), 'active' => 'design', ), ), 'woo_store_notice_placement' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'woocommerce_store_notice', 'transport' => 'refresh', 'default' => kadence()->default( 'woo_store_notice_placement' ), 'label' => esc_html__( 'Store Notice Placement', 'kadence' ), 'input_attrs' => array( 'layout' => array( 'standard' => array( 'tooltip' => __( 'Hangs down over the top of the header', 'kadence' ), 'name' => __( 'Hang Over Top', 'kadence' ), 'icon' => '', ), 'above' => array( 'tooltip' => __( 'Placed above the Header', 'kadence' ), 'name' => __( 'Above', 'kadence' ), 'icon' => '', ), 'bottom' => array( 'tooltip' => __( 'Stuck to the Bottom of the screen', 'kadence' ), 'name' => __( 'Bottom', 'kadence' ), 'icon' => '', ), ), 'responsive' => false, ), ), 'woo_store_notice_hide_dismiss' => array( 'control_type' => 'kadence_switch_control', 'sanitize' => 'kadence_sanitize_toggle', 'section' => 'woocommerce_store_notice', 'default' => kadence()->default( 'woo_store_notice_hide_dismiss' ), 'label' => esc_html__( 'Disable Dismiss Button?', 'kadence' ), 'transport' => 'refresh', 'context' => array( array( 'setting' => 'woo_store_notice_placement', 'operator' => '=', 'value' => 'above', ), ), ), 'woo_store_notice_font' => array( 'control_type' => 'kadence_typography_control', 'section' => 'woocommerce_store_notice_design', 'label' => esc_html__( 'Notice Font', 'kadence' ), 'default' => kadence()->default( 'woo_store_notice_font' ), 'live_method' => array( array( 'type' => 'css_typography', 'selector' => '.woocommerce-demo-store .woocommerce-store-notice, .woocommerce-demo-store .woocommerce-store-notice a', 'property' => 'font', 'key' => 'typography', ), ), 'input_attrs' => array( 'id' => 'woo_store_notice_font', ), ), 'woo_store_notice_background' => array( 'control_type' => 'kadence_color_control', 'section' => 'woocommerce_store_notice_design', 'label' => esc_html__( 'Background Color', 'kadence' ), 'default' => kadence()->default( 'woo_store_notice_background' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.woocommerce-demo-store .woocommerce-store-notice', 'property' => 'background', 'pattern' => '$', 'key' => 'color', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Overlay Color', 'kadence' ), 'palette' => true, ), ), 'allowGradient' => true, ), ), ); Theme_Customizer::add_settings( $settings );