array(
'id' => 'panel',
'title' => esc_html__( 'Guten Learn Pro Options', 'bizsmart' ),
'priority' => 1,
),
# Theme Options >Sidebar Layout > Settings
'section' => array(
'id' => 'header-options',
'title' => esc_html__( 'Header Options','bizsmart' ),
'priority' => 2
),
'fields' => array(
array(
'id' => 'layout-header',
'label' => esc_html__( 'Header Layout', 'bizsmart' ),
'type' => 'bizsmart-radio-image',
'default' => '1',
'choices' => array(
'1' => array(
'label' => esc_html__( 'Header left', 'bizsmart' ),
'url' => false,
'svg' => '
'
),
'2' => array(
'label' => esc_html__( 'Header center', 'bizsmart' ),
'url' => false,
'svg' => ''
),
'3' => array(
'label' => esc_html__( 'Header right', 'bizsmart' ),
'url' => false,
'svg' => ''
)
)
),
array(
'id' => 'btn-one',
'label' => esc_html__( 'Button Options', 'bizsmart' ),
'type' => 'bizsmart-horizontal-line',
),
array(
'id' => 'header-btn-text',
'label' => esc_html__( 'Text', 'bizsmart' ),
'default' => esc_html__( 'Get Started', 'bizsmart' ),
'type' => 'text'
),
array(
'id' => 'header-button-url',
'label' => esc_html__( 'Link', 'bizsmart' ),
'default' => '#',
'type' => 'url'
),
array(
'id' => 'btn-bg-color',
'label' => esc_html__( 'Background Color', 'bizsmart' ),
'default' => '#008b9e',
'type' => 'bizsmart-color-picker',
),
array(
'id' => 'btn-hover-color',
'label' => esc_html__( 'Hover Color', 'bizsmart' ),
'default' => '#0fc5de',
'type' => 'bizsmart-color-picker',
),
array(
'id' => 'off-canvas',
'label' => esc_html__( 'Offcanvas Options', 'bizsmart' ),
'type' => 'bizsmart-horizontal-line',
),
array(
'id' => 'enable-offcanvas',
'label' => esc_html__( 'Enable', 'bizsmart' ),
'description' => esc_html__( 'Please add widget in Offcanvas section(from widget) to see content.', 'bizsmart' ),
'default' => false,
'type' => 'bizsmart-toggle'
)
)
));
}
add_action( 'init', 'bizsmart_header_options' );