Server IP : 172.67.158.161 / Your IP : 3.12.148.154 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 : /home/giankuin/bnnagency.com/wp-content/themes/flatsome/inc/builder/shortcodes/ |
Upload File : |
<?php add_ux_builder_shortcode( 'video_button', array( 'name' => __( 'Video Button' ), 'category' => __( 'Content' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'play' ), 'options' => array( 'video' => array( 'type' => 'textfield', 'heading' => 'Video', 'description' => 'Enter a Youtube or Vimeo video here. Video will open in a lightbox. Example: https://www.youtube.com/watch?v=AoPiLg8DZ3A', ), 'size' => array( 'type' => 'slider', 'heading' => __('Size'), 'unit' => '%', 'default' => '100', 'max' => '500', 'min' => '0', 'on_change' => array( 'selector' => '.video-button-wrapper', 'style' => 'font-size: {{ value }}%' ) ), ) ) );