function qode_admin_map_init()
{
    global $qode_options_proya;
    global $qodeFramework;
    global $options_fontstyle;
    global $options_fontweight;
    global $options_texttransform;
    global $options_fontdecoration;
    require_once "10.general/map.php";
    require_once "20.logo/map.php";
    require_once "30.header/map.php";
    require_once "40.footer/map.php";
    require_once "50.title/map.php";
    require_once "60.fonts/map.php";
    require_once "70.elements/map.php";
    require_once "75.slider/map.php";
    require_once "80.blog/map.php";
    require_once "90.portfolio/map.php";
    require_once "95.verticalsplitslider/map.php";
    require_once "100.social/map.php";
    require_once "110.error404/map.php";
    require_once "120.contact/map.php";
    require_once "130.parallax/map.php";
    require_once "140.contentbottom/map.php";
    if (qode_visual_composer_installed() && version_compare(qode_get_vc_version(), '4.4.2') >= 0) {
        require_once "144.visualcomposer/map.php";
    } else {
        $qodeFramework->qodeOptions->addOption("enable_grid_elements", "no");
    }
    if (qode_contact_form_7_installed()) {
        require_once "145.contactform7/map.php";
    }
    require_once "146.maintenance/map.php";
    require_once "150.reset/map.php";
}
Example #2
0
function qode_admin_map_init()
{
    global $qode_options;
    global $qodeFramework;
    global $options_fontstyle;
    global $options_fontweight;
    global $options_texttransform;
    global $options_fontdecoration;
    require_once "10.general/map.php";
    require_once "20.logo/map.php";
    require_once "30.header/map.php";
    require_once "40.footer/map.php";
    require_once "50.title/map.php";
    require_once "60.fonts/map.php";
    require_once "70.elements/map.php";
    require_once "75.sidebar/map.php";
    require_once "80.blog/map.php";
    require_once "90.portfolio/map.php";
    require_once "95.slider/map.php";
    require_once "100.social/map.php";
    require_once "110.error404/map.php";
    require_once "120.contact/map.php";
    require_once "130.parallax/map.php";
    require_once "140.contentbottom/map.php";
    if (qode_visual_composer_installed() && version_compare(qode_get_vc_version(), '4.4.2') >= 0) {
        require_once "144.visualcomposer/map.php";
    } else {
        $qodeFramework->qodeOptions->addOption("enable_grid_elements", "no");
    }
    if (function_exists("is_woocommerce")) {
        require_once "150.woocommerce/map.php";
    }
    if (class_exists('GFForms')) {
        require_once "170.gravityforms/map.php";
    }
    require_once "160.reset/map.php";
}
Example #3
0
<?php

// Code in else part is because of compatibility for older versions of VC.
if (version_compare(qode_get_vc_version(), '4.7.4') >= 0) {
    /**
     * Shortcode attributes
     * @var $atts
     * @var $title
     * @var $source
     * @var $type
     * @var $onclick
     * @var $custom_links
     * @var $custom_links_target
     * @var $img_size
     * @var $external_img_size
     * @var $images
     * @var $custom_srcs
     * @var $el_class
     * @var $interval
     * @var $css
     * Shortcode class
     * @var $this WPBakeryShortCode_VC_gallery
     */
    $title = $source = $type = $onclick = $custom_links = $custom_links_target = $img_size = $external_img_size = $images = $custom_srcs = $el_class = $interval = $css = '';
    $large_img_src = '';
    $attributes = vc_map_get_attributes($this->getShortcode(), $atts);
    extract($attributes);
    $default_src = vc_asset_url('vc/no_image.png');
    $gal_images = '';
    $link_start = '';
    $link_end = '';
Example #4
0
}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map(array("name" => __('Left Sliding Panel', 'qode'), "base" => "qode_vertical_left_sliding_panel", "as_parent" => array('only' => 'qode_vertical_slide_content_item'), "as_child" => array('only' => 'qode_vertical_split_slider'), "content_element" => true, "category" => 'by QODE', "icon" => "icon-wpb-qode_elements_holder_item", "show_settings_on_create" => false, "params" => array(), "js_view" => 'VcColumnView'));
class WPBakeryShortCode_Qode_Vertical_Right_Sliding_Panel extends WPBakeryShortCodesContainer
{
}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map(array("name" => __('Right Sliding Panel', 'qode'), "base" => "qode_vertical_right_sliding_panel", "as_parent" => array('only' => 'qode_vertical_slide_content_item'), "as_child" => array('only' => 'qode_vertical_split_slider'), "content_element" => true, "category" => 'by QODE', "icon" => "icon-wpb-qode_elements_holder_item", "show_settings_on_create" => false, "params" => array(), "js_view" => 'VcColumnView'));
class WPBakeryShortCode_Qode_Vertical_Slide_Content_Item extends WPBakeryShortCodesContainer
{
}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map(array("name" => __('Slide Content Item', 'qode'), "base" => "qode_vertical_slide_content_item", "as_parent" => array('except' => 'vc_row, vc_tabs, vc_accordion, cover_boxes, portfolio_list, portfolio_slider, qode_carousel'), "as_child" => array('only' => 'qode_vertical_left_sliding_panel, qode_vertical_right_sliding_panel'), "content_element" => true, "category" => 'by QODE', "icon" => "icon-wpb-qode_elements_holder_item", "show_settings_on_create" => true, "js_view" => 'VcColumnView', "params" => array(array("type" => "colorpicker", "holder" => "div", "class" => "", "heading" => "Background Color", "param_name" => "background_color", "value" => "", "description" => ""), array("type" => "attach_image", "holder" => "div", "class" => "", "heading" => "Background Image", "param_name" => "background_image", "value" => "", "description" => ""), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "Padding left/right", "param_name" => "item_padding", "value" => "", "description" => "Please insert padding in format '10px'"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => "Content Aligment", "param_name" => "aligment", "value" => array("left" => "left", "right" => "right", "center" => "center"), "description" => ""))));
/***************** Woocommerce Shortcodes *********************/
//
if (function_exists("is_woocommerce") && version_compare(qode_get_vc_version(), '4.4.2') < 0) {
    /**** Order Tracking ***/
    vc_map(array("name" => "Order Tracking", "base" => "woocommerce_order_tracking", "icon" => "icon-wpb-woocommerce_order_tracking", "category" => 'Woocommerce', "allowed_container_element" => 'vc_row', "show_settings_on_create" => false));
    /*** Product price/cart button ***/
    vc_map(array("name" => "Product price/cart button", "base" => "add_to_cart", "icon" => "icon-wpb-add_to_cart", "category" => 'Woocommerce', "allowed_container_element" => 'vc_row', "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "ID", "param_name" => "id", "description" => ""), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "SKU", "param_name" => "sku", "description" => ""))));
    /*** Product by SKU/ID ***/
    vc_map(array("name" => "Product by SKU/ID", "base" => "product", "icon" => "icon-wpb-product", "category" => 'Woocommerce', "allowed_container_element" => 'vc_row', "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "ID", "param_name" => "id", "description" => ""), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "SKU", "param_name" => "sku", "description" => ""))));
    /*** Products by SKU/ID ***/
    vc_map(array("name" => "Products by SKU/ID", "base" => "products", "icon" => "icon-wpb-products", "category" => 'Woocommerce', "allowed_container_element" => 'vc_row', "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "IDS", "param_name" => "ids", "description" => ""), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "SKUS", "param_name" => "skus", "description" => ""))));
    /*** Product categories ***/
    vc_map(array("name" => "Product categories", "base" => "product_categories", "icon" => "icon-wpb-product_categories", "category" => 'Woocommerce', "allowed_container_element" => 'vc_row', "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "Number", "param_name" => "number", "description" => ""))));
    /*** Products by category slug ***/
    vc_map(array("name" => "Products by category slug", "base" => "product_category", "icon" => "icon-wpb-product_category", "category" => 'Woocommerce', "allowed_container_element" => 'vc_row', "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "Category", "param_name" => "category", "description" => ""), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "Per Page", "param_name" => "per_page", "value" => "12"), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "Columns", "param_name" => "columns", "value" => "4"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => "Order By", "param_name" => "orderby", "value" => array("Date" => "date", "Title" => "title"), "description" => ""), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => "Order", "param_name" => "order", "value" => array("DESC" => "desc", "ASC" => "asc"), "description" => ""))));
    /*** Recent products ***/
    vc_map(array("name" => "Recent products", "base" => "recent_products", "icon" => "icon-wpb-recent_products", "category" => 'Woocommerce', "allowed_container_element" => 'vc_row', "params" => array(array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "Per Page", "param_name" => "per_page", "value" => "12"), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => "Columns", "param_name" => "columns", "value" => "4"), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => "Order By", "param_name" => "order_by", "value" => array("Date" => "date", "Title" => "title"), "description" => ""), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => "Order", "param_name" => "order", "value" => array("DESC" => "desc", "ASC" => "asc"), "description" => ""))));
    /*** Featured products ***/