function vcex_portfolio_grid_shortcode_vc_map() { $vc_img_rendering_url = 'https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering'; vc_map(array("name" => __("Portfolio Grid", 'wpex'), 'description' => __("Recent portfolio posts grid.", 'wpex'), "base" => "vcex_portfolio_grid", 'category' => WPEX_THEME_BRANDING, "icon" => "vcex-portfolio-grid", "params" => array(array('type' => 'textfield', 'heading' => __("Unique Id", 'wpex'), 'param_name' => "unique_id"), array("type" => 'dropdown', 'heading' => __("Columns", 'wpex'), "param_name" => "columns", "value" => array(__('Six', 'wpex') => '6', __('Five', 'wpex') => '5', __('Four', 'wpex') => '4', __('Three', 'wpex') => '3', __('Two', 'wpex') => '2', __('One', 'wpex') => '1'), "std" => '4'), array("type" => 'dropdown', 'heading' => __("1 Column Style", 'wpex'), "param_name" => "single_column_style", "value" => array(__("Default", "wpex") => '', __("Left/Right", "wpex") => 'left_thumbs'), 'dependency' => array('element' => 'columns', 'value' => '1')), array('type' => 'dropdown', 'heading' => __("Grid Style", 'wpex'), 'param_name' => "grid_style", 'value' => array(__('Fit Columns', 'wpex') => 'fit_columns', __('Masonry', 'wpex') => 'masonry', __("No Margins", "wpex") => 'no_margins')), array('type' => 'dropdown', 'heading' => __("Equal Heights?", 'wpex'), 'param_name' => "equal_heights_grid", 'value' => array(__("No", "wpex") => '', __("Yes", "wpex") => "true"), 'dependency' => array('element' => 'grid_style', 'value' => 'fit_columns'), 'description' => __('Adds equal heights for the entry content so "boxes" on the same row are the same height. You must have equal sized images for this to work efficiently.', 'wpex')), array('type' => 'textfield', 'heading' => __("Include Categories", 'wpex'), 'param_name' => "include_categories", "admin_label" => true, 'description' => __('Enter the slugs of a categories (comma seperated) to pull posts from or enter "all" to pull recent posts from all categories. Example: category-1, category-2.', 'wpex'), 'group' => __('Query', 'wpex')), array('type' => 'textfield', 'heading' => __("Exclude Categories", 'wpex'), 'param_name' => "exclude_categories", "admin_label" => true, 'description' => __('Enter the slugs of a categories (comma seperated) to exclude. Example: category-1, category-2.', 'wpex'), 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __("Order", 'wpex'), 'param_name' => "order", 'value' => array(__("DESC", "wpex") => "DESC", __("ASC", "wpex") => "ASC"), 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __('Order By', 'wpex'), 'param_name' => 'orderby', 'value' => array(__('Date', 'wpex') => 'date', __('Name', 'wpex') => 'name', __('Modified', 'wpex') => 'modified', __('Author', 'wpex') => 'author', __('Random', 'wpex') => 'rand', __('Comment Count', 'wpex') => 'comment_count', __('Meta Key Value', 'wpex') => 'meta_value', __('Meta Key Value Num', 'wpex') => 'meta_value_num'), 'group' => __('Query', 'wpex')), array('type' => 'textfield', 'heading' => __("Orderby: Meta Key", 'wpex'), 'param_name' => "orderby_meta_key", 'group' => __('Query', 'wpex'), 'dependency' => array('element' => 'orderby', 'value' => array('meta_value_num', 'meta_value'))), array('type' => 'textfield', 'heading' => __("Posts Per Page", 'wpex'), 'param_name' => "posts_per_page", 'value' => "8", 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __("Pagination", 'wpex'), 'param_name' => "pagination", 'value' => array(__("No", "wpex") => '', __("Yes", "wpex") => "true"), 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __("Category Filter", 'wpex'), 'param_name' => 'filter', 'value' => array(__('No', 'wpex') => '', __('Yes', 'wpex') => 'true'), 'group' => __('Filter', 'wpex')), array('type' => 'dropdown', 'heading' => __('Layout Mode', 'wpex'), 'param_name' => 'masonry_layout_mode', 'value' => array(__('Masonry', 'wpex') => 'masonry', __('Fit Rows', 'wpex') => 'fitRows'), 'group' => __('Filter', 'wpex')), array('type' => 'textfield', 'heading' => __('Custom Filter Speed', 'wpex'), 'param_name' => "filter_speed", 'description' => __('Default is "0.4" seconds', 'wpex'), 'group' => __('Filter', 'wpex')), array('type' => 'dropdown', 'heading' => __("Center Filter Links", 'wpex'), 'param_name' => "center_filter", 'value' => array(__('No', 'wpex') => '', __('Yes', 'wpex') => 'yes'), 'group' => __('Filter', 'wpex')), array('type' => 'textfield', 'heading' => __('Custom Category Filter "All" Text', 'wpex'), 'param_name' => "all_text", 'group' => __('Filter', 'wpex')), array('type' => 'dropdown', 'heading' => __("Entry Media?", 'wpex'), 'param_name' => "entry_media", 'value' => array(__('Yes', 'wpex') => '', __('No', 'wpex') => "false"), 'group' => __('Image', 'wpex')), vcex_overlays_array(), array('type' => 'textfield', 'heading' => __("Image Crop Width", 'wpex'), 'param_name' => "img_width", 'value' => "9999", 'group' => __('Image', 'wpex')), array('type' => 'textfield', 'heading' => __("Image Crop Height", 'wpex'), 'param_name' => "img_height", 'value' => "9999", 'description' => __("Custom image cropping height. Enter 9999 for no cropping (just resizing).", 'wpex'), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __("Image Filter", 'wpex'), 'param_name' => "img_filter", 'value' => vcex_image_filters(), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __("Image Rendering", 'wpex'), 'param_name' => "img_rendering", 'value' => vcex_image_rendering(), 'description' => sprintf(__('Image-rendering CSS property provides a hint to the user agent about how to handle its image rendering. For example when scaling down images they tend to look a bit fuzzy in Firefox, setting image-rendering to crisp-edges can help make the images look better. <a href="%s">Learn more</a>.', 'wpex'), esc_url($vc_img_rendering_url)), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __("CSS3 Image Hover", 'wpex'), 'param_name' => "img_hover_style", 'value' => vcex_image_hovers(), 'description' => __("Select your preferred image hover effect. Please note this will only work if the image links to a URL or a large version of itself. Please note these effects may not work in all browsers.", "wpex"), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __("Image Links To", 'wpex'), 'param_name' => "thumb_link", 'value' => array(__("Post", "wpex") => '', __("Lightbox", "wpex") => "lightbox", __("Nowhere", "wpex") => "nowhere"), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __("Display Lightbox Gallery", 'wpex'), 'param_name' => "thumb_lightbox_gallery", 'value' => array(__("No", "wpex") => '', __("Yes", "wpex") => "true"), 'group' => __('Image', 'wpex'), 'dependency' => array('element' => 'thumb_link', 'value' => 'lightbox')), array('type' => 'dropdown', 'heading' => __("Display Title In Lightbox", 'wpex'), 'param_name' => "thumb_lightbox_title", 'value' => array(__("No", "wpex") => '', __("Yes", "wpex") => "true"), 'group' => __('Image', 'wpex'), 'dependency' => array('element' => 'thumb_link', 'value' => 'lightbox')), array('type' => 'dropdown', 'heading' => __("Title", 'wpex'), 'param_name' => "title", 'value' => array(__("Yes", "wpex") => '', __("No", "wpex") => "false"), 'group' => __('Content', 'wpex')), array('type' => 'dropdown', 'heading' => __("Title Links To", 'wpex'), 'param_name' => "title_link", 'value' => array(__("Post", "wpex") => '', __("Lightbox", "wpex") => "lightbox", __("Nowhere", "wpex") => "nowhere"), 'group' => __('Content', 'wpex')), array('type' => 'dropdown', 'heading' => __("Excerpt", 'wpex'), 'param_name' => "excerpt", 'value' => array(__("Yes", "wpex") => '', __("No", "wpex") => "false"), 'group' => __('Content', 'wpex')), array('type' => 'textfield', 'heading' => __('Custom Excerpt Length', 'wpex'), 'param_name' => 'excerpt_length', 'group' => __('Content', 'wpex'), 'std' => '30'), array("type" => 'dropdown', 'heading' => __("Trim Custom Excerpts", 'wpex'), "param_name" => "custom_excerpt_trim", "value" => array(__('Yes', 'wpex') => '', __('No', 'wpex') => 'false'), 'group' => __('Content', 'wpex')), array('type' => 'dropdown', 'heading' => __("Read More", 'wpex'), 'param_name' => "read_more", 'std' => 'false', 'value' => array(__("No", "wpex") => "false", __("Yes", "wpex") => ''), 'group' => __('Content', 'wpex')), array('type' => 'textfield', 'heading' => __("Read More Text", 'wpex'), 'param_name' => "read_more_text", 'group' => __('Content', 'wpex')), array('type' => "colorpicker", 'heading' => __("Title Text Color", 'wpex'), 'param_name' => "content_heading_color", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Title Font size", 'wpex'), 'param_name' => "content_heading_size", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Title Margin", 'wpex'), 'param_name' => "content_heading_margin", 'group' => __('Design', 'wpex')), array('type' => "colorpicker", 'heading' => __("Content Background", 'wpex'), 'param_name' => "content_background", 'group' => __('Design', 'wpex')), array('type' => "colorpicker", 'heading' => __("Content Text Color", 'wpex'), 'param_name' => "content_color", 'group' => __('Design', 'wpex')), array('type' => 'dropdown', 'heading' => __('Content Alignment', 'wpex'), 'param_name' => "content_alignment", 'value' => array(__("Default", "wpex") => '', __("Left", "wpex") => "left", __("Right", "wpex") => "right", __("Center", "wpex") => "center"), 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Font Size", 'wpex'), 'param_name' => "content_font_size", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Margin", 'wpex'), 'param_name' => "content_margin", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Padding", 'wpex'), 'param_name' => "content_padding", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Opacity", 'wpex'), 'param_name' => "content_opacity", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Border", 'wpex'), 'param_name' => "content_border", 'group' => __('Design', 'wpex')), array('type' => "colorpicker", 'heading' => __("Content Read More Background", 'wpex'), 'param_name' => "readmore_background", 'group' => __('Design', 'wpex')), array('type' => "colorpicker", 'heading' => __("Content Read More Color", 'wpex'), 'param_name' => "readmore_color", 'group' => __('Design', 'wpex'))))); }
function vcex_portfolio_carousel_shortcode_vc_map() { vc_map(array('name' => __('Portfolio Carousel', 'wpex'), 'description' => __('Recent portfolio posts carousel.', 'wpex'), 'base' => 'vcex_portfolio_carousel', 'category' => WPEX_THEME_BRANDING, 'icon' => 'vcex-portfolio-carousel', 'params' => array(array('type' => 'textfield', 'heading' => __('Unique Id', 'wpex'), 'param_name' => 'unique_id'), array('type' => 'textfield', 'heading' => __('Custom Classes', 'wpex'), 'param_name' => 'classes', 'value' => ''), array('type' => 'textfield', 'heading' => __('Items To Display', 'wpex'), 'param_name' => 'items', 'value' => '4'), array('type' => 'textfield', 'heading' => __('Items To Scrollby', 'wpex'), 'param_name' => 'items_scroll', 'value' => '1'), array('type' => 'textfield', 'heading' => __('Margin Between Items', 'wpex'), 'param_name' => 'items_margin', 'value' => '15'), array('type' => 'dropdown', 'heading' => __('Auto Play', 'wpex'), 'param_name' => 'auto_play', 'value' => array(__('True', 'wpex') => 'true', __('False', 'wpex') => 'false')), array('type' => 'dropdown', 'heading' => __('Infinite Loop', 'wpex'), 'param_name' => 'infinite_loop', 'value' => array(__('True', 'wpex') => 'true', __('False', 'wpex') => 'false')), array('type' => 'dropdown', 'heading' => __('Center Item', 'wpex'), 'param_name' => 'center', 'value' => array(__('False', 'wpex') => 'false', __('True', 'wpex') => 'true')), array('type' => 'textfield', 'heading' => __('Timeout Duration (in milliseconds)', 'wpex'), 'param_name' => 'timeout_duration', 'value' => '5000', 'dependency' => array('element' => 'auto_play', 'value' => 'true')), array('type' => 'textfield', 'heading' => __('Include Categories', 'wpex'), 'param_name' => 'include_categories', 'admin_label' => true, 'description' => __('Enter the slugs of a categories (comma seperated) to pull posts from or enter "all" to pull recent posts from all categories. Example: category-1, category-2.', 'wpex'), 'group' => __('Query', 'wpex')), array('type' => 'textfield', 'heading' => __('Exclude Categories', 'wpex'), 'param_name' => 'exclude_categories', 'admin_label' => true, 'description' => __('Enter the slugs of a categories (comma seperated) to exclude. Example: category-1, category-2.', 'wpex'), 'group' => __('Query', 'wpex')), array('type' => 'textfield', 'heading' => __('Post Count', 'wpex'), 'param_name' => 'count', 'value' => '8', 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __('Order', 'wpex'), 'param_name' => 'order', 'value' => array(__('DESC', 'wpex') => 'DESC', __('ASC', 'wpex') => 'ASC'), 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __('Order By', 'wpex'), 'param_name' => 'orderby', 'value' => array(__('Date', 'wpex') => 'date', __('Name', 'wpex') => 'name', __('Modified', 'wpex') => 'modified', __('Author', 'wpex') => 'author', __('Random', 'wpex') => 'rand', __('Comment Count', 'wpex') => 'comment_count', __('Meta Key Value', 'wpex') => 'meta_value', __('Meta Key Value Num', 'wpex') => 'meta_value_num'), 'group' => __('Query', 'wpex')), array('type' => 'textfield', 'heading' => __('Orderby: Meta Key', 'wpex'), 'param_name' => 'orderby_meta_key', 'group' => __('Query', 'wpex'), 'dependency' => array('element' => 'orderby', 'value' => array('meta_value_num', 'meta_value'))), array('type' => 'dropdown', 'heading' => __('Style', 'wpex'), 'param_name' => 'style', 'value' => array(__('Default', 'wpex') => 'default', __('No Margins', 'wpex') => 'no-margins'), 'group' => __('Design', 'wpex')), array('type' => 'dropdown', 'heading' => __('Display Arrows?', 'wpex'), 'param_name' => 'arrows', 'value' => array(__('True', 'wpex') => 'true', __('False', 'wpex') => 'false'), 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __('Title Font size', 'wpex'), 'param_name' => 'content_heading_size', 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __('Title Margin', 'wpex'), 'param_name' => 'content_heading_margin', 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __('Title Font Weight', 'wpex'), 'param_name' => 'content_heading_weight', 'group' => __('Design', 'wpex')), array('type' => 'dropdown', 'heading' => __('Title Text Transform', 'wpex'), 'param_name' => 'content_heading_transform', 'value' => array(__('Default', 'wpex') => '', __('None', 'wpex') => 'none', __('Capitalize', 'wpex') => 'capitalize', __('Uppercase', 'wpex') => 'uppercase', __('Lowercase', 'wpex') => 'lowercase'), 'group' => __('Design', 'wpex')), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'wpex'), 'param_name' => 'content_heading_color', 'group' => __('Design', 'wpex')), array('type' => 'colorpicker', 'heading' => __('Content Background', 'wpex'), 'param_name' => 'content_background', 'group' => __('Design', 'wpex')), array('type' => 'colorpicker', 'heading' => __('Content Text Color', 'wpex'), 'param_name' => 'content_color', 'group' => __('Design', 'wpex')), array('type' => 'dropdown', 'heading' => __('Content Alignment', 'wpex'), 'param_name' => 'content_alignment', 'value' => array(__('Default', 'wpex') => '', __('Left', 'wpex') => 'left', __('Right', 'wpex') => 'right', __('Center', 'wpex') => 'center'), 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __('Content Font Size', 'wpex'), 'param_name' => 'content_font_size', 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __('Content Margin', 'wpex'), 'param_name' => 'content_margin', 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __('Content Padding', 'wpex'), 'param_name' => 'content_padding', 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __('Content Opacity', 'wpex'), 'param_name' => 'content_opacity', 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __('Content Border', 'wpex'), 'param_name' => 'content_border', 'group' => __('Design', 'wpex')), array('type' => 'dropdown', 'heading' => __('Image Links To', 'wpex'), 'param_name' => 'thumbnail_link', 'value' => array(__('Default', 'wpex') => '', __('Post', 'wpex') => 'post', __('Lightbox', 'wpex') => 'lightbox', __('None', 'wpex') => 'none'), 'group' => __('Image', 'wpex')), array('type' => 'textfield', 'heading' => __('Image Width', 'wpex'), 'param_name' => 'img_width', 'value' => '9999', 'group' => __('Image', 'wpex')), array('type' => 'textfield', 'heading' => __('Image Height', 'wpex'), 'param_name' => 'img_height', 'value' => '9999', 'description' => __('Enter a height in pixels. Set to "9999" to disable vertical cropping and keep image proportions.', 'wpex'), 'group' => __('Image', 'wpex')), vcex_overlays_array(), array('type' => 'dropdown', 'heading' => __('CSS3 Image Hover', 'wpex'), 'param_name' => 'img_hover_style', 'value' => vcex_image_hovers(), 'description' => __('Select your preferred image hover effect. Please note this will only work if the image links to a URL or a large version of itself. Please note these effects may not work in all browsers.', 'wpex'), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __('Image Rendering', 'wpex'), 'param_name' => 'img_rendering', 'value' => vcex_image_rendering(), 'description' => sprintf(__('Image-rendering CSS property provides a hint to the user agent about how to handle its image rendering. For example when scaling down images they tend to look a bit fuzzy in Firefox, setting image-rendering to crisp-edges can help make the images look better. <a href="%s">Learn more</a>.', 'wpex'), 'https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering'), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __('Display Title', 'wpex'), 'param_name' => 'title', 'value' => array(__('Yes', 'wpex') => 'true', __('No', 'wpex') => 'false'), 'group' => __('Content', 'wpex')), array('type' => 'dropdown', 'heading' => __('Display Excerpt', 'wpex'), 'param_name' => 'excerpt', 'value' => array(__('Yes', 'wpex') => 'true', __('No', 'wpex') => 'false'), 'group' => __('Content', 'wpex')), array('type' => 'textfield', 'heading' => __('Excerpt Length', 'wpex'), 'param_name' => 'excerpt_length', 'value' => '30', 'dependency' => array('element' => 'excerpt', 'value' => 'true'), 'group' => __('Content', 'wpex')), array('type' => 'dropdown', 'heading' => __('Trim Custom Excerpts', 'wpex'), 'param_name' => 'custom_excerpt_trim', 'value' => array(__('Yes', 'wpex') => 'true', __('No', 'wpex') => 'false'), 'group' => __('Content', 'wpex'), 'dependency' => array('element' => 'excerpt', 'value' => array('true'))), array('type' => 'textfield', 'heading' => __('Tablet (768px-659px): Items To Display', 'wpex'), 'param_name' => 'tablet_items', 'value' => '3', 'group' => __('Responsive', 'wpex')), array('type' => 'textfield', 'heading' => __('Mobile Landscape (480px-767px): Items To Display', 'wpex'), 'param_name' => 'mobile_landscape_items', 'value' => '2', 'group' => __('Responsive', 'wpex')), array('type' => 'textfield', 'heading' => __('Mobile Portrait (0-479px): Items To Display', 'wpex'), 'param_name' => 'mobile_portrait_items', 'value' => '1', 'group' => __('Responsive', 'wpex'))))); }
function vcex_post_type_grid_shortcode_vcmap() { vc_map(array('name' => __('Post Types Grid', 'wpex'), 'description' => __('Multiple post types posts grid.', 'wpex'), 'base' => 'vcex_post_type_grid', 'category' => WPEX_THEME_BRANDING, 'icon' => 'vcex-post-type-grid', 'params' => array(array('type' => 'textfield', 'heading' => __("Unique Id", 'wpex'), 'param_name' => "unique_id", 'value' => ""), array('type' => 'dropdown', 'heading' => __("Grid Style", 'wpex'), 'param_name' => "grid_style", 'value' => array(__('Fit Columns', 'wpex') => 'fit_columns', __('Masonry', 'wpex') => 'masonry', __("No Margins", "wpex") => 'no_margins'), 'description' => __('Important: If the category filter is enabled above the grid will always be masonry style.', 'wpex')), array('type' => 'dropdown', 'heading' => __("Equal Heights?", 'wpex'), 'param_name' => "equal_heights_grid", 'value' => array(__("No", "wpex") => "", __("Yes", "wpex") => "true"), 'dependency' => array('element' => 'grid_style', 'value' => 'fit_columns'), 'description' => __('Adds equal heights for the entry content so "boxes" on the same row are the same height. You must have equal sized images for this to work efficiently.', 'wpex')), array('type' => 'dropdown', 'heading' => __("Columns", 'wpex'), 'param_name' => "columns", 'value' => array(__('Six', 'wpex') => '6', __('Five', 'wpex') => '5', __('Four', 'wpex') => '4', __('Three', 'wpex') => '3', __('Two', 'wpex') => '2', __('One', 'wpex') => '1'), "std" => '4'), array('type' => 'dropdown', 'heading' => __("Display Featured Videos?", 'wpex'), 'param_name' => "featured_video", 'value' => array(__("True", "wpex") => "true", __("False", "wpex") => "false")), array('type' => 'dropdown', 'heading' => __("Post Link Target", 'wpex'), 'param_name' => "url_target", 'value' => array(__("Self", "wpex") => "_self", __("Blank", "wpex") => "_blank")), array('type' => 'posttypes', 'heading' => __('Post types', 'wpex'), 'param_name' => 'post_types', 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __("Filter by Taxonomy", 'wpex'), 'param_name' => "tax_query", 'value' => array(__("No", "wpex") => '', __("Yes", "wpex") => "true"), 'group' => __('Query', 'wpex')), array('type' => 'textfield', 'heading' => __('Taxonomy Name', 'wpex'), 'param_name' => "tax_query_taxonomy", 'dependency' => array('element' => 'tax_query', 'value' => 'true'), 'group' => __('Query', 'wpex')), array('type' => "exploded_textarea", 'heading' => __('Terms', 'wpex'), 'param_name' => "tax_query_terms", 'dependency' => array('element' => 'tax_query', 'value' => 'true'), 'group' => __('Query', 'wpex'), 'description' => __('Enter the slugs of the terms to include. Divide terms with linebreaks (Enter).', 'wpex')), array('type' => 'dropdown', 'heading' => __("Order", 'wpex'), 'param_name' => "order", 'value' => array(__("DESC", "wpex") => "DESC", __("ASC", "wpex") => "ASC"), 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __('Order By', 'wpex'), 'param_name' => 'orderby', 'value' => array(__('Date', 'wpex') => 'date', __('Name', 'wpex') => 'name', __('Modified', 'wpex') => 'modified', __('Author', 'wpex') => 'author', __('Random', 'wpex') => 'rand', __('Comment Count', 'wpex') => 'comment_count', __('Meta Key Value', 'wpex') => 'meta_value', __('Meta Key Value Num', 'wpex') => 'meta_value_num'), 'group' => __('Query', 'wpex')), array('type' => 'textfield', 'heading' => __("Orderby: Meta Key", 'wpex'), 'param_name' => "orderby_meta_key", 'value' => '', 'group' => __('Query', 'wpex'), 'dependency' => array('element' => 'orderby', 'value' => array('meta_value_num', 'meta_value'))), array('type' => 'dropdown', 'heading' => __("Pagination", 'wpex'), 'param_name' => "pagination", 'value' => array(__("False", "wpex") => "false", __("True", "wpex") => "true"), 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __("Post With Thumbnails Only", 'wpex'), 'param_name' => "thumbnail_query", 'value' => array(__("No", "wpex") => "false", __("Yes", "wpex") => "true"), 'group' => __('Query', 'wpex')), array('type' => 'textfield', 'heading' => __("Posts Per Page", 'wpex'), 'param_name' => "posts_per_page", 'value' => "12", 'group' => __('Query', 'wpex')), array('type' => 'dropdown', 'heading' => __("Post Type Filter", 'wpex'), 'param_name' => "filter", 'value' => array(__("No", "wpex") => "", __("Yes", "wpex") => "true"), 'group' => __('Filter', 'wpex')), array('type' => "dropdown", 'heading' => __("Layout Mode", 'wpex'), 'param_name' => "masonry_layout_mode", 'value' => array(__('Masonry', 'wpex') => 'masonry', __('Fit Rows', 'wpex') => 'fitRows'), 'group' => __('Filter', 'wpex')), array('type' => 'textfield', 'heading' => __('Custom Filter Speed', 'wpex'), 'param_name' => "filter_speed", 'description' => __('Default is "0.4" seconds', 'wpex'), 'group' => __('Filter', 'wpex')), array('type' => 'dropdown', 'heading' => __("Center Filter Links", 'wpex'), 'param_name' => "center_filter", 'value' => array(__('No', 'wpex') => 'no', __('Yes', 'wpex') => 'yes'), 'group' => __('Filter', 'wpex')), array('type' => 'textfield', 'heading' => __('Filter "All" Text', 'wpex'), 'param_name' => "all_text", 'value' => __('All', 'wpex'), 'group' => __('Filter', 'wpex')), array('type' => 'dropdown', 'heading' => __("Entry Media", 'wpex'), 'param_name' => "entry_media", 'value' => array(__("Yes", "wpex") => "true", __("No", "wpex") => "false"), 'group' => __('Image', 'wpex')), array('type' => 'textfield', 'heading' => __("Image Width", 'wpex'), 'param_name' => "img_width", 'value' => "9999", 'group' => __('Image', 'wpex')), array('type' => 'textfield', 'heading' => __("Image Height", 'wpex'), 'param_name' => "img_height", 'value' => "9999", 'description' => __("Custom image cropping height. Enter 9999 for no cropping.", 'wpex'), 'group' => __('Image', 'wpex')), vcex_overlays_array('post_types'), array('type' => 'dropdown', 'heading' => __("CSS3 Image Hover", 'wpex'), 'param_name' => "img_hover_style", 'value' => vcex_image_hovers(), 'description' => __("Select your preferred image hover effect. Please note this will only work if the image links to a URL or a large version of itself. Please note these effects may not work in all browsers.", "wpex"), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __("Image Filter", 'wpex'), 'param_name' => "img_filter", 'value' => vcex_image_filters(), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __("Image Links To", 'wpex'), 'param_name' => "thumb_link", 'value' => array(__("Post", "wpex") => "post", __("Lightbox", "wpex") => "lightbox", __("Nowhere", "wpex") => "nowhere"), 'group' => __('Image', 'wpex')), array('type' => 'dropdown', 'heading' => __("Title", 'wpex'), 'param_name' => "title", 'value' => array(__("Yes", "wpex") => "true", __("No", "wpex") => "false"), 'group' => __('Content', 'wpex')), array('type' => 'dropdown', 'heading' => __("Date", 'wpex'), 'param_name' => "date", 'value' => array(__("Yes", "wpex") => "true", __("No", "wpex") => "false"), 'group' => __('Content', 'wpex')), array('type' => 'dropdown', 'heading' => __("Excerpt", 'wpex'), 'param_name' => "excerpt", 'value' => array(__("Yes", "wpex") => "true", __("No", "wpex") => "false"), 'group' => __('Content', 'wpex')), array('type' => 'textfield', 'heading' => __("Excerpt Length", 'wpex'), 'param_name' => "excerpt_length", 'value' => "15", 'group' => __('Content', 'wpex'), 'dependency' => array('element' => "excerpt", 'value' => array('true'))), array('type' => 'dropdown', 'heading' => __("Trim Custom Excerpts", 'wpex'), 'param_name' => "custom_excerpt_trim", 'value' => array(__('Yes', 'wpex') => 'true', __('No', 'wpex') => 'false'), 'group' => __('Content', 'wpex'), 'dependency' => array('element' => "excerpt", 'value' => array('true'))), array('type' => 'dropdown', 'heading' => __("Read More", 'wpex'), 'param_name' => "read_more", 'value' => array(__("No", "wpex") => "false", __("Yes", "wpex") => "true"), 'group' => __('Content', 'wpex')), array('type' => 'textfield', 'heading' => __("Read More Text", 'wpex'), 'param_name' => "read_more_text", 'value' => __('view post', 'wpex'), 'group' => __('Content', 'wpex'), 'dependency' => array('element' => "read_more", 'value' => array('true'))), array('type' => 'colorpicker', 'heading' => __("Title Text Color", 'wpex'), 'param_name' => "content_heading_color", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Title Font size", 'wpex'), 'param_name' => "content_heading_size", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Title Margin", 'wpex'), 'param_name' => "content_heading_margin", 'group' => __('Design', 'wpex')), array('type' => 'colorpicker', 'heading' => __("Date Color", 'wpex'), 'param_name' => "date_color", 'group' => __('Design', 'wpex')), array('type' => 'colorpicker', 'heading' => __("Content Background", 'wpex'), 'param_name' => "content_background", 'group' => __('Design', 'wpex')), array('type' => 'colorpicker', 'heading' => __("Content Text Color", 'wpex'), 'param_name' => "content_color", 'group' => __('Design', 'wpex')), array('type' => 'dropdown', 'heading' => __('Content Alignment', 'wpex'), 'param_name' => 'content_alignment', 'value' => array(__("Left", "wpex") => "left", __("Right", "wpex") => "right", __("Center", "wpex") => "center"), 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Font Size", 'wpex'), 'param_name' => "content_font_size", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Margin", 'wpex'), 'param_name' => "content_margin", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Padding", 'wpex'), 'param_name' => "content_padding", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Opacity", 'wpex'), 'param_name' => "content_opacity", 'group' => __('Design', 'wpex')), array('type' => 'textfield', 'heading' => __("Content Border", 'wpex'), 'param_name' => "content_border", 'group' => __('Design', 'wpex')), array('type' => 'colorpicker', 'heading' => __("Content Read More Background", 'wpex'), 'param_name' => "readmore_background", 'group' => __('Design', 'wpex')), array('type' => 'colorpicker', 'heading' => __("Content Read More Color", 'wpex'), 'param_name' => "readmore_color", 'group' => __('Design', 'wpex'))))); }