'ACCORDION FAQ',
'shortcodes' => array(
array(
'name' => 'faq',
'title' => __( 'Insert FAQs', 'faq-creator' ),
'fields' => array (
array (
'id' => 'template',
'type' => 'select',
'title' => __( 'Template', 'faq-creator' ),
'options' => array (
'list' => __( 'List', 'faq-creator' ),
'accordion' => __( 'Accordion', 'faq-creator' ),
'block' => __( 'Block', 'faq-creator' ),
),
'default' => 'accordion',
),
array(
'id' => 'category',
'type' => 'select',
'title' => __( 'Faq Category', 'faq-creator' ),
'options' => 'categories',
'query_args' => array(
'type' => 'faq',
'taxonomy' => 'faq_category',
),
'default_option' => 'All Categories',
),
array (
'id' => 'bg_color',
'type' => 'color_picker',
'title' => __( 'Background Color', 'faq-creator' ),
'default' => '#ef3737',
'dependency' => array( 'template', '==', 'block' ),
),
array (
'id' => 'block_radius',
'type' => 'number',
'title' => 'Block Radius',
'default' => '0',
'after' => 'px',
'dependency' => array( 'template', '==', 'block' ),
),
array (
'id' => 'icon_color',
'type' => 'color_picker',
'title' => __( 'Icon Color', 'faq-creator' ),
'default' => '#ffffff',
'dependency' => array( 'template', '==', 'accordion' ),
),
array (
'id' => 'icon_bg_color',
'type' => 'color_picker',
'title' => __( 'Icon Background Color', 'faq-creator' ),
'default' => '#ef3737',
'dependency' => array( 'template', '==', 'accordion' ),
),
array(
'id' => 'icon_bg_radius',
'type' => 'number',
'title' => 'Icon Background Radius',
'default' => '0',
'after' => 'px',
'dependency' => array( 'template', '==', 'accordion' ),
),
),
),
),
));