0byt3m1n1
Path:
/
var
/
www
/
clients
/
client38
/
web37
/
web
/
wp-content
/
plugins
/
us-core
/
config
/
elements
/
[
Home
]
File: ibanner.php
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Configuration for shortcode: ibanner */ $misc = us_config( 'elements_misc' ); $design_options_params = us_config( 'elements_design_options' ); /** * @return array */ return array( 'title' => __( 'Interactive Banner', 'us' ), 'description' => __( 'Image and text with hover effect', 'us' ), 'category' => __( 'Interactive', 'us' ), 'icon' => 'fas fa-camera-retro', 'params' => us_set_params_weight( // General section array( 'image' => array( 'title' => us_translate( 'Image' ), 'type' => 'upload', 'extension' => 'png,jpg,jpeg,gif,svg', 'cols' => 2, 'usb_preview' => TRUE, ), 'size' => array( 'title' => __( 'Image Size', 'us' ), 'description' => $misc['desc_img_sizes'], 'type' => 'select', 'options' => us_get_image_sizes_list(), 'std' => 'large', 'cols' => 2, 'usb_preview' => TRUE, ), 'title' => array( 'title' => us_translate( 'Title' ), 'type' => 'text', 'std' => us_translate( 'Title' ), 'admin_label' => TRUE, 'usb_preview' => array( 'attr' => 'text', 'elm' => '.w-ibanner-title', ), ), 'title_size' => array( 'title' => __( 'Title Size', 'us' ), 'description' => $misc['desc_font_size'], 'type' => 'text', 'std' => '', 'cols' => 2, 'show_if' => array( 'title', '!=', '' ), 'usb_preview' => array( 'css' => 'font-size', 'elm' => '.w-ibanner-title', ), ), 'title_tag' => array( 'title' => __( 'Title HTML tag', 'us' ), 'type' => 'select', 'options' => $misc['html_tag_values'], 'std' => 'h2', 'cols' => 2, 'show_if' => array( 'title', '!=', '' ), 'usb_preview' => array( 'attr' => 'tag', 'elm' => '.w-ibanner-title', ), ), 'desc' => array( 'title' => us_translate( 'Description' ), 'type' => 'textarea', 'std' => '', 'usb_preview' => array( 'attr' => 'html', 'elm' => '.w-ibanner-desc', ), ), 'link' => array( 'title' => us_translate( 'Link' ), 'type' => 'link', 'std' => '', 'usb_preview' => TRUE, ), ), // Appearance section array( 'ratio' => array( 'title' => __( 'Aspect Ratio', 'us' ), 'type' => 'select', 'options' => array( '1x1' => '1x1 ' . __( 'square', 'us' ), '2x1' => '2x1 ' . __( 'landscape', 'us' ), '3x2' => '3x2 ' . __( 'landscape', 'us' ), '4x3' => '4x3 ' . __( 'landscape', 'us' ), '3x4' => '3x4 ' . __( 'portrait', 'us' ), '2x3' => '2x3 ' . __( 'portrait', 'us' ), '1x2' => '1x2 ' . __( 'portrait', 'us' ), ), 'std' => '1x1', 'group' => us_translate( 'Appearance' ), 'usb_preview' => array( 'mod' => 'ratio', ), ), 'animation' => array( 'title' => __( 'Animation Type', 'us' ), 'type' => 'select', 'options' => array( 'melete' => 'Melete', 'soter' => 'Soter', 'phorcys' => 'Phorcys', 'aidos' => 'Aidos', 'caeros' => 'Caeros', 'hebe' => 'Hebe', 'aphelia' => 'Aphelia', 'nike' => 'Nike', ), 'std' => 'melete', 'cols' => 2, 'group' => us_translate( 'Appearance' ), 'usb_preview' => array( 'mod' => 'animation', ), ), 'easing' => array( 'title' => __( 'Animation Easing', 'us' ), 'type' => 'select', 'options' => array( 'ease' => 'ease', 'easeInOutExpo' => 'easeInOutExpo', 'easeInOutCirc' => 'easeInOutCirc', ), 'std' => 'ease', 'cols' => 2, 'group' => us_translate( 'Appearance' ), 'usb_preview' => array( 'mod' => 'easing', ), ), ), $design_options_params ), 'fallback_params' => array( 'align', ), );