• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP porto_vc_animation_type函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中porto_vc_animation_type函数的典型用法代码示例。如果您正苦于以下问题:PHP porto_vc_animation_type函数的具体用法?PHP porto_vc_animation_type怎么用?PHP porto_vc_animation_type使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了porto_vc_animation_type函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: porto_load_products_shortcode

function porto_load_products_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    $order_by_values = porto_vc_woo_order_by();
    $order_way_values = porto_vc_woo_order_way();
    // woocommerce products
    vc_map(array('name' => "Porto " . __('Products', 'js_composer'), 'base' => 'porto_products', 'icon' => 'porto_vc_woocommerce', 'category' => __('WooCommerce', 'js_composer'), 'description' => __('Show multiple products by ID or SKU.', 'js_composer'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'woocommerce'), 'param_name' => 'title', 'admin_label' => true), array('type' => 'dropdown', 'heading' => __('View mode', 'porto'), 'param_name' => 'view', 'value' => porto_vc_commons('products_view_mode'), 'admin_label' => true), array('type' => 'dropdown', 'heading' => __('Columns', 'porto'), 'param_name' => 'columns', 'dependency' => array('element' => 'view', 'value' => array('products-slider', 'grid')), 'std' => '4', 'value' => porto_vc_commons('products_columns')), array('type' => 'dropdown', 'heading' => __('Column Width', 'porto'), 'param_name' => 'column_width', 'dependency' => array('element' => 'view', 'value' => array('products-slider', 'grid')), 'value' => porto_vc_commons('products_column_width')), array('type' => 'dropdown', 'heading' => __('Order by', 'js_composer'), 'param_name' => 'orderby', 'value' => $order_by_values, 'description' => sprintf(__('Select how to sort retrieved products. More at %s.', 'js_composer'), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>')), array('type' => 'dropdown', 'heading' => __('Order way', 'js_composer'), 'param_name' => 'order', 'value' => $order_way_values, 'description' => sprintf(__('Designates the ascending or descending order. More at %s.', 'js_composer'), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>')), array('type' => 'autocomplete', 'heading' => __('Products', 'js_composer'), 'param_name' => 'ids', 'settings' => array('multiple' => true, 'sortable' => true, 'unique_values' => true), 'description' => __('Enter List of Products', 'js_composer')), array('type' => 'hidden', 'param_name' => 'skus'), array('type' => 'dropdown', 'heading' => __('Add Links Position', 'porto'), 'desc' => 'Select position of add to cart, add to wishlist, quickview.', 'param_name' => 'addlinks_pos', 'value' => porto_vc_commons('products_addlinks_pos')), array('type' => 'checkbox', 'heading' => __('Show Navigation', 'porto'), 'param_name' => 'navigation', 'std' => 'yes', 'dependency' => array('element' => 'view', 'value' => array('products-slider')), 'value' => array(__('Yes', 'js_composer') => 'yes')), array('type' => 'checkbox', 'heading' => __('Show Pagination', 'porto'), 'param_name' => 'pagination', 'std' => 'no', 'dependency' => array('element' => 'view', 'value' => array('products-slider')), 'value' => array(__('Yes', 'js_composer') => 'yes')), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    //Filters For autocomplete param:
    //For suggestion: vc_autocomplete_[shortcode_name]_[param_name]_callback
    add_filter('vc_autocomplete_porto_products_ids_callback', 'porto_shortcode_products_ids_callback', 10, 1);
    // Get suggestion(find). Must return an array
    add_filter('vc_autocomplete_porto_products_ids_render', 'porto_shortcode_products_ids_render', 10, 1);
    // Render exact product. Must return an array (label,value)
    //For param: ID default value filter
    add_filter('vc_form_fields_render_field_porto_products_ids_param_value', 'porto_shortcode_products_ids_param_value', 10, 4);
    // Defines default value for param if not provided. Takes from other param value.
    if (!class_exists('WPBakeryShortCode_Porto_Products')) {
        class WPBakeryShortCode_Porto_Products extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:rinodung,项目名称:live-theme,代码行数:25,代码来源:porto_products.php


示例2: porto_load_block_shortcode

function porto_load_block_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Block", 'porto-shortcodes'), "base" => "porto_block", "category" => __("Porto", 'porto-shortcodes'), "icon" => "porto_vc_block", 'weight' => -50, "params" => array(array("type" => "label", "heading" => __("Input block id & slug name", 'porto-shortcodes'), "param_name" => "label"), array("type" => "textfield", "heading" => __("Block ID", 'porto-shortcodes'), "param_name" => "id", "admin_label" => true), array("type" => "textfield", "heading" => __("Block Slug Name", 'porto-shortcodes'), "param_name" => "name", "admin_label" => true), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Block')) {
        class WPBakeryShortCode_Porto_Block extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_block.php


示例3: porto_load_recent_posts_shortcode

function porto_load_recent_posts_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array('name' => "Porto " . __('Recent Posts', 'porto'), 'base' => 'porto_recent_posts', 'category' => __('Porto', 'porto'), 'icon' => 'porto_vc_recent_posts', 'weight' => -50, "params" => array(array("type" => "textfield", "heading" => __("Title", "porto"), "param_name" => "title", "admin_label" => true), array("type" => "textfield", "heading" => __("Posts Count", "porto"), "param_name" => "number", "value" => "8", "admin_label" => true), array("type" => "textfield", "heading" => __("Category IDs", "porto"), "param_name" => "cat", "value" => "", "admin_label" => true), array('type' => 'checkbox', 'heading' => __('Show Post Image', 'porto'), 'param_name' => 'show_image', 'std' => 'yes', 'value' => array(__('Yes', 'js_composer') => 'yes')), array("type" => "textfield", "heading" => __("Items to show on Desktop", "porto"), "param_name" => "items_desktop", "value" => "4"), array("type" => "textfield", "heading" => __("Items to show on Tablets", "porto"), "param_name" => "items_tablets", "value" => "3"), array("type" => "textfield", "heading" => __("Items to show on Mobile", "porto"), "param_name" => "items_mobile", "value" => "2"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Recent_Posts')) {
        class WPBakeryShortCode_Porto_Recent_Posts extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:rinodung,项目名称:live-theme,代码行数:13,代码来源:porto_recent_posts.php


示例4: porto_load_testimonial_shortcode

function porto_load_testimonial_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array('name' => "Porto " . __('Testimonial', 'porto'), 'base' => 'porto_testimonial', 'category' => __('Porto', 'porto'), 'icon' => 'porto_vc_testimonial', 'weight' => -50, 'params' => array(array('type' => 'textfield', 'heading' => __('Name', 'porto'), 'param_name' => 'name', 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Role', 'porto'), 'param_name' => 'role', 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Company', 'porto'), 'param_name' => 'company', 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Author Link', 'porto'), 'param_name' => 'author_url', 'admin_label' => true), array('type' => 'label', 'heading' => __('Input Photo URL or Select Photo.', 'porto'), 'param_name' => 'label'), array('type' => 'textfield', 'heading' => __('Photo URL', 'porto'), 'param_name' => 'photo_url'), array('type' => 'attach_image', 'heading' => __('Photo', 'porto'), 'param_name' => 'photo_id'), array('type' => 'textarea_html', 'holder' => 'blockquote', 'heading' => __('Quote', 'porto'), 'param_name' => 'quote', 'value' => __('<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec hendrerit vehicula est, in consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec hendrerit vehicula est, in consequat.  Donec hendrerit vehicula est, in consequat.  Donec hendrerit vehicula est, in consequat.</p>', 'porto')), array('type' => 'dropdown', 'heading' => __('View Type', 'porto'), 'param_name' => 'view', 'value' => array(__('Default', 'porto') => 'default', __('Simple', 'porto') => 'simple', __('Transparent', 'porto') => 'transparent'), 'admin_label' => true), array('type' => 'dropdown', 'heading' => __('Color Skin', 'porto'), 'param_name' => 'color', 'value' => array(__('Normal', 'porto') => '', __('White', 'porto') => 'white'), 'dependency' => array('element' => 'view', 'value' => array('transparent')), 'admin_label' => true), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Testimonial')) {
        class WPBakeryShortCode_Porto_Testimonial extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:alikagitci,项目名称:honda.yedekleri,代码行数:13,代码来源:porto_testimonial.php


示例5: porto_load_links_block_shortcode

function porto_load_links_block_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Links Block", 'porto-shortcodes'), "base" => "porto_links_block", "category" => __("Porto", 'porto-shortcodes'), "icon" => "porto_vc_links_block", 'is_container' => true, 'weight' => -50, 'js_view' => 'VcColumnView', "as_parent" => array('only' => 'porto_links_item'), "params" => array(array("type" => "textfield", "heading" => __("Title", 'porto-shortcodes'), "param_name" => "title", "value" => "Navigation", "admin_label" => true), array('type' => 'checkbox', 'heading' => __('Show FontAwesome Icon', 'porto-shortcodes'), 'param_name' => 'show_icon', 'value' => array(__('Yes, please', 'js_composer') => 'true'), 'description' => ''), array('type' => 'iconpicker', 'heading' => __('Select FontAwesome Icon', 'porto-shortcodes'), 'param_name' => 'icon', 'dependency' => array('element' => 'show_icon', 'not_empty' => true)), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Links_Block')) {
        class WPBakeryShortCode_Porto_Links_Block extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_links_block.php


示例6: porto_load_links_block_shortcode

function porto_load_links_block_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Links Block", 'porto'), "base" => "porto_links_block", "category" => __("Porto", 'porto'), "icon" => "porto_vc_links_block", 'is_container' => true, 'weight' => -50, 'js_view' => 'VcColumnView', "as_parent" => array('only' => 'porto_links_item'), "params" => array(array("type" => "textfield", "heading" => __("Title", "porto"), "param_name" => "title", "value" => "Navigation", "admin_label" => true), array('type' => 'textfield', 'heading' => __('Font Awesome Icon or Icon Class', 'porto'), 'param_name' => 'icon', 'description' => __('Input font awesome icon or icon class. You can see <a target="_blank" href="http://fortawesome.github.io/Font-Awesome/icons/">Font Awesome Icons in here</a>.', 'porto')), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Links_Block')) {
        class WPBakeryShortCode_Porto_Links_Block extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:alikagitci,项目名称:honda.yedekleri,代码行数:13,代码来源:porto_links_block.php


示例7: porto_load_section_shortcode

function porto_load_section_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Section", 'porto-shortcodes'), "base" => "porto_section", "category" => __("Porto", 'porto-shortcodes'), "icon" => "porto_vc_section", 'is_container' => true, 'weight' => -50, 'js_view' => 'VcColumnView', "params" => array(array("type" => "textfield", "heading" => __("Anchor Name", 'porto-shortcodes'), "param_name" => "anchor", "admin_label" => true), array('type' => 'checkbox', 'heading' => __("Wrap as Container", 'porto-shortcodes'), 'param_name' => 'container', 'std' => 'no', 'value' => array(__('Yes', 'js_composer') => 'yes')), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Section')) {
        class WPBakeryShortCode_Porto_Section extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_section.php


示例8: porto_load_toggles_shortcode

function porto_load_toggles_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Toggles", 'porto-shortcodes'), "base" => "porto_toggles", "category" => __("Porto", 'porto-shortcodes'), "icon" => "porto_vc_toggles", 'is_container' => true, 'weight' => -50, 'js_view' => 'VcColumnView', "as_parent" => array('only' => 'vc_toggle'), "params" => array(array('type' => 'dropdown', 'heading' => __('Type', 'porto-shortcodes'), 'param_name' => 'type', 'value' => porto_vc_commons('toggle_type')), array('type' => 'dropdown', 'heading' => __('Size', 'porto-shortcodes'), 'param_name' => 'size', 'value' => porto_vc_commons('toggle_size')), array('type' => 'checkbox', 'heading' => __('One toggle open at a time', 'porto-shortcodes'), 'param_name' => 'one_toggle', 'value' => array(__('Yes, please', 'js_composer') => 'yes'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Skin Color', 'porto-shortcodes'), 'param_name' => 'skin', 'std' => 'custom', 'value' => porto_vc_commons('colors'), 'admin_label' => true), array('type' => 'colorpicker', 'heading' => __('Color', 'porto-shortcodes'), 'param_name' => 'color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Toggles')) {
        class WPBakeryShortCode_Porto_Toggles extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_toggles.php


示例9: porto_load_testimonial_shortcode

function porto_load_testimonial_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array('name' => "Porto " . __('Testimonial', 'porto-shortcodes'), 'base' => 'porto_testimonial', 'category' => __('Porto', 'porto-shortcodes'), 'icon' => 'porto_vc_testimonial', 'weight' => -50, 'params' => array(array('type' => 'textfield', 'heading' => __('Name', 'porto-shortcodes'), 'param_name' => 'name', 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Role', 'porto-shortcodes'), 'param_name' => 'role', 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Company', 'porto-shortcodes'), 'param_name' => 'company', 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Author Link', 'porto-shortcodes'), 'param_name' => 'author_url', 'admin_label' => true), array('type' => 'label', 'heading' => __('Input Photo URL or Select Photo.', 'porto-shortcodes'), 'param_name' => 'label'), array('type' => 'textfield', 'heading' => __('Photo URL', 'porto-shortcodes'), 'param_name' => 'photo_url'), array('type' => 'attach_image', 'heading' => __('Photo', 'porto-shortcodes'), 'param_name' => 'photo_id'), array('type' => 'textarea_html', 'heading' => __('Quote', 'porto-shortcodes'), 'param_name' => 'content', 'admin_label' => true), array('type' => 'dropdown', 'heading' => __('View Type', 'porto-shortcodes'), 'param_name' => 'view', 'value' => array(__('Default', 'porto-shortcodes') => 'default', __('Simple', 'porto-shortcodes') => 'simple', __('Transparent', 'porto-shortcodes') => 'transparent'), 'admin_label' => true), array('type' => 'dropdown', 'heading' => __('Style Type', 'porto-shortcodes'), 'param_name' => 'style', 'std' => '', 'value' => porto_vc_commons('testimonial_styles'), 'dependency' => array('element' => 'view', 'value' => array('default', 'transparent')), 'admin_label' => true), array('type' => 'dropdown', 'heading' => __('Skin Color', 'porto-shortcodes'), 'param_name' => 'skin', 'std' => 'custom', 'value' => porto_vc_commons('colors'), 'dependency' => array('element' => 'style', 'value' => array('')), 'admin_label' => true), array('type' => 'dropdown', 'heading' => __('Skin Color', 'porto-shortcodes'), 'param_name' => 'color', 'value' => array(__('Normal', 'porto-shortcodes') => '', __('White', 'porto-shortcodes') => 'white'), 'dependency' => array('element' => 'view', 'value' => array('transparent', 'simple'))), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Testimonial')) {
        class WPBakeryShortCode_Porto_Testimonial extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_testimonial.php


示例10: porto_load_concept_shortcode

function porto_load_concept_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Concept", 'porto-shortcodes'), "base" => "porto_concept", "category" => __("Porto", 'porto-shortcodes'), "icon" => "porto_vc_concept", 'weight' => -50, "params" => array(array('type' => 'label', 'heading' => __('Block 1', 'porto-shortcodes') . ": " . __('Input Image URL or Select Image.', 'porto-shortcodes'), 'param_name' => 'label'), array('type' => 'textfield', 'heading' => __('Title', 'porto-shortcodes'), 'param_name' => 'title1'), array('type' => 'textfield', 'heading' => __('Link', 'porto-shortcodes'), 'param_name' => 'link1'), array('type' => 'textfield', 'heading' => __('Image URL', 'porto-shortcodes'), 'param_name' => 'image1_url'), array('type' => 'attach_image', 'heading' => __('Image', 'porto-shortcodes'), 'param_name' => 'image1_id'), array('type' => 'label', 'heading' => __('Block 2', 'porto-shortcodes') . ": " . __('Input Image URL or Select Image.', 'porto-shortcodes'), 'param_name' => 'label'), array('type' => 'textfield', 'heading' => __('Title', 'porto-shortcodes'), 'param_name' => 'title2'), array('type' => 'textfield', 'heading' => __('Link', 'porto-shortcodes'), 'param_name' => 'link2'), array('type' => 'textfield', 'heading' => __('Image URL', 'porto-shortcodes'), 'param_name' => 'image2_url'), array('type' => 'attach_image', 'heading' => __('Image', 'porto-shortcodes'), 'param_name' => 'image2_id'), array('type' => 'label', 'heading' => __('Block 3', 'porto-shortcodes') . ": " . __('Input Image URL or Select Image.', 'porto-shortcodes'), 'param_name' => 'label'), array('type' => 'textfield', 'heading' => __('Title', 'porto-shortcodes'), 'param_name' => 'title3'), array('type' => 'textfield', 'heading' => __('Link', 'porto-shortcodes'), 'param_name' => 'link3'), array('type' => 'textfield', 'heading' => __('Image URL', 'porto-shortcodes'), 'param_name' => 'image3_url'), array('type' => 'attach_image', 'heading' => __('Image', 'porto-shortcodes'), 'param_name' => 'image3_id'), array('type' => 'label', 'heading' => __('Slideshow Block', 'porto-shortcodes') . ": " . __('Input Image URL or Select Image.', 'porto-shortcodes'), 'param_name' => 'label'), array('type' => 'textfield', 'heading' => __('Title', 'porto-shortcodes'), 'param_name' => 'title4'), array('type' => 'textfield', 'heading' => __('Slide #1 Link', 'porto-shortcodes'), 'param_name' => 'slide_link1'), array('type' => 'textfield', 'heading' => __('Slide #1 Image URL', 'porto-shortcodes'), 'param_name' => 'slide_image1_url'), array('type' => 'attach_image', 'heading' => __('Slide #1 Image', 'porto-shortcodes'), 'param_name' => 'slide_image1_id'), array('type' => 'textfield', 'heading' => __('Slide #2 Link', 'porto-shortcodes'), 'param_name' => 'slide_link2'), array('type' => 'textfield', 'heading' => __('Slide #2 Image URL', 'porto-shortcodes'), 'param_name' => 'slide_image2_url'), array('type' => 'attach_image', 'heading' => __('Slide #2 Image', 'porto-shortcodes'), 'param_name' => 'slide_image2_id'), array('type' => 'textfield', 'heading' => __('Slide #3 Link', 'porto-shortcodes'), 'param_name' => 'slide_link3'), array('type' => 'textfield', 'heading' => __('Slide #3 Image URL', 'porto-shortcodes'), 'param_name' => 'slide_image3_url'), array('type' => 'attach_image', 'heading' => __('Slide #3 Image', 'porto-shortcodes'), 'param_name' => 'slide_image3_id'), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Concept')) {
        class WPBakeryShortCode_Porto_Concept extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_concept.php


示例11: porto_load_faqs_shortcode

function porto_load_faqs_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array('name' => "Porto " . __('FAQs', 'porto'), 'base' => 'porto_faqs', 'category' => __('Porto', 'porto'), 'icon' => 'porto_vc_faqs', 'weight' => -50, "params" => array(array("type" => "textfield", "heading" => __("Title", "porto"), "param_name" => "title", "admin_label" => true), array("type" => "textfield", "heading" => __("Category IDs", "porto"), "description" => __("comma separated list of category ids", "porto"), "param_name" => "cat", "admin_label" => true), array("type" => "textfield", "heading" => __("FAQ IDs", "porto"), "description" => __("comma separated list of faq ids", "porto"), "param_name" => "post_in"), array("type" => "textfield", "heading" => __("FAQs Count", "porto"), "param_name" => "number", "value" => '8'), array('type' => 'checkbox', 'heading' => __("Show View More", "porto"), 'param_name' => 'view_more', 'std' => 'no', 'value' => array(__('Yes', 'js_composer') => 'yes')), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Faqs')) {
        class WPBakeryShortCode_Porto_Faqs extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:alikagitci,项目名称:honda.yedekleri,代码行数:13,代码来源:porto_faqs.php


示例12: porto_load_grid_container_shortcode

function porto_load_grid_container_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Grid Container", 'porto'), "base" => "porto_grid_container", "category" => __("Porto", 'porto'), "icon" => "porto_vc_grid_container", 'is_container' => true, 'weight' => -50, 'js_view' => 'VcColumnView', "as_parent" => array('only' => 'porto_grid_item'), "params" => array(array("type" => "textfield", "heading" => __("Gutter Size", "porto"), "param_name" => "gutter_size", "value" => "2%"), array("type" => "textfield", "heading" => __("Grid Min Size", "porto"), "param_name" => "grid_size", "value" => "0"), array("type" => "textfield", "heading" => __("Max Width", "porto"), "param_name" => "max_width", "description" => "Will be show as grid only when window width > max width.", "value" => "767px"), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Grid_Container')) {
        class WPBakeryShortCode_Porto_Grid_Container extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:alikagitci,项目名称:honda.yedekleri,代码行数:13,代码来源:porto_grid_container.php


示例13: porto_load_map_section_shortcode

function porto_load_map_section_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Map Section", 'porto-shortcodes'), "base" => "porto_map_section", "category" => __("Porto", 'porto-shortcodes'), "icon" => "porto_vc_map_section", 'is_container' => true, 'weight' => -50, "show_settings_on_create" => false, 'js_view' => 'VcColumnView', "params" => array(array('type' => 'checkbox', 'heading' => __("Wrap as Container", 'porto-shortcodes'), 'param_name' => 'container', 'std' => 'no', 'value' => array(__('Yes', 'js_composer') => 'yes')), array('type' => 'checkbox', 'heading' => __("Change Map Image", 'porto-shortcodes'), 'param_name' => 'customize', 'value' => array(__('Yes', 'js_composer') => 'yes')), array('type' => 'attach_image', 'heading' => __('Map Image', 'porto-shortcodes'), 'param_name' => 'image', 'dependency' => array('element' => 'customize', 'not_empty' => true)), array('type' => 'textfield', 'heading' => __('Image Gap (unit: px)', 'porto-shortcodes'), 'std' => '164', 'param_name' => 'gap', 'dependency' => array('element' => 'customize', 'not_empty' => true)), array('type' => 'textfield', 'heading' => __('Content Min Height (unit: px)', 'porto-shortcodes'), 'param_name' => 'min_height', 'std' => '400', 'dependency' => array('element' => 'customize', 'not_empty' => true)), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Map_Section')) {
        class WPBakeryShortCode_Porto_Map_Section extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_map_section.php


示例14: porto_load_content_box_shortcode

function porto_load_content_box_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Content Box", 'porto'), "base" => "porto_content_box", "category" => __("Porto", 'porto'), "icon" => "porto_vc_content_box", 'is_container' => true, 'weight' => -50, "show_settings_on_create" => false, 'js_view' => 'VcColumnView', "params" => array(array('type' => 'colorpicker', 'heading' => __('Border Top Color', 'porto'), 'param_name' => 'border_top_color', 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Border Radius', 'porto'), 'param_name' => 'border_radius', 'description' => __('Enter the border radius in px.', 'porto')), array('type' => 'textfield', 'heading' => __('Border Top Width', 'porto'), 'param_name' => 'border_top_width', 'description' => __('Enter the border top width in px.', 'porto')), array('type' => 'colorpicker', 'heading' => __('Background Gradient Top Color', 'porto'), 'param_name' => 'bg_top_color'), array('type' => 'colorpicker', 'heading' => __('Background Gradient Bottom Color', 'porto'), 'param_name' => 'bg_bottom_color'), array("type" => "dropdown", "heading" => __("Text Align", "porto"), "param_name" => "align", "value" => porto_vc_commons('align')), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Content_Box')) {
        class WPBakeryShortCode_Porto_Content_Box extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:rinodung,项目名称:live-theme,代码行数:13,代码来源:porto_content_box.php


示例15: porto_load_portfolios_shortcode

function porto_load_portfolios_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array('name' => "Porto " . __('Portfolios', 'porto-shortcodes'), 'base' => 'porto_portfolios', 'category' => __('Porto', 'porto-shortcodes'), 'icon' => 'porto_vc_portfolios', 'weight' => -50, "params" => array(array("type" => "textfield", "heading" => __("Title", 'porto-shortcodes'), "param_name" => "title", "admin_label" => true), array("type" => "dropdown", "heading" => __("Portfolio Layout", 'porto-shortcodes'), "param_name" => "portfolio_layout", 'std' => 'timeline', "value" => porto_vc_commons('portfolio_layout'), "admin_label" => true), array("type" => "dropdown", "heading" => __("View Type", 'porto-shortcodes'), "param_name" => "view", 'dependency' => array('element' => 'portfolio_layout', 'value' => array('grid')), 'std' => '', "value" => porto_vc_commons('portfolio_grid_view')), array("type" => "dropdown", "heading" => __("Columns", 'porto-shortcodes'), "param_name" => "columns", 'dependency' => array('element' => 'portfolio_layout', 'value' => array('grid')), 'std' => '3', "value" => porto_vc_commons('portfolio_grid_columns')), array("type" => "textfield", "heading" => __("Category IDs", 'porto-shortcodes'), "description" => __("comma separated list of category ids", 'porto-shortcodes'), "param_name" => "cats", "admin_label" => true), array("type" => "textfield", "heading" => __("Portfolio IDs", 'porto-shortcodes'), "description" => __("comma separated list of portfolio ids", 'porto-shortcodes'), "param_name" => "post_in"), array("type" => "textfield", "heading" => __("Portfolios Count", 'porto-shortcodes'), "param_name" => "number", "value" => '8'), array('type' => 'checkbox', 'heading' => __("Show View More", 'porto-shortcodes'), 'param_name' => 'view_more', 'std' => 'no', 'value' => array(__('Yes', 'js_composer') => 'yes')), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Portfolios')) {
        class WPBakeryShortCode_Porto_Portfolios extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_portfolios.php


示例16: porto_load_animation_shortcode

function porto_load_animation_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Animation", 'porto'), "base" => "porto_animation", "category" => __("Porto", 'porto'), "icon" => "porto_vc_animation", 'is_container' => true, 'weight' => -50, "show_settings_on_create" => false, 'js_view' => 'VcColumnView', "params" => array($animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Animation')) {
        class WPBakeryShortCode_Porto_Animation extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:rinodung,项目名称:live-theme,代码行数:13,代码来源:porto_animation.php


示例17: porto_load_content_box_shortcode

function porto_load_content_box_shortcode()
{
    $animation_type = porto_vc_animation_type();
    $animation_duration = porto_vc_animation_duration();
    $animation_delay = porto_vc_animation_delay();
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Content Box", 'porto-shortcodes'), "base" => "porto_content_box", "category" => __("Porto", 'porto-shortcodes'), "icon" => "porto_vc_content_box", 'is_container' => true, 'weight' => -50, 'js_view' => 'VcColumnView', "params" => array(array('type' => 'dropdown', 'heading' => __('Skin Color', 'porto-shortcodes'), 'param_name' => 'skin', 'std' => 'custom', 'value' => porto_vc_commons('colors'), 'admin_label' => true), array('type' => 'colorpicker', 'heading' => __('Border Top Color', 'porto-shortcodes'), 'param_name' => 'border_top_color', 'dependency' => array('element' => 'skin', 'value' => array('custom')), 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Border Radius', 'porto-shortcodes'), 'param_name' => 'border_radius', 'description' => __('Enter the border radius in px.', 'porto-shortcodes'), 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'textfield', 'heading' => __('Border Top Width', 'porto-shortcodes'), 'param_name' => 'border_top_width', 'description' => __('Enter the border top width in px.', 'porto-shortcodes'), 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'dropdown', 'heading' => __('Background Type', 'porto-shortcodes'), 'param_name' => 'bg_type', 'value' => porto_vc_commons('content_boxes_bg_type'), 'admin_label' => true), array('type' => 'colorpicker', 'heading' => __('Background Gradient Top Color', 'porto-shortcodes'), 'param_name' => 'bg_top_color', 'dependency' => array('element' => 'bg_type', 'value' => array('featured-boxes-custom'))), array('type' => 'colorpicker', 'heading' => __('Background Gradient Bottom Color', 'porto-shortcodes'), 'param_name' => 'bg_bottom_color', 'dependency' => array('element' => 'bg_type', 'value' => array('featured-boxes-custom'))), array("type" => "dropdown", "heading" => __("Text Align", 'porto-shortcodes'), "param_name" => "align", "value" => porto_vc_commons('align')), array('type' => 'dropdown', 'heading' => __('Style', 'porto-shortcodes'), 'param_name' => 'box_style', 'value' => porto_vc_commons('content_boxes_style'), 'admin_label' => true), array('type' => 'dropdown', 'heading' => __('Effect', 'porto-shortcodes'), 'param_name' => 'box_effect', 'value' => porto_vc_commons('content_box_effect'), 'admin_label' => true), array('type' => 'checkbox', 'heading' => __('Show FontAwesome Icon', 'porto-shortcodes'), 'param_name' => 'show_icon', 'value' => array(__('Yes, please', 'js_composer') => 'yes'), 'description' => ''), array('type' => 'iconpicker', 'heading' => __('Select FontAwesome Icon', 'porto-shortcodes'), 'param_name' => 'icon', 'dependency' => array('element' => 'show_icon', 'not_empty' => true)), array('type' => 'colorpicker', 'heading' => __('Icon Color', 'porto-shortcodes'), 'param_name' => 'icon_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'colorpicker', 'heading' => __('Icon Background Color', 'porto-shortcodes'), 'param_name' => 'icon_bg_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'colorpicker', 'heading' => __('Icon Border Color', 'porto-shortcodes'), 'param_name' => 'icon_border_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'colorpicker', 'heading' => __('Icon Wrap Border Color', 'porto-shortcodes'), 'param_name' => 'icon_wrap_border_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'colorpicker', 'heading' => __('Icon Box Shadow Color', 'porto-shortcodes'), 'param_name' => 'icon_shadow_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' =& 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP porto_vc_commons函数代码示例发布时间:2022-05-15
下一篇:
PHP porto_vc_animation_duration函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap