OwlCyberSecurity - MANAGER
Edit File: footer-widget1-options.php
<?php /** * Header Main Row Options * * @package Kadence */ namespace Kadence; use Kadence\Theme_Customizer; use function Kadence\kadence; ob_start(); ?> <div class="kadence-compontent-tabs nav-tab-wrapper wp-clearfix"> <a href="#" class="nav-tab kadence-general-tab kadence-compontent-tabs-button nav-tab-active" data-tab="general"> <span><?php esc_html_e( 'General', 'kadence' ); ?></span> </a> </div> <?php $compontent_tabs = ob_get_clean(); $settings = array( 'footer_widget1_breaker' => array( 'control_type' => 'kadence_blank_control', 'section' => 'sidebar-widgets-footer1', 'settings' => false, 'priority' => 5, 'description' => $compontent_tabs, ), 'footer_widget1_align' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'sidebar-widgets-footer1', 'label' => esc_html__( 'Content Align', 'kadence' ), 'priority' => 5, 'default' => kadence()->default( 'footer_widget1_align' ), 'context' => array( array( 'setting' => '__current_tab', 'value' => 'general', ), ), 'live_method' => array( array( 'type' => 'class', 'selector' => '.footer-widget1', 'pattern' => array( 'desktop' => 'content-align-$', 'tablet' => 'content-tablet-align-$', 'mobile' => 'content-mobile-align-$', ), 'key' => '', ), ), 'input_attrs' => array( 'layout' => array( 'left' => array( 'tooltip' => __( 'Left Align', 'kadence' ), 'dashicon' => 'editor-alignleft', ), 'center' => array( 'tooltip' => __( 'Center Align', 'kadence' ), 'dashicon' => 'editor-aligncenter', ), 'right' => array( 'tooltip' => __( 'Right Align', 'kadence' ), 'dashicon' => 'editor-alignright', ), ), 'responsive' => true, ), ), 'footer_widget1_vertical_align' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'sidebar-widgets-footer1', 'label' => esc_html__( 'Content Vertical Align', 'kadence' ), 'priority' => 5, 'default' => kadence()->default( 'footer_widget1_vertical_align' ), 'context' => array( array( 'setting' => '__current_tab', 'value' => 'general', ), ), 'live_method' => array( array( 'type' => 'class', 'selector' => '.footer-widget1', 'pattern' => array( 'desktop' => 'content-valign-$', 'tablet' => 'content-tablet-valign-$', 'mobile' => 'content-mobile-valign-$', ), 'key' => '', ), ), 'input_attrs' => array( 'layout' => array( 'top' => array( 'tooltip' => __( 'Top Align', 'kadence' ), 'icon' => 'aligntop', ), 'middle' => array( 'tooltip' => __( 'Middle Align', 'kadence' ), 'icon' => 'alignmiddle', ), 'bottom' => array( 'tooltip' => __( 'Bottom Align', 'kadence' ), 'icon' => 'alignbottom', ), ), 'responsive' => true, ), ), ); Theme_Customizer::add_settings( $settings );