当前位置: 首页>>代码示例>>PHP>>正文


PHP porto_vc_custom_class函数代码示例

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


在下文中一共展示了porto_vc_custom_class函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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_grid_item_shortcode

function porto_load_grid_item_shortcode()
{
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => "Porto " . __("Grid Item", 'porto'), "base" => "porto_grid_item", "category" => __("Porto", 'porto'), "icon" => "porto_vc_grid_item", 'is_container' => true, 'weight' => -50, 'js_view' => 'VcColumnView', "as_child" => array('only' => 'porto_grid_container'), "params" => array(array("type" => "textfield", "heading" => __("Width", "porto"), "param_name" => "width", "value" => ""), $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Grid_Item')) {
        class WPBakeryShortCode_Porto_Grid_Item extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:rinodung,项目名称:live-theme,代码行数:10,代码来源:porto_grid_item.php

示例3: porto_load_links_item_shortcode

function porto_load_links_item_shortcode()
{
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => __("Links Item", 'porto-shortcodes'), "base" => "porto_links_item", "category" => __("Porto", 'porto-shortcodes'), "icon" => "porto_vc_links_item", 'weight' => -50, "as_child" => array('only' => 'porto_links_block'), "params" => array(array("type" => "textfield", "heading" => __("Label", 'porto-shortcodes'), "param_name" => "label", "value" => "", "admin_label" => true), array("type" => "textfield", "heading" => __("Link", 'porto-shortcodes'), "param_name" => "link", "value" => ""), 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)), $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Links_Item')) {
        class WPBakeryShortCode_Porto_Links_Item extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:10,代码来源:porto_links_item.php

示例4: porto_load_links_item_shortcode

function porto_load_links_item_shortcode()
{
    $custom_class = porto_vc_custom_class();
    vc_map(array("name" => __("Links Item", 'porto'), "base" => "porto_links_item", "category" => __("Porto", 'porto'), "icon" => "porto_vc_links_item", 'weight' => -50, "as_child" => array('only' => 'porto_links_block'), "params" => array(array("type" => "textfield", "heading" => __("Label", "porto"), "param_name" => "label", "value" => "", "admin_label" => true), array("type" => "textfield", "heading" => __("Link", "porto"), "param_name" => "link", "value" => ""), 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')), $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Links_Item')) {
        class WPBakeryShortCode_Porto_Links_Item extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:alikagitci,项目名称:honda.yedekleri,代码行数:10,代码来源:porto_links_item.php

示例5: 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' => 'colorpicker', 'heading' => __('Icon Hover Color', 'porto-shortcodes'), 'param_name' => 'icon_hcolor', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'colorpicker', 'heading' => __('Icon Hover Background Color', 'porto-shortcodes'), 'param_name' => 'icon_hbg_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'colorpicker', 'heading' => __('Icon Hover Border Color', 'porto-shortcodes'), 'param_name' => 'icon_hborder_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'colorpicker', 'heading' => __('Icon Wrap Hover Border Color', 'porto-shortcodes'), 'param_name' => 'icon_wrap_hborder_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), array('type' => 'colorpicker', 'heading' => __('Icon Hover Box Shadow Color', 'porto-shortcodes'), 'param_name' => 'icon_hshadow_color', 'dependency' => array('element' => 'skin', 'value' => array('custom'))), $animation_type, $animation_duration, $animation_delay, $custom_class)));
    if (!class_exists('WPBakeryShortCode_Porto_Content_Box')) {
        class WPBakeryShortCode_Porto_Content_Box extends WPBakeryShortCodesContainer
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_content_box.php

示例6: porto_load_blockquote_shortcode

function porto_load_blockquote_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 " . __('Blockquote', 'porto-shortcodes'), 'base' => 'porto_blockquote', 'category' => __('Porto', 'porto-shortcodes'), 'icon' => 'porto_vc_blockquote', 'weight' => -50, 'params' => array(array('type' => 'textarea_html', 'heading' => __('Quote', 'porto-shortcodes'), 'param_name' => 'content', 'admin_label' => true), array('type' => 'textfield', 'heading' => __('Footer Text 1', 'porto-shortcodes'), 'param_name' => 'footer_before'), array('type' => 'textfield', 'heading' => __('Footer Text 2', 'porto-shortcodes'), 'param_name' => 'footer_after'), array('type' => 'dropdown', 'heading' => __('View Type', 'porto-shortcodes'), 'param_name' => 'view', 'value' => array(__('Default', 'porto-shortcodes') => '', __('With Borders', 'porto-shortcodes') => 'with-borders')), array('type' => 'dropdown', 'heading' => __('Direction', 'porto-shortcodes'), 'param_name' => 'dir', 'value' => array(__('Default', 'porto-shortcodes') => '', __('Reverse', 'porto-shortcodes') => 'blockquote-reverse')), array('type' => 'dropdown', 'heading' => __('Skin Color', 'porto-shortcodes'), 'param_name' => 'skin', 'std' => 'custom', 'value' => porto_vc_commons('colors'), 'dependency' => array('element' => 'view', 'value' => array(''))), array('type' => 'colorpicker', 'heading' => __('Border 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_Blockquote')) {
        class WPBakeryShortCode_Porto_Blockquote extends WPBakeryShortCode
        {
        }
    }
}
开发者ID:prosenjit-itobuz,项目名称:Unitee,代码行数:13,代码来源:porto_blockquote.php

示例7: 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

示例8: 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

示例9: 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

示例10: 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

示例11: 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

示例12: 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

示例13: 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

示例14: 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

示例15: 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


注:本文中的porto_vc_custom_class函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。