//-------------------------------------------------------------------------------------
vc_map(array("base" => "trx_twitter", "name" => __("Twitter", "themerex"), "description" => __("Insert twitter feed into post (page)", "themerex"), "category" => __('Content', 'js_composer'), 'icon' => 'icon_trx_twitter', "class" => "trx_sc_single trx_sc_twitter", "content_element" => true, "is_container" => false, "show_settings_on_create" => true, "params" => array(array("param_name" => "user", "heading" => __("Twitter Username", "themerex"), "description" => __("Your username in the twitter account. If empty - get it from Theme Options.", "themerex"), "class" => "", "value" => "", "type" => "textfield"), array("param_name" => "show_user", "heading" => __("Do not show Twitter Username", "themerex"), "description" => __("Do not show Twitter Username", "themerex"), "class" => "", "value" => array("Do not show Twitter Username" => "off"), "type" => "checkbox"), array("param_name" => "consumer_key", "heading" => __("Consumer Key", "themerex"), "description" => __("Consumer Key from the twitter account", "themerex"), "class" => "", "value" => "", "type" => "textfield"), array("param_name" => "consumer_secret", "heading" => __("Consumer Secret", "themerex"), "description" => __("Consumer Secret from the twitter account", "themerex"), "class" => "", "value" => "", "type" => "textfield"), array("param_name" => "token_key", "heading" => __("Token Key", "themerex"), "description" => __("Token Key from the twitter account", "themerex"), "class" => "", "value" => "", "type" => "textfield"), array("param_name" => "token_secret", "heading" => __("Token Secret", "themerex"), "description" => __("Token Secret from the twitter account", "themerex"), "class" => "", "value" => "", "type" => "textfield"), array("param_name" => "count", "heading" => __("Tweets number", "themerex"), "description" => __("Tweets number to show", "themerex"), "class" => "", "value" => 3, "type" => "textfield"), array("param_name" => "interval", "heading" => __("Tweets change interval", "themerex"), "description" => __("Tweets change interval (in milliseconds: 1000ms = 1s)", "themerex"), "class" => "", "value" => 7000, "type" => "textfield"), THEMEREX_VC_width(), THEMEREX_VC_height(), $THEMEREX_VC_margin_top, $THEMEREX_VC_margin_bottom, $THEMEREX_VC_margin_left, $THEMEREX_VC_margin_right, $THEMEREX_VC_id, $THEMEREX_VC_class)));
class WPBakeryShortCode_Trx_Twitter extends THEMEREX_VC_ShortCodeSingle
{
}
// todo: GO!!!
// Video
//-------------------------------------------------------------------------------------
vc_map(array("base" => "trx_video", "name" => __("Video", "themerex"), "description" => __("Insert video player", "themerex"), "category" => __('Content', 'js_composer'), 'icon' => 'icon_trx_video', "class" => "trx_sc_single trx_sc_video", "content_element" => true, "is_container" => false, "show_settings_on_create" => true, "params" => array(array("param_name" => "url", "heading" => __("URL for video file", "themerex"), "description" => __("Paste URL for video file", "themerex"), "class" => "", "value" => "", "type" => "textfield"), array("param_name" => "autoplay", "heading" => __("Autoplay video", "themerex"), "description" => __("Autoplay video on page load", "themerex"), "class" => "", "value" => array("Autoplay" => "on"), "type" => "checkbox"), array("param_name" => "title", "heading" => __("Show title bar", "themerex"), "description" => __("Show title bar above video frame", "themerex"), "class" => "", "value" => array("Show title bar" => "on"), "type" => "checkbox"), array("param_name" => "image", "heading" => __("Cover image", "themerex"), "description" => __("Select or upload image or write URL from other site for video preview", "themerex"), "class" => "", "value" => "", "type" => "attach_image"), THEMEREX_VC_width(), THEMEREX_VC_height(), $THEMEREX_VC_margin_top, $THEMEREX_VC_margin_bottom, $THEMEREX_VC_margin_left, $THEMEREX_VC_margin_right, $THEMEREX_VC_id, $THEMEREX_VC_class)));
//class WPBakeryShortCode_Trx_Video extends WPBakeryShortCodesContainer {}
class WPBakeryShortCode_Trx_Video extends THEMEREX_VC_ShortCodeSingle
{
}
// Zoom
//-------------------------------------------------------------------------------------
vc_map(array("base" => "trx_zoom", "name" => __("Zoom", "themerex"), "description" => __("Insert the image with zoom/lens effect", "themerex"), "category" => __('Content', 'js_composer'), 'icon' => 'icon_trx_zoom', "class" => "trx_sc_single trx_sc_zoom", "content_element" => true, "is_container" => false, "show_settings_on_create" => true, "params" => array(array("param_name" => "url", "heading" => __("Main image", "themerex"), "description" => __("Select or upload main image", "themerex"), "class" => "", "value" => "", "type" => "attach_image"), array("param_name" => "over", "heading" => __("Overlaping image", "themerex"), "description" => __("Select or upload overlaping image", "themerex"), "class" => "", "value" => "", "type" => "attach_image"), array("param_name" => "border", "heading" => __("Show border", "themerex"), "description" => __("Show border around image", "themerex"), "admin_label" => true, "class" => "", "value" => array(__('No border', 'themerex') => "none", __('Light tablet', 'themerex') => "light", __('Dark tablet', 'themerex') => "dark"), "type" => "dropdown"), array("param_name" => "align", "heading" => __("Alignment", "themerex"), "description" => __("Float zoom to left or right side", "themerex"), "admin_label" => true, "class" => "", "value" => array_flip($THEMEREX_shortcodes_float), "type" => "dropdown"), THEMEREX_VC_width(), THEMEREX_VC_height(), $THEMEREX_VC_margin_top, $THEMEREX_VC_margin_bottom, $THEMEREX_VC_margin_left, $THEMEREX_VC_margin_right, $THEMEREX_VC_id, $THEMEREX_VC_class)));
//class WPBakeryShortCode_Trx_Zoom extends WPBakeryShortCodesContainer {}
class WPBakeryShortCode_Trx_Zoom extends THEMEREX_VC_ShortCodeSingle
{
}
// Sidebar
//-------------------------------------------------------------------------------------
vc_map(array("base" => "trx_sidebar", "name" => __("Sidebar", "themerex"), "description" => __("Insert Sidebar", "themerex"), "category" => __('Content', 'js_composer'), 'icon' => 'icon_trx_sidebar', "class" => "trx_sc_single trx_sc_sidebar", "content_element" => true, "is_container" => false, "show_settings_on_create" => true, "params" => array(array("param_name" => "name", "heading" => __("Select sidebar", "themerex"), "description" => __("Select sidebar", "themerex"), "admin_label" => true, "class" => "", "value" => array_flip($THEMEREX_shortcodes_sidebars), "type" => "dropdown"), $THEMEREX_VC_margin_top, $THEMEREX_VC_margin_bottom, $THEMEREX_VC_margin_left, $THEMEREX_VC_margin_right, $THEMEREX_VC_id)));
class WPBakeryShortCode_Trx_Sidebar extends THEMEREX_VC_ShortCodeSingle
{
}
if (function_exists('is_woocommerce')) {
    // WooCommerce - Cart
    //-------------------------------------------------------------------------------------
    vc_map(array("base" => "woocommerce_cart", "name" => __("Cart", "themerex"), "description" => __("WooCommerce shortcode: show cart page", "themerex"), "category" => __('WooCommerce', 'js_composer'), 'icon' => 'icon_trx_wooc_cart', "class" => "trx_sc_alone trx_sc_woocommerce_cart", "content_element" => true, "is_container" => false, "show_settings_on_create" => false, "params" => array()));
    class WPBakeryShortCode_Woocommerce_Cart extends THEMEREX_VC_ShortCodeAlone
			%content%
		</div>
		<div class="tab_controls">
			<button class="add_tab" title="' . __("Add item", "themerex") . '">' . __("Add item", "themerex") . '</button>
		</div>
	', 'js_view' => 'VcTrxTogglesView'));
vc_map(array("base" => "toggles_item", "name" => __("Toggles item", "themerex"), "description" => __("Single toggles item", "themerex"), "show_settings_on_create" => true, "content_element" => true, "is_container" => true, "as_child" => array('only' => 'toggles'), "as_parent" => array('except' => 'toggles'), "params" => array(array("param_name" => "title", "heading" => __("Title", "themerex"), "description" => __("Title for current toggles item", "themerex"), "admin_label" => true, "class" => "", "value" => "", "type" => "textfield"), array("param_name" => "open", "heading" => __("Open on show", "themerex"), "description" => __("Open current toggle item on show", "themerex"), "class" => "", "value" => array("Opened" => "yes"), "type" => "checkbox"), $THEMEREX_VC_id), 'js_view' => 'VcTrxTogglesTabView'));
class WPBakeryShortCode_Toggles extends THEMEREX_VC_ShortCodeToggles
{
}
class WPBakeryShortCode_Toggles_Item extends THEMEREX_VC_ShortCodeTogglesItem
{
}
// Video
//-------------------------------------------------------------------------------------
vc_map(array("base" => "trex_video", "name" => __("Video", "themerex"), "description" => __("Insert video player", "themerex"), "category" => __('Content', 'js_composer'), 'icon' => 'icon_trx_video', "class" => "trx_sc_single trx_sc_video", "content_element" => true, "is_container" => false, "show_settings_on_create" => true, "params" => array(array("param_name" => "url", "heading" => __("URL for video file", "themerex"), "description" => __("Paste URL for video file", "themerex"), "class" => "", "value" => "", "type" => "textfield"), array("param_name" => "autoplay", "heading" => __("Autoplay video", "themerex"), "description" => __("Autoplay video on page load", "themerex"), "class" => "", "value" => array("Autoplay" => "on"), "type" => "checkbox"), array("param_name" => "title", "heading" => __("Show title bar", "themerex"), "description" => __("Show title bar above video frame", "themerex"), "class" => "", "value" => array("Show title bar" => "on"), "type" => "checkbox"), array("param_name" => "image", "heading" => __("Cover image", "themerex"), "description" => __("Select or upload image or write URL from other site for video preview", "themerex"), "class" => "", "value" => "", "type" => "attach_image"), THEMEREX_VC_width(), THEMEREX_VC_height(), $THEMEREX_VC_margin_top, $THEMEREX_VC_margin_bottom, $THEMEREX_VC_margin_left, $THEMEREX_VC_margin_right, $THEMEREX_VC_id)));
class WPBakeryShortCode_Trex_Video extends THEMEREX_VC_ShortCodeSingle
{
}
if (function_exists('is_woocommerce')) {
    // WooCommerce - Cart
    //-------------------------------------------------------------------------------------
    vc_map(array("base" => "woocommerce_cart", "name" => __("Cart", "themerex"), "description" => __("WooCommerce shortcode: show cart page", "themerex"), "category" => __('WooCommerce', 'js_composer'), 'icon' => 'icon_trx_wooc_cart', "class" => "trx_sc_alone trx_sc_woocommerce_cart", "content_element" => true, "is_container" => false, "show_settings_on_create" => false, "params" => array()));
    class WPBakeryShortCode_Trx_Woocommerce_Cart extends THEMEREX_VC_ShortCodeAlone
    {
    }
    // WooCommerce - Checkout
    //-------------------------------------------------------------------------------------
    vc_map(array("base" => "woocommerce_checkout", "name" => __("Checkout", "themerex"), "description" => __("WooCommerce shortcode: show checkout page", "themerex"), "category" => __('WooCommerce', 'js_composer'), 'icon' => 'icon_trx_wooc_checkout', "class" => "trx_sc_alone trx_sc_woocommerce_checkout", "content_element" => true, "is_container" => false, "show_settings_on_create" => false, "params" => array()));
    class WPBakeryShortCode_Trx_Woocommerce_Checkout extends THEMEREX_VC_ShortCodeAlone
    {