Server IP : 172.67.158.161 / Your IP : 3.142.135.34 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/dietcontrungnhanh.com/wp-content/themes/flatsome/inc/admin/options/styles/ |
Upload File : |
<?php Flatsome_Option::add_section( 'lightbox', array( 'title' => __( 'Drawer & Lightbox', 'flatsome-admin' ), 'panel' => 'style', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'flatsome_lightbox_bg', 'label' => __( 'Backdrop color', 'flatsome-admin' ), 'section' => 'lightbox', 'transport' => $transport, 'default' => '', ) ); Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'style_drawer_title', 'label' => '', 'section' => 'lightbox', 'default' => '<div class="options-title-divider" style="margin-bottom:15px">Drawer</div><p>Drawers are special sections that appear over your website. Think of them like sliding panels that can hold menus, filters, shopping carts, or mobile navigation.</p>', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'dimension', 'settings' => 'drawer_width', 'section' => 'lightbox', 'label' => __( 'Drawer width', 'flatsome' ), 'transport' => $transport, 'default' => Flatsome_Default::DRAWER_WIDTH, ) ); Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'style_lightbox_title', 'label' => '', 'section' => 'lightbox', 'default' => '<div class="options-title-divider" style="margin-bottom:15px">Lightbox</div><p>Lightboxes are like pop-up windows that showcase photos or content, making the rest of the website fade into the background.</p>', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'flatsome_lightbox', 'label' => __( 'Use Flatsome lightbox', 'flatsome-admin' ), 'description' => __( 'When enabled, lightbox can be activated per image or gallery. Disable if you experience conflict with other lightbox plugins.', 'flatsome-admin' ), 'section' => 'lightbox', 'default' => 1, ) ); 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, ), ), ) );