'panel', # Theme Option > Footer Options 'section' => array( 'id' => 'footer', 'title' => esc_html__( 'Footer Options','bizsmart' ), ), # Theme Option > Header > settings 'fields' => array( array( 'id' => 'enable-footer', 'label' => esc_html__( 'Enable Footer', 'bizsmart' ), 'default' => true, 'description' => esc_html__( 'If this option is disabled, footer will disabled on entire site. Or you can enable this and manage via pages setting for respective page', 'bizsmart' ), 'type' => 'bizsmart-toggle' ), array( 'id' => 'layout-footer', 'label' => esc_html__( 'Footer Layout', 'bizsmart' ), 'description' => esc_html__( 'Add widget to display in footer.', 'bizsmart' ), 'type' => 'bizsmart-radio-image', 'default' => '4', 'choices' => array( '1' => array( 'label' => esc_html__( 'One widget', 'bizsmart' ), 'url' => BizSmart_Helper::get_theme_uri( '/classes/customizer/assets/images/footer-1.png' ), 'svg' => '' ), '2' => array( 'label' => esc_html__( 'Two widget', 'bizsmart' ), 'url' => BizSmart_Helper::get_theme_uri( '/classes/customizer/assets/images/footer-2.png' ), 'svg' => '' ), '3' => array( 'label' => esc_html__( 'Thee widget', 'bizsmart' ), 'url' => BizSmart_Helper::get_theme_uri( '/classes/customizer/assets/images/footer-3.png' ), 'svg' => '' ), '4' => array( 'label' => esc_html__( 'Four widget', 'bizsmart' ), 'url' => BizSmart_Helper::get_theme_uri( '/classes/customizer/assets/images/footer-4.png' ), 'svg' => '' ) ) ), array( 'id' => 'footer-copyright-text', 'label' => esc_html__( 'Copyright Text', 'bizsmart' ), 'default' => esc_html__( 'Copyright © All right reserved', 'bizsmart' ), 'type' => 'textarea', 'partial' => array( 'selector' => 'span#bizsmart-copyright' ) ), array( 'id' => 'footer-social-menu', 'label' => esc_html__( 'Show Social Menu', 'bizsmart' ), 'description' => esc_html__( 'Please add Social menus for enabling Social menus. Go to Menus for setting up', 'bizsmart' ), 'default' => true, 'type' => 'bizsmart-toggle', ) ) )); } # use widgets_init hook as we need default value of layout-footer while registering sidebar. # init hook is too late add_action( 'widgets_init', 'bizsmart_footer_options' );