EVOLUTION-MANAGER
Edit File: accordion.php
<?php add_ux_builder_shortcode( 'accordion', array( 'type' => 'container', 'name' => __( 'Accordion' ), 'image' => '', 'category' => __( 'Content' ), 'template' => flatsome_ux_builder_template( 'accordion.html' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'accordion' ), 'info' => '{{ title }}', 'allow' => array( 'accordion-item' ), 'presets' => array( array( 'name' => __( 'Default' ), 'content' => ' [accordion] [accordion-item title="Accordion Item 1 Title"][/accordion-item] [accordion-item title="Accordion Item 2 Title"][/accordion-item] [accordion-item title="Accordion Item 3 Title"][/accordion-item] [/accordion] ', ), ), 'options' => array( 'title' => array( 'type' => 'textfield', 'heading' => __( 'Title' ), 'default' => '', 'auto_focus' => true, ), 'auto_open' => array( 'type' => 'radio-buttons', 'heading' => __( 'Auto Open' ), 'default' => '', 'options' => array( '' => array( 'title' => 'Off' ), 'true' => array( 'title' => 'On' ), ), ), 'class' => array( 'type' => 'textfield', 'heading' => 'Custom Class', 'full_width' => true, 'placeholder' => 'class-name', 'default' => '', ), 'structured_data' => array( 'type' => 'group', 'heading' => __( 'Structured data' ), 'options' => array( 'faq_schema' => array( 'type' => 'radio-buttons', 'heading' => __( 'FAQ Schema' ), 'default' => '', 'options' => array( '' => array( 'title' => 'Off' ), 'true' => array( 'title' => 'On' ), ), ), ), ), ), ) );