| Server IP : 172.67.187.206 / Your IP : 172.71.28.156 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/training/wp-content/themes/flatsome/inc/builder/shortcodes/ |
Upload File : |
<?php
add_ux_builder_shortcode( 'ux_html', array(
'type' => 'container',
'name' => __( 'HTML', 'flatsome' ),
'category' => __( 'Content', 'flatsome' ),
'compile' => false,
'overlay' => true,
'thumbnail' => flatsome_ux_builder_thumbnail( 'ux_html' ),
'info' => '{{ label }}',
'template' => flatsome_ux_builder_template( 'ux_html.html' ),
'priority' => 3,
'options' => array(
'label' => array(
'full_width' => true,
'type' => 'textfield',
'heading' => 'Label',
'placeholder' => 'Enter admin label here...',
),
'$content' => array(
'type' => 'text-editor',
'full_width' => true,
'height' => 'calc(100vh - 470px)',
'tinymce' => false,
),
'advanced_options' => require( __DIR__ . '/commons/advanced.php'),
),
) );