PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wpnull24
/
framework
/
config
/
elements
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); global $us_template_directory_uri; $body_fontsize = us_get_option( 'body_fontsize', '16px' ); $misc = us_config( 'elements_misc' ); $design_options = us_config( 'elements_design_options' ); $hover_options = us_config( 'elements_hover_options' ); return array( 'title' => __( 'Button', 'us' ), 'icon' => 'icon-wpb-ui-button', 'admin_enqueue_js' => $us_template_directory_uri . '/framework/plugins-support/js_composer/js/us_icon_view.js', 'js_view' => 'ViewUsIcon', 'params' => array_merge( array( // General 'label' => array( 'title' => __( 'Button Label', 'us' ), 'type' => 'text', 'std' => __( 'Click Me', 'us' ), 'holder' => 'button', ), 'link_type' => array( 'title' => us_translate( 'Link' ), 'type' => 'radio', 'options' => array( 'post' => __( 'To a Post', 'us' ), 'custom' => __( 'Custom', 'us' ), ), 'std' => 'post', 'context' => array( 'grid' ), ), 'link' => array( 'header_title' => us_translate( 'Link' ), 'shortcode_title' => us_translate( 'Link' ), 'placeholder' => us_translate( 'Enter the URL' ), 'grid_description' => $misc['desc_grid_custom_link'], 'type' => 'link', 'std' => array(), 'shortcode_std' => '', 'grid_classes' => 'desc_3', 'grid_show_if' => array( 'link_type', '=', 'custom' ), ), 'style' => array( 'title' => us_translate( 'Style' ), 'description' => $misc['desc_btn_styles'], 'type' => 'select', 'options' => us_get_btn_styles(), 'std' => '1', ), 'font_size' => array( 'title' => us_translate( 'Size' ), 'description' => $misc['desc_font_size'], 'placeholder' => $body_fontsize, 'type' => 'text', 'cols' => 2, 'header_cols' => 3, 'std' => $body_fontsize, ), 'font_size_tablets' => array( 'title' => __( 'Size on Tablets', 'us' ), 'description' => $misc['desc_font_size'], 'type' => 'text', 'std' => '', 'cols' => 3, 'context' => array( 'header' ), ), 'font_size_mobiles' => array( 'title' => __( 'Size on Mobiles', 'us' ), 'description' => $misc['desc_font_size'], 'type' => 'text', 'std' => '', 'cols' => 2, 'header_cols' => 3, ), 'width_type' => array( 'title' => us_translate( 'Width' ), 'type' => 'select', 'options' => array( 'auto' => us_translate( 'Auto' ), 'full' => __( 'Stretch to the full width', 'us' ), 'custom' => __( 'Set a width', 'us' ), 'max' => __( 'Set a maximum width', 'us' ), ), 'std' => 'auto', 'context' => array( 'shortcode' ), ), 'custom_width' => array( 'description' => $misc['desc_width'], 'type' => 'text', 'std' => '200px', 'show_if' => array( 'width_type', '=', array( 'custom', 'max' ) ), 'context' => array( 'shortcode' ), ), 'align' => array( 'title' => __( 'Button Position', 'us' ), 'type' => 'select', 'options' => array( 'left' => us_translate( 'Left' ), 'center' => us_translate( 'Center' ), 'right' => us_translate( 'Right' ), ), 'std' => 'left', 'show_if' => array( 'width_type', '=', array( 'auto', 'custom', 'max' ) ), 'context' => array( 'shortcode' ), ), // Icon 'icon' => array( 'title' => __( 'Icon', 'us' ), 'type' => 'icon', 'std' => '', 'group' => __( 'Icon', 'us' ), ), 'iconpos' => array( 'title' => __( 'Icon Position', 'us' ), 'type' => 'radio', 'options' => array( 'left' => us_translate( 'Left' ), 'right' => us_translate( 'Right' ), ), 'std' => 'left', 'group' => __( 'Icon', 'us' ), ), ), $design_options, $hover_options ), );
[+]
..
[-] hwrapper.php
[edit]
[-] gmaps.php
[edit]
[-] dropdown.php
[edit]
[-] search.php
[edit]
[-] page_title.php
[edit]
[-] post_title.php
[edit]
[-] pricing.php
[edit]
[-] carousel.php
[edit]
[-] grid.php
[edit]
[-] add_to_cart.php
[edit]
[-] iconbox.php
[edit]
[-] cform.php
[edit]
[-] image_slider.php
[edit]
[-] additional_menu.php
[edit]
[-] .elements.php
[edit]
[-] product_field.php
[edit]
[-] scroller.php
[edit]
[-] post_comments.php
[edit]
[-] product_ordering.php
[edit]
[-] post_taxonomy.php
[edit]
[-] counter.php
[edit]
[-] itext.php
[edit]
[-] html.php
[edit]
[-] vwrapper.php
[edit]
[-] text.php
[edit]
[-] post_custom_field.php
[edit]
[-] sharing.php
[edit]
[-] page_block.php
[edit]
[-] menu.php
[edit]
[-] flipbox.php
[edit]
[-] popup.php
[edit]
[-] post_author.php
[edit]
[-] socials.php
[edit]
[-] post_date.php
[edit]
[-] btn.php
[edit]
[-] post_image.php
[edit]
[-] message.php
[edit]
[-] breadcrumbs.php
[edit]
[-] progbar.php
[edit]
[-] cta.php
[edit]
[-] post_content.php
[edit]
[-] _example.php
[edit]
[-] post_navigation.php
[edit]
[-] image.php
[edit]
[-] separator.php
[edit]
[-] product_gallery.php
[edit]
[-] contacts.php
[edit]
[-] cart.php
[edit]
[-] person.php
[edit]