manager->get_setting( Bizline_Helper::with_prefix( 'home-feature-status' ) )->value(); return $value; } endif; function bizline_front_page_feature_options(){ Bizline_Customizer::set(array( # Front Page option 'panel' => array( 'id' => 'front-panel' ), # Front Page Option > Header 'section' => array( 'id' => 'home-feature', 'title' => esc_html__( 'Feature','bizline' ), 'priority' => 5 ), # Front Page Option > Header > settings 'fields' => array( array( 'id' => 'home-feature-status', 'label' => esc_html__( 'Display Feature Section', 'bizline' ), 'default' => false, 'type' => 'toggle', ), array( 'id' => 'home-feature-title', 'label' => esc_html__( 'Title', 'bizline' ), 'default' => esc_html__( 'Our Features', 'bizline' ), 'partial' =>array( 'selector' => 'h2.feature-title', ), 'active_callback' => 'acb_front_feature', 'type' => 'text', ), array( 'id' => 'home-feature-one', 'label' => esc_html__( 'Feature 1', 'bizline' ), 'default' => 0, 'active_callback' => 'acb_front_feature', 'type' => 'dropdown-pages', ), array( 'id' => 'home-feature-two', 'label' => esc_html__( 'Feature 2', 'bizline' ), 'default' => 0, 'active_callback' => 'acb_front_feature', 'type' => 'dropdown-pages', ), array( 'id' => 'home-feature-three', 'label' => esc_html__( 'Feature 3', 'bizline' ), 'default' => 0, 'active_callback' => 'acb_front_feature', 'type' => 'dropdown-pages', ), array( 'id' => 'home-feature-four', 'label' => esc_html__( 'Feature 4', 'bizline' ), 'default' => 0, 'active_callback' => 'acb_front_feature', 'type' => 'dropdown-pages', ), array( 'id' => 'home-feature-five', 'label' => esc_html__( 'Feature 5', 'bizline' ), 'default' => 0, 'active_callback' => 'acb_front_feature', 'type' => 'dropdown-pages', ), array( 'id' => 'home-feature-six', 'label' => esc_html__( 'Feature 6', 'bizline' ), 'default' => 0, 'active_callback' => 'acb_front_feature', 'type' => 'dropdown-pages', ), ), )); } add_action( 'init', 'bizline_front_page_feature_options' );