Server IP : 172.67.158.161 / Your IP : 3.133.119.157 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/proc/thread-self/root/home/giankuin/./khowordpress.com/wp-content/themes/flatsome/inc/admin/options/styles/ |
Upload File : |
<?php Flatsome_Option::add_section( 'lightbox', array( 'title' => __( 'Image Lightbox', 'flatsome-admin' ), 'panel' => 'style', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'flatsome_lightbox', 'label' => __( 'Enable Flatsome Lightbox', 'flatsome-admin' ), 'section' => 'lightbox', 'default' => 1, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'flatsome_lightbox_bg', 'label' => __( 'Lightbox background color', 'flatsome-admin' ), 'section' => 'lightbox', 'transport' => $transport, 'default' => '', 'active_callback' => array( array( 'setting' => 'flatsome_lightbox', 'operator' => '==', 'value' => true, ), ), ) ); Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'custom_lightbox_gallery_layout', 'label' => '', 'section' => 'lightbox', 'default' => '<div class="options-title-divider">Gallery</div>', 'active_callback' => array( array( 'setting' => 'flatsome_lightbox', 'operator' => '==', 'value' => true, ), ), ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'flatsome_lightbox_multi_gallery', 'label' => __( 'Use multiple galleries on a page', 'flatsome-admin' ), 'description' => __( 'When enabled, lightbox galleries on a page are treated separately, else combined in one gallery.', 'flatsome-admin' ), 'section' => 'lightbox', 'default' => 0, 'active_callback' => array( array( 'setting' => 'flatsome_lightbox', 'operator' => '==', 'value' => true, ), ), ) );