init
This commit is contained in:
22
wp-content/themes/flatsome/inc/builder/shortcodes/tab.php
Normal file
22
wp-content/themes/flatsome/inc/builder/shortcodes/tab.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
add_ux_builder_shortcode( 'tab', array(
|
||||
'type' => 'container',
|
||||
'name' => __( 'Tab Panel' ),
|
||||
'template' => flatsome_ux_builder_template( 'tab.html' ),
|
||||
'info' => '{{ title }}',
|
||||
'require' => array( 'tabgroup' ),
|
||||
'hidden' => true,
|
||||
'wrap' => false,
|
||||
|
||||
'options' => array(
|
||||
|
||||
'title' => array(
|
||||
'type' => 'textfield',
|
||||
'heading' => __( 'Title' ),
|
||||
'default' => __( 'Tab Title' ),
|
||||
'auto_focus' => true,
|
||||
),
|
||||
|
||||
),
|
||||
) );
|
Reference in New Issue
Block a user