| Server IP : 104.21.80.248 / 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 : E:/Inetpub/www/training/wp-content/themes/flatsome/inc/builder/shortcodes/commons/ |
Upload File : |
<?php
return array(
'type' => 'group',
'heading' => __( 'Background' ),
'options' => array(
'bg' => array(
'type' => 'image',
'heading' => __( 'Image' ),
'thumb_size' => 'bg_size',
'bg_position' => 'bg_pos',
),
'bg_size'=> array(
'type' => 'select',
'heading' => 'Size',
'default' => 'large',
'conditions' => 'bg',
'options' => array(
'original' => 'Original',
'large' => 'Large',
'medium' => 'Medium',
'thumbnail' => 'Thumbnail',
)
),
'bg_color' => array(
'type' => 'colorpicker',
'heading' => __('Color'),
'format' => 'rgb',
'position' => 'bottom right',
'helpers' => require( __DIR__ . '/../helpers/colors.php' ),
),
'bg_overlay' => array(
'type' => 'colorpicker',
'heading' => __('Overlay'),
'responsive' => true,
'alpha' => true,
'format' => 'rgb',
'position' => 'bottom right',
'helpers' => require( __DIR__ . '/../helpers/colors-overlay.php' ),
),
'bg_pos' => array(
'conditions' => 'bg',
'type' => 'textfield',
'heading' => __('Position'),
),
'hover' => array(
'conditions' => 'bg',
'type' => 'select',
'heading' => 'Hover',
'options' => require( __DIR__ . '/../values/image-hover.php' ),
),
'hover_alt' => array(
'conditions' => 'hover',
'type' => 'select',
'heading' => 'Hover Alt',
'options' => require( __DIR__ . '/../values/image-hover.php' ),
),
'parallax' => array(
'conditions' => 'bg',
'type' => 'slider',
'heading' => 'Parallax',
'unit' => '+',
'default' => 0,
'max' => 10,
'min' => 0,
),
'effect' => array(
'type' => 'select',
'heading' => 'Effects',
'options' => array(
'' => 'No effect',
'snow' => 'Snow',
'confetti' => 'Confetti',
'sliding-glass' => 'Sliding Glass',
'sparkle' => 'Sparkle',
'rain' => 'Rain',
),
),
),
);