Current File : /home/kelaby89/muzza.fit/wp-content/themes/deadlift/inc/vc-post-modules.php
<?php // phpcs:ignore
/**
 * WPBakery Page Builder post modules (old version for Wolf Visual Composer plugin)
 *
 * @package WordPress
 * @subpackage Deadlift
 * @version 1.8.2
 */

if ( ! defined( 'ABSPATH' ) || ! class_exists( 'Wolf_Visual_Composer' ) || ! defined( 'WPB_VC_VERSION' ) ) {
	return;
}

$order_by_values = array(
	'',
	esc_html__( 'Date', 'deadlift' )          => 'date',
	esc_html__( 'ID', 'deadlift' )            => 'ID',
	esc_html__( 'Author', 'deadlift' )        => 'author',
	esc_html__( 'Title', 'deadlift' )         => 'title',
	esc_html__( 'Modified', 'deadlift' )      => 'modified',
	esc_html__( 'Random', 'deadlift' )        => 'rand',
	esc_html__( 'Comment count', 'deadlift' ) => 'comment_count',
	esc_html__( 'Menu order', 'deadlift' )    => 'menu_order',
);

$order_way_values = array(
	'',
	esc_html__( 'Descending', 'deadlift' ) => 'DESC',
	esc_html__( 'Ascending', 'deadlift' )  => 'ASC',
);

$shared_gradient_colors = ( function_exists( 'wvc_get_shared_gradient_colors' ) ) ? wvc_get_shared_gradient_colors() : array();
$shared_colors          = ( function_exists( 'wvc_get_shared_colors' ) ) ? wvc_get_shared_colors() : array();

if ( ! class_exists( 'WPBakeryShortCode_Wvc_Post_Index' ) ) {
	/**
	 * Post Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Posts', 'deadlift' ),
			'description' => esc_html__( 'Display your posts using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_post_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 999,
			'params'      => array(

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Index ID', 'deadlift' ),
					'value'       => 'index-' . wp_rand( 0, 99999 ),
					'param_name'  => 'el_id',
					'description' => esc_html__( 'A unique identifier for the post module (required).', 'deadlift' ),
				),

				array(
					'param_name'  => 'post_display',
					'heading'     => esc_html__( 'Post Display', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip(
						apply_filters(
							'deadlift_post_display_options',
							array(
								'standard' => esc_html__( 'Standard', 'deadlift' ),
							)
						)
					),
					'std'         => 'grid',
					'admin_label' => true,
				),

				array(
					'param_name'  => 'post_metro_pattern',
					'heading'     => esc_html__( 'Metro Pattern', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_metro_patterns() ),
					'std'         => 'auto',
					'dependency'  => array(
						'element' => 'post_display',
						'value'   => array( 'metro_modern_alt', 'metro' ),
					),
					'admin_label' => true,
				),

				array(
					'param_name' => 'post_alternate_thumbnail_position',
					'heading'    => esc_html__( 'Alternate thumbnail position', 'deadlift' ),
					'type'       => 'checkbox',
					'dependency' => array(
						'element' => 'post_display',
						'value'   => array( 'lateral' ),
					),
				),

				array(
					'param_name'  => 'post_module',
					'heading'     => esc_html__( 'Module', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Grid', 'deadlift' ) => 'grid',
						esc_html__( 'Carousel', 'deadlift' ) => 'carousel',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'post_display',
						'value'   => array( 'grid', 'grid_classic', 'grid_modern' ),
					),
				),

				array(
					'param_name' => 'post_excerpt_length',
					'heading'    => esc_html__( 'Post Excerpt Lenght', 'deadlift' ),
					'type'       => 'dropdown',
					'value'      => array(
						esc_html__( 'Shorten', 'deadlift' ) => 'shorten',
						esc_html__( 'Full', 'deadlift' ) => 'full',
					),
					'dependency' => array(
						'element' => 'post_display',
						'value'   => array( 'masonry' ),
					),
				),

				array(
					'param_name'  => 'post_display_elements',
					'heading'     => esc_html__( 'Elements', 'deadlift' ),
					'type'        => 'checkbox',
					'value'       => array(
						esc_html__( 'Thumbnail', 'deadlift' ) => 'show_thumbnail',
						esc_html__( 'Date', 'deadlift' ) => 'show_date',
						esc_html__( 'Text', 'deadlift' ) => 'show_text',
						esc_html__( 'Category', 'deadlift' ) => 'show_category',
						esc_html__( 'Author', 'deadlift' ) => 'show_author',
						esc_html__( 'Tags', 'deadlift' ) => 'show_tags',
						esc_html__( 'Extra Meta', 'deadlift' ) => 'show_extra_meta',
					),
					'std'         => 'show_thumbnail,show_date,show_text,show_author,show_category',

					'description' => esc_html__( 'Note that some options may be ignored depending on the post display.', 'deadlift' ),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'post_excerpt_type',
					'heading'     => esc_html__( 'Post Excerpt Type', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Auto', 'deadlift' ) => 'auto',
						esc_html__( 'Manual', 'deadlift' ) => 'manual',
					),
					'description' => sprintf(
						deadlift_kses( __( 'When using the manual excerpt, you must split your post using a "<a href="%s">More Tag</a>".', 'deadlift' ) ),
						esc_url( 'https://en.support.wordpress.com/more-tag/' )
					),
					'dependency'  => array(
						'element' => 'post_display',
						'value'   => array( 'standard', 'standard_modern' ),
					),
				),

				array(
					'param_name'  => 'grid_padding',
					'heading'     => esc_html__( 'Padding', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Yes', 'deadlift' ) => 'yes',
						esc_html__( 'No', 'deadlift' ) => 'no',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element'            => 'post_display',
						'value_not_equal_to' => array( 'standard', 'standard_modern', 'masonry_modern', 'offgrid' ),
					),
				),

				array(
					'param_name'  => 'pagination',
					'heading'     => esc_html__( 'Pagination', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'None', 'deadlift' ) => 'none',
						esc_html__( 'Load More', 'deadlift' ) => 'load_more',
						esc_html__( 'Numeric Pagination', 'deadlift' ) => 'standard_pagination',
						esc_html__( 'Link to Blog Archives', 'deadlift' ) => 'link_to_blog',
					),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Animation', 'deadlift' ),
					'param_name'  => 'item_animation',
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_animations() ),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Posts Per Page', 'deadlift' ),
					'param_name'  => 'posts_per_page',
					'type'        => 'wvc_textfield',
					'value'       => get_option( 'posts_per_page' ),
					'admin_label' => true,
				),

				array(
					'heading'    => esc_html__( 'Additional CSS inline style', 'deadlift' ),
					'param_name' => 'inline_style',
					'type'       => 'wvc_textfield',
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Offset', 'deadlift' ),
					'param_name'  => 'offset',
					'description' => esc_html__( 'The amount of posts that should be skipped in the beginning of the query. If an offset is set, sticky posts will be ignored.', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
					'admin_label' => true,
				),

				array(
					'type'        => 'checkbox',
					'heading'     => esc_html__( 'Ignore Sticky Posts', 'deadlift' ),
					'param_name'  => 'ignore_sticky_posts',
					'description' => esc_html__( 'It will still include the sticky posts but it will not prioritize them in the query.', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'checkbox',
					'heading'     => esc_html__( 'Exclude Sticky Posts', 'deadlift' ),
					'description' => esc_html__( 'It will still exclude the sticky posts.', 'deadlift' ),
					'param_name'  => 'exclude_sticky_posts',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Category', 'deadlift' ),
					'param_name'  => 'category',
					'description' => esc_html__( 'Include only one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Category by ID', 'deadlift' ),
					'param_name'  => 'category_exclude',
					'description' => esc_html__( 'Exclude only one or several categories. Paste category ID(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( '456, 756', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Tags', 'deadlift' ),
					'param_name'  => 'tag',
					'description' => esc_html__( 'Include only one or several tags. Paste tag slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-tag, other-tag', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Tags by ID', 'deadlift' ),
					'param_name'  => 'tag_exclude',
					'description' => esc_html__( 'Exclude only one or several tags. Paste tag ID(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( '456, 756', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Order by', 'deadlift' ),
					'param_name'  => 'orderby',
					'value'       => $order_by_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Select how to sort retrieved posts. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Sort order', 'deadlift' ),
					'param_name'  => 'order',
					'value'       => $order_way_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Designates the ascending or descending order. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Post IDs', 'deadlift' ),
					'description' => esc_html__( 'By default, your last posts will be displayed. You can choose the posts you want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'include_ids',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Post IDs', 'deadlift' ),
					'description' => esc_html__( 'You can choose the posts you don\'t want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'exclude_ids',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'param_name'  => 'columns',
					'heading'     => esc_html__( 'Columns', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Auto', 'deadlift' ) => 'default',
						esc_html__( 'Two', 'deadlift' ) => 2,
						esc_html__( 'Three', 'deadlift' ) => 3,
						esc_html__( 'Four', 'deadlift' ) => 4,
						esc_html__( 'Five', 'deadlift' ) => 5,
						esc_html__( 'Six', 'deadlift' ) => 6,
						esc_html__( 'One', 'deadlift' ) => 1,
					),
					'std'         => 'default',
					'admin_label' => true,
					'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
					'dependency'  => array(
						'element'            => 'post_display',
						'value_not_equal_to' => array( 'standard', 'standard_modern', 'lateral', 'list' ),
					),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Extra class name', 'deadlift' ),
					'param_name'  => 'el_class',
					'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'deadlift' ),
					'group'       => esc_html__( 'Extra', 'deadlift' ),
				),
			),
		)
	);
	class WPBakeryShortCode_Wvc_Post_Index extends WPBakeryShortCode {} // phpcs:ignore
}

if ( class_exists( 'Wolf_Discography' ) && ! class_exists( 'WPBakeryShortCode_Wvc_Release_Index' ) ) {
	/**
	 * Discography Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Releases', 'deadlift' ),
			'description' => esc_html__( 'Display your releases using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_release_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 999,
			'params'      =>
				array(
					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Index ID', 'deadlift' ),
						'value'       => 'index-' . wp_rand( 0, 99999 ),
						'param_name'  => 'el_id',
						'description' => esc_html__( 'A unique identifier for the post module (required).', 'deadlift' ),
					),

					array(
						'param_name'  => 'release_display',
						'heading'     => esc_html__( 'Release Display', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array_flip(
							apply_filters(
								'deadlift_release_display_options',
								array(
									'grid' => esc_html__( 'Grid', 'deadlift' ),
								)
							)
						),
						'admin_label' => true,
					),

					array(
						'param_name' => 'release_alternate_thumbnail_position',
						'heading'    => esc_html__( 'Alternate thumbnail position', 'deadlift' ),
						'type'       => 'checkbox',
						'dependency' => array(
							'element' => 'release_display',
							'value'   => array( 'lateral' ),
						),
					),

					array(
						'param_name'  => 'release_layout',
						'heading'     => esc_html__( 'Layout', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'Classic', 'deadlift' ) => 'standard',
							esc_html__( 'Overlay', 'deadlift' ) => 'overlay',
						),
						'admin_label' => true,
						'dependency'  => array(
							'element' => 'release_display',
							'value'   => array( 'grid', 'metro', 'masonry' ),
						),
					),

					array(
						'param_name'  => 'release_module',
						'heading'     => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'Grid', 'deadlift' ) => 'grid',
							esc_html__( 'Carousel', 'deadlift' ) => 'carousel',
						),
						'admin_label' => true,
						'dependency'  => array(
							'element' => 'release_display',
							'value'   => array( 'grid' ),
						),
					),

					array(
						'param_name'  => 'release_custom_thumbnail_size',
						'heading'     => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
						'type'        => 'wvc_textfield',
						'admin_label' => true,
						'placeholder' => '450x450',
					),

					array(
						'param_name'  => 'grid_padding',
						'heading'     => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'Yes', 'deadlift' ) => 'yes',
							esc_html__( 'No', 'deadlift' ) => 'no',
						),
						'admin_label' => true,
						'dependency'  => array(
							'element' => 'release_layout',
							'value'   => array( 'overlay', 'flip-box' ),
						),
					),

					array(
						'type'               => 'dropdown',
						'heading'            => esc_html__( 'Overlay Color', 'deadlift' ),
						'param_name'         => 'overlay_color',
						'value'              => array_merge(
							array( esc_html__( 'Auto', 'deadlift' ) => 'auto' ),
							$shared_gradient_colors,
							$shared_colors,
							array( esc_html__( 'Custom color', 'deadlift' ) => 'custom' )
						),
						'std'                => apply_filters( 'wvc_default_item_overlay_color', 'black' ),
						'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
						'param_holder_class' => 'wvc_colored-dropdown',
						'dependency'         => array(
							'element' => 'release_layout',
							'value'   => array( 'overlay', 'flip-box' ),
						),
					),
					array(
						'type'       => 'colorpicker',
						'heading'    => esc_html__( 'Overlay Custom Color', 'deadlift' ),
						'param_name' => 'overlay_custom_color',
						'dependency' => array(
							'element' => 'overlay_color',
							'value'   => array( 'custom' ),
						),
					),
					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Overlay Opacity in Percent', 'deadlift' ),
						'param_name'  => 'overlay_opacity',
						'description' => '',
						'value'       => 40,
						'std'         => apply_filters( 'wvc_default_item_overlay_opacity', 40 ),
						'dependency'  => array(
							'element' => 'release_layout',
							'value'   => array( 'overlay', 'flip-box' ),
						),
					),
					array(
						'type'               => 'dropdown',
						'heading'            => esc_html__( 'Overlay Text Color', 'deadlift' ),
						'param_name'         => 'overlay_text_color',
						'value'              => array_merge(
							$shared_colors,
							$shared_gradient_colors,
							array( esc_html__( 'Custom color', 'deadlift' ) => 'custom' )
						),
						'std'                => apply_filters( 'wvc_default_item_overlay_text_color', 'white' ),
						'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
						'param_holder_class' => 'wvc_colored-dropdown',
						'dependency'         => array(
							'element' => 'release_layout',
							'value'   => array( 'overlay', 'flip-box' ),
						),
					),

					array(
						'type'       => 'colorpicker',
						'heading'    => esc_html__( 'Overlay Custom Text Color', 'deadlift' ),
						'param_name' => 'overlay_text_custom_color',
						'dependency' => array(
							'element' => 'overlay_text_color',
							'value'   => array( 'custom' ),
						),
					),

					array(
						'param_name'  => 'pagination',
						'heading'     => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'None', 'deadlift' ) => 'none',
							esc_html__( 'Load More', 'deadlift' ) => 'load_more',
							esc_html__( 'Numeric Pagination', 'deadlift' ) => 'standard_pagination',
							esc_html__( 'Link to Discography', 'deadlift' ) => 'link_to_discography',
						),
						'admin_label' => true,
					),

					array(
						'heading'     => esc_html__( 'Category Filter', 'deadlift' ),
						'param_name'  => 'release_category_filter',
						'type'        => 'checkbox',
						'description' => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
						'admin_label' => true,
						'dependency'  => array(
							'element'            => 'release_display',
							'value_not_equal_to' => array( 'list_minimal' ),
						),
					),

					array(
						'heading'    => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name' => 'release_category_filter_text_alignment',
						'type'       => 'dropdown',
						'value'      => array(
							esc_html__( 'Center', 'deadlift' ) => 'center',
							esc_html__( 'Left', 'deadlift' ) => 'left',
							esc_html__( 'Right', 'deadlift' ) => 'right',
						),
						'dependency' => array(
							'element' => 'release_category_filter',
							'value'   => array( 'true' ),
						),
					),

					array(
						'heading'     => esc_html__( 'Animation', 'deadlift' ),
						'param_name'  => 'item_animation',
						'type'        => 'dropdown',
						'value'       => array_flip( deadlift_get_animations() ),
						'admin_label' => true,
					),

					array(
						'heading'     => esc_html__( 'Number of Posts', 'deadlift' ),
						'param_name'  => 'posts_per_page',
						'type'        => 'wvc_textfield',
						'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
						'admin_label' => true,
					),

					array(
						'heading'    => esc_html__( 'Additional CSS inline style', 'deadlift' ),
						'param_name' => 'inline_style',
						'type'       => 'wvc_textfield',
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Include Band', 'deadlift' ),
						'param_name'  => 'band_include',
						'description' => esc_html__( 'Enter one or several bands. Paste category slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Exclude Band', 'deadlift' ),
						'param_name'  => 'band_exclude',
						'description' => esc_html__( 'Enter one or several bands. Paste category slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Include Type', 'deadlift' ),
						'param_name'  => 'label_include',
						'description' => esc_html__( 'Enter one or several release types (from release tags). Paste category slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Exclude Type', 'deadlift' ),
						'param_name'  => 'label_exclude',
						'description' => esc_html__( 'Enter one or several release types (from release tags). Paste category slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Offset', 'deadlift' ),
						'description' => esc_html__( '.', 'deadlift' ),
						'param_name'  => 'offset',
						'description' => esc_html__( 'The amount of posts that should be skipped in the beginning of the query.', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'dropdown',
						'heading'     => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'value'       => $order_by_values,
						'save_always' => true,
						'description' => sprintf( deadlift_kses( __( 'Select how to sort retrieved posts. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ), // WCS XSS ok.
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'dropdown',
						'heading'     => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'value'       => $order_way_values,
						'save_always' => true,
						'description' => sprintf( deadlift_kses( __( 'Designates the ascending or descending order. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Post IDs', 'deadlift' ),
						'description' => esc_html__( 'By default, your last posts will be displayed. You can choose the posts you want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
						'param_name'  => 'include_ids',
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Exclude Post IDs', 'deadlift' ),
						'description' => esc_html__( 'You can choose the posts you don\'t want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
						'param_name'  => 'exclude_ids',
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'param_name'  => 'columns',
						'heading'     => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'Auto', 'deadlift' ) => 'default',
							esc_html__( 'Two', 'deadlift' ) => 2,
							esc_html__( 'Three', 'deadlift' ) => 3,
							esc_html__( 'Four', 'deadlift' ) => 4,
							esc_html__( 'Five', 'deadlift' ) => 5,
							esc_html__( 'Six', 'deadlift' ) => 6,
							esc_html__( 'One', 'deadlift' ) => 1,
						),
						'std'         => 'default',
						'admin_label' => true,
						'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
						'dependency'  => array(
							'element'            => 'post_display',
							'value_not_equal_to' => array( 'standard', 'standard_modern', 'lateral' ),
						),
					),
				),
		)
	);

	class WPBakeryShortCode_Wvc_Release_Index extends WPBakeryShortCode {} // phpcs:ignore
} // end Discography plugin check

if ( class_exists( 'WooCommerce' ) && ! class_exists( 'WPBakeryShortCode_Wvc_Product_Index' ) ) {

	/**
	 * Product Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Products', 'deadlift' ),
			'description' => esc_html__( 'Display your pages using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_product_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 999,
			'params'      =>
				array(

					array(
						'type'       => 'wvc_textfield',
						'heading'    => esc_html__( 'ID', 'deadlift' ),
						'value'      => 'items-' . wp_rand( 0, 99999 ),
						'param_name' => 'el_id',
					),

					array(
						'param_name'  => 'product_display',
						'heading'     => esc_html__( 'Product Display', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array_flip(
							apply_filters(
								'deadlift_product_display_options',
								array(
									'grid_classic' => esc_html__( 'Classic', 'deadlift' ),
								)
							)
						),
						'std'         => 'grid_classic',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'product_metro_pattern',
						'heading'     => esc_html__( 'Metro Pattern', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array_flip( deadlift_get_metro_patterns() ),
						'std'         => 'pattern-1',
						'dependency'  => array(
							'element' => 'product_display',
							'value'   => array( 'metro', 'metro_overlay_quickview' ),
						),
						'admin_label' => true,
					),

					array(
						'param_name'  => 'product_text_align',
						'heading'     => esc_html__( 'Product Text Alignement', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							'' => '',
							esc_html__( 'Center', 'deadlift' ) => 'center',
							esc_html__( 'Left', 'deadlift' ) => 'left',
							esc_html__( 'Right', 'deadlift' ) => 'right',
						),
						'admin_label' => true,
						'dependency'  => array(
							'element' => 'product_display',
							'value'   => array( 'grid_classic' ),
						),
					),

					array(
						'param_name'  => 'product_meta',
						'heading'     => esc_html__( 'Type', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'All', 'deadlift' ) => 'all',
							esc_html__( 'Featured', 'deadlift' ) => 'featured',
							esc_html__( 'On Sale', 'deadlift' ) => 'onsale',
							esc_html__( 'Best Selling', 'deadlift' ) => 'best_selling',
							esc_html__( 'Top Rated', 'deadlift' ) => 'top_rated',
						),
						'admin_label' => true,
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Category', 'deadlift' ),
						'param_name'  => 'product_cat',
						'description' => esc_html__( 'Include only one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
						'admin_label' => true,
					),

					array(
						'param_name'  => 'product_module',
						'heading'     => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'Grid', 'deadlift' ) => 'grid',
							esc_html__( 'Carousel', 'deadlift' ) => 'carousel',
						),
						'admin_label' => true,
					),

					array(
						'param_name'  => 'grid_padding',
						'heading'     => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'Yes', 'deadlift' ) => 'yes',
							esc_html__( 'No', 'deadlift' ) => 'no',
						),
						'admin_label' => true,
					),

					array(
						'heading'     => esc_html__( 'Animation', 'deadlift' ),
						'param_name'  => 'item_animation',
						'type'        => 'dropdown',
						'value'       => array_flip( deadlift_get_animations() ),
						'admin_label' => true,
					),

					array(
						'heading'     => esc_html__( 'Posts Per Page', 'deadlift' ),
						'param_name'  => 'posts_per_page',
						'type'        => 'wvc_textfield',
						'placeholder' => get_option( 'posts_per_page' ),
						'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
						'std'         => get_option( 'posts_per_page' ),
						'admin_label' => true,
					),

					array(
						'param_name'  => 'pagination',
						'heading'     => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'None', 'deadlift' ) => 'none',
							esc_html__( 'Load More', 'deadlift' ) => 'load_more',
							esc_html__( 'Numeric Pagination', 'deadlift' ) => 'standard_pagination',
							esc_html__( 'Link to Category', 'deadlift' ) => 'link_to_shop_category',
							esc_html__( 'Link to Shop Archive', 'deadlift' ) => 'link_to_shop',
						),
						'admin_label' => true,
						'dependency'  => array(
							'element' => 'product_module',
							'value'   => array( 'grid', 'metro' ),
						),
					),

					array(
						'param_name'  => 'product_category_link_id',
						'heading'     => esc_html__( 'Category', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array_flip( deadlift_get_product_cat_dropdown_options() ),
						'dependency'  => array(
							'element' => 'pagination',
							'value'   => array( 'link_to_shop_category' ),
						),
						'admin_label' => true,
					),

					array(
						'heading'    => esc_html__( 'Additional CSS inline style', 'deadlift' ),
						'param_name' => 'inline_style',
						'type'       => 'wvc_textfield',
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Offset', 'deadlift' ),
						'param_name'  => 'offset',
						'description' => esc_html__( 'The amount of posts that should be skipped in the beginning of the query. If an offset is set, sticky posts will be ignored.', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
						'admin_label' => true,
					),

					array(
						'type'        => 'dropdown',
						'heading'     => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'value'       => $order_by_values,
						'save_always' => true,
						'description' => sprintf( deadlift_kses( __( 'Select how to sort retrieved products. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'dropdown',
						'heading'     => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'value'       => $order_way_values,
						'save_always' => true,
						'description' => sprintf( deadlift_kses( __( 'Designates the ascending or descending order. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Post IDs', 'deadlift' ),
						'description' => esc_html__( 'By default, your last posts will be displayed. You can choose the posts you want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
						'param_name'  => 'include_ids',
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Exclude Post IDs', 'deadlift' ),
						'description' => esc_html__( 'You can choose the posts you don\'t want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
						'param_name'  => 'exclude_ids',
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'param_name'  => 'columns',
						'heading'     => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'dropdown',
						'value'       => array(
							esc_html__( 'Auto', 'deadlift' ) => 'default',
							esc_html__( 'Two', 'deadlift' ) => 2,
							esc_html__( 'Three', 'deadlift' ) => 3,
							esc_html__( 'Four', 'deadlift' ) => 4,
							esc_html__( 'Five', 'deadlift' ) => 5,
							esc_html__( 'Six', 'deadlift' ) => 6,
							esc_html__( 'One', 'deadlift' ) => 1,
						),
						'std'         => 'default',
						'admin_label' => true,
						'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
						'dependency'  => array(
							'element'            => 'product_display',
							'value_not_equal_to' => array( 'metro_overlay_quickview' ),
						),
					),

					array(
						'type'        => 'wvc_textfield',
						'heading'     => esc_html__( 'Extra class name', 'deadlift' ),
						'param_name'  => 'el_class',
						'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'deadlift' ),
						'group'       => esc_html__( 'Extra', 'deadlift' ),
					),
				),

		)
	);

	class WPBakeryShortCode_Wvc_Product_Index extends WPBakeryShortCode {} // phpcs:ignore

} // end WC check

if ( class_exists( 'Wolf_Artists' ) && ! class_exists( 'WPBakeryShortCode_Wvc_Artist_Index' ) ) {

	/**
	 * Work Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Artists', 'deadlift' ),
			'description' => esc_html__( 'Display your artists using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_artist_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 999,
			'params'      => array(

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Index ID', 'deadlift' ),
					'value'       => 'index-' . wp_rand( 0, 99999 ),
					'param_name'  => 'el_id',
					'description' => esc_html__( 'A unique identifier for the post module (required).', 'deadlift' ),
				),

				array(
					'param_name'  => 'artist_display',
					'heading'     => esc_html__( 'Artist Display', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip(
						apply_filters(
							'deadlift_artist_display_options',
							array(
								'list' => esc_html__( 'List', 'deadlift' ),
							)
						)
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'artist_metro_pattern',
					'heading'     => esc_html__( 'Metro Pattern', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_metro_patterns() ),
					'std'         => 'auto',
					'dependency'  => array(
						'element' => 'artist_display',
						'value'   => array( 'metro' ),
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'artist_module',
					'heading'     => esc_html__( 'Module', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Grid', 'deadlift' ) => 'grid',
						esc_html__( 'Carousel', 'deadlift' ) => 'carousel',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'artist_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'artist_thumbnail_size',
					'heading'     => esc_html__( 'Thumbnail Size', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Default Thumbnail', 'deadlift' ) => 'standard',
						esc_html__( 'Landscape', 'deadlift' ) => 'landscape',
						esc_html__( 'Square', 'deadlift' ) => 'square',
						esc_html__( 'Portrait', 'deadlift' ) => 'portrait',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'artist_display',
						'value'   => array( 'grid', 'offgrid' ),
					),
				),

				/*
				array(
					'param_name' => 'artist_custom_thumbnail_size',
					'heading' => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
					'type' => 'wvc_textfield',
					'admin_label' => true,
					'placeholder' => '415x230',
				),*/

				array(
					'param_name'  => 'artist_layout',
					'heading'     => esc_html__( 'Layout', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Classic', 'deadlift' ) => 'standard',
						esc_html__( 'Overlay', 'deadlift' ) => 'overlay',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element'            => 'artist_display',
						'value_not_equal_to' => array( 'list', 'metro' ),
					),
				),

				array(
					'param_name'  => 'grid_padding',
					'heading'     => esc_html__( 'Padding', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Yes', 'deadlift' ) => 'yes',
						esc_html__( 'No', 'deadlift' ) => 'no',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'artist_layout',
						'value'   => array( 'overlay', 'flip-box' ),
					),
				),

				array(
					'heading'    => esc_html__( 'Caption Text Alignement', 'deadlift' ),
					'param_name' => 'caption_text_alignment',
					'type'       => 'dropdown',
					'value'      => array(
						esc_html__( 'Center', 'deadlift' ) => 'center',
						esc_html__( 'Left', 'deadlift' ) => 'left',
						esc_html__( 'Right', 'deadlift' ) => 'right',
					),
					'dependency' => array(
						'element'            => 'artist_display',
						'value_not_equal_to' => array( 'list_minimal' ),
					),
				),

				array(
					'heading'    => esc_html__( 'Caption Vertical Alignement', 'deadlift' ),
					'param_name' => 'caption_v_align',
					'type'       => 'dropdown',
					'value'      => array(
						esc_html__( 'Middle', 'deadlift' ) => 'middle',
						esc_html__( 'Bottom', 'deadlift' ) => 'bottom',
						esc_html__( 'Top', 'deadlift' ) => 'top',
					),
					'dependency' => array(
						'element'            => 'artist_display',
						'value_not_equal_to' => array( 'list_minimal' ),
					),
				),

				array(
					'type'               => 'dropdown',
					'heading'            => esc_html__( 'Overlay Color', 'deadlift' ),
					'param_name'         => 'overlay_color',
					'value'              => array_merge(
						array( esc_html__( 'Auto', 'deadlift' ) => 'auto' ),
						$shared_gradient_colors,
						$shared_colors,
						array( esc_html__( 'Custom color', 'deadlift' ) => 'custom' )
					),
					'std'                => apply_filters( 'wvc_default_item_overlay_color', 'black' ),
					'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
					'param_holder_class' => 'wvc_colored-dropdown',
					'dependency'         => array(
						'element' => 'artist_layout',
						'value'   => array( 'overlay', 'flip-box' ),
					),
				),
				array(
					'type'       => 'colorpicker',
					'heading'    => esc_html__( 'Overlay Custom Color', 'deadlift' ),
					'param_name' => 'overlay_custom_color',
					'dependency' => array(
						'element' => 'overlay_color',
						'value'   => array( 'custom' ),
					),
				),
				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Overlay Opacity in Percent', 'deadlift' ),
					'param_name'  => 'overlay_opacity',
					'description' => '',
					'value'       => 40,
					'std'         => apply_filters( 'wvc_default_item_overlay_opacity', 40 ),
					'dependency'  => array(
						'element' => 'artist_layout',
						'value'   => array( 'overlay', 'flip-box' ),
					),
				),

				array(
					'type'               => 'dropdown',
					'heading'            => esc_html__( 'Overlay Text Color', 'deadlift' ),
					'param_name'         => 'overlay_text_color',
					'value'              => array_merge(
						$shared_colors,
						$shared_gradient_colors,
						array( esc_html__( 'Custom color', 'deadlift' ) => 'custom' )
					),
					'std'                => apply_filters( 'wvc_default_item_overlay_text_color', 'white' ),
					'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
					'param_holder_class' => 'wvc_colored-dropdown',
					'dependency'         => array(
						'element' => 'artist_layout',
						'value'   => array( 'overlay', 'flip-box' ),
					),
				),
				array(
					'type'       => 'colorpicker',
					'heading'    => esc_html__( 'Overlay Custom Text Color', 'deadlift' ),
					'param_name' => 'overlay_text_custom_color',
					'dependency' => array(
						'element' => 'overlay_text_color',
						'value'   => array( 'custom' ),
					),
				),

				array(
					'heading'     => esc_html__( 'Category Filter', 'deadlift' ),
					'param_name'  => 'artist_category_filter',
					'type'        => 'checkbox',
					'description' => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
					'admin_label' => true,
					'dependency'  => array(
						'element'            => 'artist_display',
						'value_not_equal_to' => array( 'list_minimal' ),
					),
				),

				array(
					'heading'    => esc_html__( 'Filter Text Alignement', 'deadlift' ),
					'param_name' => 'artist_category_filter_text_alignment',
					'type'       => 'dropdown',
					'value'      => array(
						esc_html__( 'Center', 'deadlift' ) => 'center',
						esc_html__( 'Left', 'deadlift' ) => 'left',
						esc_html__( 'Right', 'deadlift' ) => 'right',
					),
					'dependency' => array(
						'element' => 'artist_category_filter',
						'value'   => array( 'true' ),
					),
				),

				array(
					'heading'     => esc_html__( 'Animation', 'deadlift' ),
					'param_name'  => 'item_animation',
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_animations() ),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Number of Posts', 'deadlift' ),
					'param_name'  => 'posts_per_page',
					'type'        => 'wvc_textfield',
					'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'pagination',
					'heading'     => esc_html__( 'Pagination', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'None', 'deadlift' ) => 'none',
						esc_html__( 'Load More', 'deadlift' ) => 'load_more',
						esc_html__( 'Numeric Pagination', 'deadlift' ) => 'standard_pagination',
						esc_html__( 'Link to Archives', 'deadlift' ) => 'link_to_artists',
					),
					'admin_label' => true,
				),

				array(
					'heading'    => esc_html__( 'Additional CSS inline style', 'deadlift' ),
					'param_name' => 'inline_style',
					'type'       => 'wvc_textfield',
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Include Category', 'deadlift' ),
					'param_name'  => 'artist_genre_include',
					'description' => esc_html__( 'Enter one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Category', 'deadlift' ),
					'param_name'  => 'artist_genre_exclude',
					'description' => esc_html__( 'Enter one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Offset', 'deadlift' ),
					'description' => esc_html__( '.', 'deadlift' ),
					'param_name'  => 'offset',
					'description' => esc_html__( 'The amount of posts that should be skipped in the beginning of the query.', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Order by', 'deadlift' ),
					'param_name'  => 'orderby',
					'value'       => $order_by_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Select how to sort retrieved posts. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Sort order', 'deadlift' ),
					'param_name'  => 'order',
					'value'       => $order_way_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Designates the ascending or descending order. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Post IDs', 'deadlift' ),
					'description' => esc_html__( 'By default, your last posts will be displayed. You can choose the posts you want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'include_ids',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Post IDs', 'deadlift' ),
					'description' => esc_html__( 'You can choose the posts you don\'t want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'exclude_ids',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'param_name'  => 'columns',
					'heading'     => esc_html__( 'Columns', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Auto', 'deadlift' ) => 'default',
						esc_html__( 'Two', 'deadlift' ) => 2,
						esc_html__( 'Three', 'deadlift' ) => 3,
						esc_html__( 'Four', 'deadlift' ) => 4,
						esc_html__( 'Five', 'deadlift' ) => 5,
						esc_html__( 'Six', 'deadlift' ) => 6,
						esc_html__( 'One', 'deadlift' ) => 1,
					),
					'std'         => 'default',
					'admin_label' => true,
					'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
					'dependency'  => array(
						'element'            => 'post_display',
						'value_not_equal_to' => array( 'standard', 'standard_modern' ),
					),
				),
			),
		)
	);

	class WPBakeryShortCode_Wvc_Artist_Index extends WPBakeryShortCode {} // phpcs:ignore
} // end Artist plugin check

if ( class_exists( 'Wolf_Albums' ) && ! class_exists( 'WPBakeryShortCode_Wvc_Gallery_Index' ) ) {

	/**
	 * Albums Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Albums', 'deadlift' ),
			'description' => esc_html__( 'Display your albums using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_gallery_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 999,
			'params'      => array(

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Index ID', 'deadlift' ),
					'value'       => 'index-' . wp_rand( 0, 99999 ),
					'param_name'  => 'el_id',
					'description' => esc_html__( 'A unique identifier for the post module (required).', 'deadlift' ),
				),

				array(
					'param_name'  => 'gallery_display',
					'heading'     => esc_html__( 'Album Display', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip(
						apply_filters(
							'deadlift_gallery_display_options',
							array(
								'grid' => esc_html__( 'Grid', 'deadlift' ),
							)
						)
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'gallery_module',
					'heading'     => esc_html__( 'Module', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Grid', 'deadlift' ) => 'grid',
						esc_html__( 'Carousel', 'deadlift' ) => 'carousel',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'gallery_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'grid_padding',
					'heading'     => esc_html__( 'Padding', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Yes', 'deadlift' ) => 'yes',
						esc_html__( 'No', 'deadlift' ) => 'no',
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'gallery_thumbnail_size',
					'heading'     => esc_html__( 'Thumbnail Size', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Default Thumbnail', 'deadlift' ) => 'standard',
						esc_html__( 'Landscape', 'deadlift' ) => 'landscape',
						esc_html__( 'Square', 'deadlift' ) => 'square',
						esc_html__( 'Portrait', 'deadlift' ) => 'portrait',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'gallery_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'gallery_layout',
					'heading'     => esc_html__( 'Layout', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Classic', 'deadlift' ) => 'standard',
						esc_html__( 'Overlay', 'deadlift' ) => 'overlay',
					),
					'admin_label' => true,
				),

				array(
					'heading'    => esc_html__( 'Text Alignement', 'deadlift' ),
					'param_name' => 'caption_text_alignment',
					'type'       => 'dropdown',
					'value'      => array(
						esc_html__( 'Center', 'deadlift' ) => 'center',
						esc_html__( 'Left', 'deadlift' ) => 'left',
						esc_html__( 'Right', 'deadlift' ) => 'right',
					),
				),

				array(
					'type'               => 'dropdown',
					'heading'            => esc_html__( 'Overlay Color', 'deadlift' ),
					'param_name'         => 'overlay_color',
					'value'              => array_merge(
						array( esc_html__( 'Auto', 'deadlift' ) => 'auto' ),
						$shared_gradient_colors,
						$shared_colors,
						array( esc_html__( 'Custom color', 'deadlift' ) => 'custom' )
					),
					'std'                => apply_filters( 'wvc_default_item_overlay_color', 'black' ),
					'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
					'param_holder_class' => 'wvc_colored-dropdown',
					'dependency'         => array(
						'element' => 'gallery_layout',
						'value'   => array( 'overlay' ),
					),
				),
				array(
					'type'       => 'colorpicker',
					'heading'    => esc_html__( 'Overlay Custom Color', 'deadlift' ),
					'param_name' => 'overlay_custom_color',
					'dependency' => array(
						'element' => 'overlay_color',
						'value'   => array( 'custom' ),
					),
				),
				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Overlay Opacity in Percent', 'deadlift' ),
					'param_name'  => 'overlay_opacity',
					'description' => '',
					'value'       => 40,
					'std'         => apply_filters( 'wvc_default_item_overlay_opacity', 40 ),
					'dependency'  => array(
						'element' => 'gallery_layout',
						'value'   => array( 'overlay' ),
					),
				),

				array(
					'type'               => 'dropdown',
					'heading'            => esc_html__( 'Overlay Text Color', 'deadlift' ),
					'param_name'         => 'overlay_text_color',
					'value'              => array_merge(
						$shared_colors,
						$shared_gradient_colors,
						array( esc_html__( 'Custom color', 'deadlift' ) => 'custom' )
					),
					'std'                => apply_filters( 'wvc_default_item_overlay_text_color', 'white' ),
					'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
					'param_holder_class' => 'wvc_colored-dropdown',
					'dependency'         => array(
						'element' => 'gallery_layout',
						'value'   => array( 'overlay' ),
					),
				),
				array(
					'type'       => 'colorpicker',
					'heading'    => esc_html__( 'Overlay Custom Text Color', 'deadlift' ),
					'param_name' => 'overlay_text_custom_color',
					'dependency' => array(
						'element' => 'overlay_text_color',
						'value'   => array( 'custom' ),
					),
				),

				array(
					'heading'     => esc_html__( 'Animation', 'deadlift' ),
					'param_name'  => 'item_animation',
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_animations() ),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Category Filter', 'deadlift' ),
					'param_name'  => 'gallery_category_filter',
					'type'        => 'checkbox',
					'description' => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'pagination',
					'heading'     => esc_html__( 'Pagination', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'None', 'deadlift' ) => 'none',
						esc_html__( 'Load More', 'deadlift' ) => 'load_more',
						esc_html__( 'Numeric Pagination', 'deadlift' ) => 'standard_pagination',
						esc_html__( 'Link to Album Archives', 'deadlift' ) => 'link_to_albums',
					),
					'admin_label' => true,
				),

				array(
					'heading'    => esc_html__( 'Filter Text Alignement', 'deadlift' ),
					'param_name' => 'gallery_category_filter_text_alignment',
					'type'       => 'dropdown',
					'value'      => array(
						esc_html__( 'Center', 'deadlift' ) => 'center',
						esc_html__( 'Left', 'deadlift' ) => 'left',
						esc_html__( 'Right', 'deadlift' ) => 'right',
					),
					'dependency' => array(
						'element' => 'gallery_category_filter',
						'value'   => array( 'true' ),
					),
				),

				array(
					'heading'     => esc_html__( 'Number of Posts', 'deadlift' ),
					'param_name'  => 'posts_per_page',
					'type'        => 'wvc_textfield',
					'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
					'admin_label' => true,
				),

				array(
					'heading'    => esc_html__( 'Additional CSS inline style', 'deadlift' ),
					'param_name' => 'inline_style',
					'type'       => 'wvc_textfield',
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Include Category', 'deadlift' ),
					'param_name'  => 'gallery_type_include',
					'description' => esc_html__( 'Enter one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Category', 'deadlift' ),
					'param_name'  => 'gallery_type_exclude',
					'description' => esc_html__( 'Enter one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Offset', 'deadlift' ),
					'description' => esc_html__( '.', 'deadlift' ),
					'param_name'  => 'offset',
					'description' => esc_html__( 'The amount of posts that should be skipped in the beginning of the query.', 'deadlift' ),
					'group'       => esc_html( 'Query', 'deadlift' ),
				),

				array(
					'param_name'  => 'columns',
					'heading'     => esc_html__( 'Columns', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Auto', 'deadlift' ) => 'default',
						esc_html__( 'Two', 'deadlift' ) => 2,
						esc_html__( 'Three', 'deadlift' ) => 3,
						esc_html__( 'Four', 'deadlift' ) => 4,
						esc_html__( 'Six', 'deadlift' ) => 6,
						esc_html__( 'One', 'deadlift' ) => 1,
					),
					'std'         => 'default',
					'admin_label' => true,
					'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
					'dependency'  => array(
						'element'            => 'post_display',
						'value_not_equal_to' => array( 'standard', 'standard_modern' ),
					),
					'group'       => esc_html__( 'Extra', 'deadlift' ),
				),
			),

		)
	);

	class WPBakeryShortCode_Wvc_Gallery_Index extends WPBakeryShortCode {} // phpcs:ignore
} // end Gallery plugin check.

if ( class_exists( 'Wolf_Videos' ) && ! class_exists( 'WPBakeryShortCode_Wvc_Video_Index' ) ) {
	/**
	 * Videos Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Videos', 'deadlift' ),
			'description' => esc_html__( 'Display your videos using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_video_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 999,
			'params'      => array(

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Index ID', 'deadlift' ),
					'value'       => 'index-' . wp_rand( 0, 99999 ),
					'param_name'  => 'el_id',
					'description' => esc_html__( 'A unique identifier for the post module (required).', 'deadlift' ),
				),

				array(
					'heading'     => esc_html__( 'Show video on hover', 'deadlift' ),
					'param_name'  => 'video_preview',
					'type'        => 'checkbox',
					'admin_label' => true,
					'value'       => 'yes',
					'dependency'  => array(
						'element' => 'video_module',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'video_module',
					'heading'     => esc_html__( 'Module', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Grid', 'deadlift' ) => 'grid',
						esc_html__( 'Carousel', 'deadlift' ) => 'carousel',
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'video_custom_thumbnail_size',
					'heading'     => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
					'type'        => 'wvc_textfield',
					'admin_label' => true,
					'placeholder' => '415x230',
				),

				array(
					'param_name'  => 'grid_padding',
					'heading'     => esc_html__( 'Padding', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Yes', 'deadlift' ) => 'yes',
						esc_html__( 'No', 'deadlift' ) => 'no',
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'video_onclick',
					'heading'     => esc_html__( 'On Click', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Open Video in Lightbox', 'deadlift' ) => 'lightbox',
						esc_html__( 'Go to the Video Page', 'deadlift' ) => 'default',
					),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Category Filter', 'deadlift' ),
					'param_name'  => 'video_category_filter',
					'type'        => 'checkbox',
					'admin_label' => true,
					'description' => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
					'dependency'  => array(
						'element' => 'video_module',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'heading'    => esc_html__( 'Filter Text Alignement', 'deadlift' ),
					'param_name' => 'video_category_filter_text_alignment',
					'type'       => 'dropdown',
					'value'      => array(
						esc_html__( 'Center', 'deadlift' ) => 'center',
						esc_html__( 'Left', 'deadlift' ) => 'left',
						esc_html__( 'Right', 'deadlift' ) => 'right',
					),
					'dependency' => array(
						'element' => 'video_category_filter',
						'value'   => array( 'true' ),
					),
				),

				array(
					'heading'     => esc_html__( 'Animation', 'deadlift' ),
					'param_name'  => 'item_animation',
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_animations() ),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Number of Posts', 'deadlift' ),
					'param_name'  => 'posts_per_page',
					'type'        => 'wvc_textfield',
					'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'pagination',
					'heading'     => esc_html__( 'Pagination', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'None', 'deadlift' ) => 'none',
						esc_html__( 'Load More', 'deadlift' ) => 'load_more',
						esc_html__( 'Numeric Pagination', 'deadlift' ) => 'standard_pagination',
						esc_html__( 'Link to Video Archives', 'deadlift' ) => 'link_to_videos',
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'video_category_link_id',
					'heading'     => esc_html__( 'Category', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_video_cat_dropdown_options() ),
					'dependency'  => array(
						'element' => 'pagination',
						'value'   => array( 'link_to_video_category' ),
					),
					'admin_label' => true,
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Include Category', 'deadlift' ),
					'param_name'  => 'video_type_include',
					'description' => esc_html__( 'Enter one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Category', 'deadlift' ),
					'param_name'  => 'video_type_exclude',
					'description' => esc_html__( 'Enter one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Include Tag', 'deadlift' ),
					'param_name'  => 'video_tag_include',
					'description' => esc_html__( 'Enter one or several tags. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-tag, other-tag', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Tag', 'deadlift' ),
					'param_name'  => 'video_tag_exclude',
					'description' => esc_html__( 'Enter one or several tags. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-tag, other-tag', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Offset', 'deadlift' ),
					'description' => esc_html__( '.', 'deadlift' ),
					'param_name'  => 'offset',
					'description' => esc_html__( 'The amount of posts that should be skipped in the beginning of the query.', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Order by', 'deadlift' ),
					'param_name'  => 'orderby',
					'value'       => $order_by_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Select how to sort retrieved posts. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Sort order', 'deadlift' ),
					'param_name'  => 'order',
					'value'       => $order_way_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Designates the ascending or descending order. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Post IDs', 'deadlift' ),
					'description' => esc_html__( 'By default, your last posts will be displayed. You can choose the posts you want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'include_ids',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Post IDs', 'deadlift' ),
					'description' => esc_html__( 'You can choose the posts you don\'t want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'exclude_ids',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'param_name'  => 'columns',
					'heading'     => esc_html__( 'Columns', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Auto', 'deadlift' ) => 'default',
						esc_html__( 'Two', 'deadlift' ) => 2,
						esc_html__( 'Three', 'deadlift' ) => 3,
						esc_html__( 'Four', 'deadlift' ) => 4,
						esc_html__( 'Five', 'deadlift' ) => 5,
						esc_html__( 'Six', 'deadlift' ) => 6,
						esc_html__( 'One', 'deadlift' ) => 1,
					),
					'std'         => 'default',
					'admin_label' => true,
					'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
					'dependency'  => array(
						'element'            => 'post_display',
						'value_not_equal_to' => array( 'standard', 'standard_modern' ),
					),
				),
			),
		)
	);

	class WPBakeryShortCode_Wvc_Video_Index extends WPBakeryShortCode {} // phpcs:ignore
} // end Videos plugin check.

if ( class_exists( 'Wolf_Events' ) && ! class_exists( 'WPBakeryShortCode_Wvc_Event_Index' ) ) {
	/**
	 * Events Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Events', 'deadlift' ),
			'description' => esc_html__( 'Display your events using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_event_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 999,
			'params'      => array(

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Index ID', 'deadlift' ),
					'value'       => 'index-' . wp_rand( 0, 99999 ),
					'param_name'  => 'el_id',
					'description' => esc_html__( 'A unique identifier for the post module (required).', 'deadlift' ),
				),

				array(
					'param_name'  => 'event_display',
					'heading'     => esc_html__( 'Event Display', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip(
						apply_filters(
							'deadlift_event_display_options',
							array(
								'list' => esc_html__( 'List', 'deadlift' ),
							)
						)
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'event_module',
					'heading'     => esc_html__( 'Module', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Grid', 'deadlift' ) => 'grid',
						esc_html__( 'Carousel', 'deadlift' ) => 'carousel',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'event_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'event_location',
					'heading'     => esc_html__( 'Location', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Location', 'deadlift' ) => 'location',
						esc_html__( 'Venue', 'deadlift' ) => 'venue',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'event_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'grid_padding',
					'heading'     => esc_html__( 'Padding', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Yes', 'deadlift' ) => 'yes',
						esc_html__( 'No', 'deadlift' ) => 'no',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'event_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'event_thumbnail_size',
					'heading'     => esc_html__( 'Thumbnail Size', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Default Thumbnail', 'deadlift' ) => 'standard',
						esc_html__( 'Landscape', 'deadlift' ) => 'landscape',
						esc_html__( 'Square', 'deadlift' ) => 'square',
						esc_html__( 'Portrait', 'deadlift' ) => 'portrait',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'event_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'event_custom_thumbnail_size',
					'heading'     => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
					'type'        => 'wvc_textfield',
					'admin_label' => true,
					'placeholder' => '450x450',
				),

				array(
					'type'               => 'dropdown',
					'heading'            => esc_html__( 'Overlay Color', 'deadlift' ),
					'param_name'         => 'overlay_color',
					'value'              => array_merge(
						array( esc_html__( 'Auto', 'deadlift' ) => 'auto' ),
						$shared_gradient_colors,
						$shared_colors,
						array( esc_html__( 'Custom color', 'deadlift' ) => 'custom' )
					),
					'std'                => apply_filters( 'wvc_default_item_overlay_color', 'black' ),
					'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
					'param_holder_class' => 'wvc_colored-dropdown',
					'dependency'         => array(
						'element' => 'event_display',
						'value'   => array( 'grid' ),
					),
				),
				array(
					'type'       => 'colorpicker',
					'heading'    => esc_html__( 'Overlay Custom Color', 'deadlift' ),
					'param_name' => 'overlay_custom_color',
					'dependency' => array(
						'element' => 'overlay_color',
						'value'   => array( 'custom' ),
					),
				),
				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Overlay Opacity in Percent', 'deadlift' ),
					'param_name'  => 'overlay_opacity',
					'description' => '',
					'value'       => 40,
					'std'         => apply_filters( 'wvc_default_item_overlay_opacity', 40 ),
					'dependency'  => array(
						'element' => 'event_display',
						'value'   => array( 'grid' ),
					),
				),
				array(
					'type'               => 'dropdown',
					'heading'            => esc_html__( 'Overlay Text Color', 'deadlift' ),
					'param_name'         => 'overlay_text_color',
					'value'              => array_merge(
						$shared_colors,
						$shared_gradient_colors,
						array( esc_html__( 'Custom color', 'deadlift' ) => 'custom' )
					),
					'std'                => apply_filters( 'wvc_default_item_overlay_text_color', 'white' ),
					'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
					'param_holder_class' => 'wvc_colored-dropdown',
					'dependency'         => array(
						'element' => 'event_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'type'       => 'colorpicker',
					'heading'    => esc_html__( 'Overlay Custom Text Color', 'deadlift' ),
					'param_name' => 'overlay_text_custom_color',
					'dependency' => array(
						'element' => 'overlay_text_color',
						'value'   => array( 'custom' ),
					),
				),

				array(
					'param_name'  => 'pagination',
					'heading'     => esc_html__( 'Pagination', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'None', 'deadlift' ) => 'none',
						esc_html__( 'Link to Event Archives', 'deadlift' ) => 'link_to_events',
					),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Animation', 'deadlift' ),
					'param_name'  => 'item_animation',
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_animations() ),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Number of Posts', 'deadlift' ),
					'param_name'  => 'posts_per_page',
					'type'        => 'wvc_textfield',
					'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
					'admin_label' => true,
				),

				array(
					'type'       => 'dropdown',
					'heading'    => esc_html__( 'Timeline', 'deadlift' ),
					'param_name' => 'timeline',
					'value'      => array(
						esc_html__( 'Future', 'deadlift' ) => 'future',
						esc_html__( 'Past', 'deadlift' ) => 'past',
					),
					'group'      => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Include Artist', 'deadlift' ),
					'param_name'  => 'artist_include',
					'description' => esc_html__( 'Enter one or several bands. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Artist', 'deadlift' ),
					'param_name'  => 'artist_exclude',
					'description' => esc_html__( 'Enter one or several bands. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Offset', 'deadlift' ),
					'description' => esc_html__( '.', 'deadlift' ),
					'param_name'  => 'offset',
					'description' => esc_html__( 'The amount of posts that should be skipped in the beginning of the query.', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'param_name'  => 'columns',
					'heading'     => esc_html__( 'Columns', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Auto', 'deadlift' ) => 'default',
						esc_html__( 'Two', 'deadlift' ) => 2,
						esc_html__( 'Three', 'deadlift' ) => 3,
						esc_html__( 'Four', 'deadlift' ) => 4,
						esc_html__( 'Five', 'deadlift' ) => 5,
						esc_html__( 'Six', 'deadlift' ) => 6,
						esc_html__( 'One', 'deadlift' ) => 1,
					),
					'std'         => 'default',
					'admin_label' => true,
					'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
					'dependency'  => array(
						'element'            => 'post_display',
						'value_not_equal_to' => array( 'standard', 'standard_modern' ),
					),
				),
			),
		)
	);

	class WPBakeryShortCode_Wvc_Event_Index extends WPBakeryShortCode {} // phpcs:ignore
} // end Events plugin check.


if ( class_exists( 'Wolf_Portfolio' ) && ! class_exists( 'WPBakeryShortCode_Wvc_Work_Index' ) ) {

	/**
	 * Work Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Works', 'deadlift' ),
			'description' => esc_html__( 'Display your works using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_work_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 999,
			'params'      => apply_filters('wvc_work_index_params', array(

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Index ID', 'deadlift' ),
					'value'       => 'index-' . wp_rand( 0, 99999 ),
					'param_name'  => 'el_id',
					'description' => esc_html__( 'A unique identifier for the post module (required).', 'deadlift' ),
				),

				array(
					'param_name'  => 'work_display',
					'heading'     => esc_html__( 'Work Display', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip(
						apply_filters(
							'deadlift_work_display_options',
							array(
								'grid' => esc_html__( 'Grid', 'deadlift' ),
							)
						)
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'work_metro_pattern',
					'heading'     => esc_html__( 'Metro Pattern', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_metro_patterns() ),
					'std'         => 'auto',
					'dependency'  => array(
						'element' => 'work_display',
						'value'   => array( 'metro' ),
					),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'work_module',
					'heading'     => esc_html__( 'Module', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Grid', 'deadlift' ) => 'grid',
						esc_html__( 'Carousel', 'deadlift' ) => 'carousel',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'work_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'work_thumbnail_size',
					'heading'     => esc_html__( 'Thumbnail Size', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Default Thumbnail', 'deadlift' ) => 'standard',
						esc_html__( 'Landscape', 'deadlift' ) => 'landscape',
						esc_html__( 'Square', 'deadlift' ) => 'square',
						esc_html__( 'Portrait', 'deadlift' ) => 'portrait',
						esc_html__( 'Custom', 'deadlift' ) => 'custom',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'work_display',
						'value'   => array( 'grid' ),
					),
				),

				array(
					'param_name'  => 'work_custom_thumbnail_size',
					'heading'     => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
					'type'        => 'wvc_textfield',
					'admin_label' => true,
					'placeholder' => '450x450',
					'dependency'  => array(
						'element' => 'work_thumbnail_size',
						'value'   => array( 'custom' ),
					),
				),

				array(
					'param_name'  => 'work_layout',
					'heading'     => esc_html__( 'Layout', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Classic', 'deadlift' ) => 'standard',
						esc_html__( 'Overlay', 'deadlift' ) => 'overlay',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element'            => 'work_display',
						'value_not_equal_to' => array( 'list_minimal', 'text-background', 'parallax' ),
					),
				),

				array(
					'param_name'  => 'grid_padding',
					'heading'     => esc_html__( 'Padding', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Yes', 'deadlift' ) => 'yes',
						esc_html__( 'No', 'deadlift' ) => 'no',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'work_layout',
						'value'   => array( 'overlay', 'flip-box' ),
					),
				),

				array(
					'heading'     => esc_html__( 'Category Filter', 'deadlift' ),
					'param_name'  => 'work_category_filter',
					'type'        => 'checkbox',
					'description' => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
					'admin_label' => true,
					'dependency'  => array(
						'element'            => 'work_display',
						'value_not_equal_to' => array( 'list_minimal', 'text-background', 'parallax' ),
					),
				),

				array(
					'heading'    => esc_html__( 'Filter Text Alignement', 'deadlift' ),
					'param_name' => 'work_category_filter_text_alignment',
					'type'       => 'dropdown',
					'value'      => array(
						esc_html__( 'Center', 'deadlift' ) => 'center',
						esc_html__( 'Left', 'deadlift' ) => 'left',
						esc_html__( 'Right', 'deadlift' ) => 'right',
					),
					'dependency' => array(
						'element' => 'work_category_filter',
						'value'   => array( 'true' ),
					),
				),

				array(
					'heading'     => esc_html__( 'Animation', 'deadlift' ),
					'param_name'  => 'item_animation',
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_animations() ),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Number of Posts', 'deadlift' ),
					'param_name'  => 'posts_per_page',
					'type'        => 'wvc_textfield',
					'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
					'admin_label' => true,
				),

				array(
					'param_name'  => 'pagination',
					'heading'     => esc_html__( 'Pagination', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'None', 'deadlift' ) => 'none',
						esc_html__( 'Load More', 'deadlift' ) => 'load_more',
						esc_html__( 'Link to Portfolio', 'deadlift' ) => 'link_to_portfolio',
					),
					'admin_label' => true,
					'dependency'  => array(
						'element' => 'work_display',
						'value'   => array( 'grid', 'masonry' ),
					),
				),

				array(
					'heading'    => esc_html__( 'Additional CSS inline style', 'deadlift' ),
					'param_name' => 'inline_style',
					'type'       => 'wvc_textfield',
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Include Category', 'deadlift' ),
					'param_name'  => 'work_type_include',
					'description' => esc_html__( 'Enter one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Category', 'deadlift' ),
					'param_name'  => 'work_type_exclude',
					'description' => esc_html__( 'Enter one or several categories. Paste category slug(s) separated by a comma', 'deadlift' ),
					'placeholder' => esc_html__( 'my-category, other-category', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Offset', 'deadlift' ),
					'description' => esc_html__( '.', 'deadlift' ),
					'param_name'  => 'offset',
					'description' => esc_html__( 'The amount of posts that should be skipped in the beginning of the query.', 'deadlift' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Order by', 'deadlift' ),
					'param_name'  => 'orderby',
					'value'       => $order_by_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Select how to sort retrieved posts. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Sort order', 'deadlift' ),
					'param_name'  => 'order',
					'value'       => $order_way_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Designates the ascending or descending order. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Post IDs', 'deadlift' ),
					'description' => esc_html__( 'By default, your last posts will be displayed. You can choose the posts you want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'include_ids',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Post IDs', 'deadlift' ),
					'description' => esc_html__( 'You can choose the posts you don\'t want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'exclude_ids',
					'group'       => esc_html__( 'Query', 'deadlift' ),
				),

				array(
					'param_name'  => 'columns',
					'heading'     => esc_html__( 'Columns', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Auto', 'deadlift' ) => 'default',
						esc_html__( 'Two', 'deadlift' ) => 2,
						esc_html__( 'Three', 'deadlift' ) => 3,
						esc_html__( 'Four', 'deadlift' ) => 4,
						esc_html__( 'Five', 'deadlift' ) => 5,
						esc_html__( 'Six', 'deadlift' ) => 6,
						esc_html__( 'One', 'deadlift' ) => 1,
					),
					'std'         => 'default',
					'admin_label' => true,
					'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
					'dependency'  => array(
						'element'            => 'post_display',
						'value_not_equal_to' => array( 'standard', 'standard_modern' ),
					),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Extra class name', 'deadlift' ),
					'param_name'  => 'el_class',
					'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'deadlift' ),
					'group'       => esc_html__( 'Extra', 'deadlift' ),
				),
			) ),
		)
	);

	class WPBakeryShortCode_Wvc_Work_Index extends WPBakeryShortCode {} // phpcs:ignore
} // end Portfolio plugin check.

if ( ! class_exists( 'WPBakeryShortCode_Wvc_Page_Index' ) ) {

	$parent_pages = array( esc_html__( 'No', 'deadlift' ) => '' );
	$all_pages    = get_pages();

	foreach ( $all_pages as $p ) {

		if ( 0 < count(
			get_posts(
				array(
					'post_parent' => $p->ID,
					'post_type'   => 'page',
				)
			)
		) ) {
			$parent_pages[ $p->post_title ] = $p->ID;
		}
	}

	/**
	 * Page Loop Module
	 */
	vc_map(
		array(
			'name'        => esc_html__( 'Pages', 'deadlift' ),
			'description' => esc_html__( 'Display your pages using the theme layouts', 'deadlift' ),
			'base'        => 'wvc_page_index',
			'category'    => esc_html__( 'Content', 'deadlift' ),
			'icon'        => 'fa fa-th',
			'weight'      => 0,
			'params'      => array(

				array(
					'type'       => 'hidden',
					'heading'    => esc_html__( 'ID', 'deadlift' ),
					'value'      => 'items-' . wp_rand( 0, 99999 ),
					'param_name' => 'el_id',
				),

				array(
					'param_name'  => 'page_display',
					'heading'     => esc_html__( 'Page Display', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array_flip(
						apply_filters(
							'deadlift_page_display_options',
							array(
								'grid' => esc_html__( 'Image Grid', 'deadlift' ),
							)
						)
					),
					'admin_label' => true,
				),


				array(
					'heading'     => esc_html__( 'Animation', 'deadlift' ),
					'param_name'  => 'item_animation',
					'type'        => 'dropdown',
					'value'       => array_flip( deadlift_get_animations() ),
					'admin_label' => true,
				),

				array(
					'heading'     => esc_html__( 'Number of Page to display', 'deadlift' ),
					'param_name'  => 'posts_per_page',
					'type'        => 'wvc_textfield',
					'placeholder' => get_option( 'posts_per_page' ),
					'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
					'std'         => get_option( 'posts_per_page' ),
					'admin_label' => true,
				),

				array(
					'heading'    => esc_html__( 'Additional CSS inline style', 'deadlift' ),
					'param_name' => 'inline_style',
					'type'       => 'wvc_textfield',
				),

				array(
					'param_name' => 'page_by_parent',
					'heading'    => esc_html__( 'Pages By Parent', 'deadlift' ),
					'type'       => 'dropdown',
					'value'      => $parent_pages,
					'group'      => esc_html( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Post IDs', 'deadlift' ),
					'description' => esc_html__( 'By default, your last posts will be displayed. You can choose the posts you want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'include_ids',
					'group'       => esc_html( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'wvc_textfield',
					'heading'     => esc_html__( 'Exclude Post IDs', 'deadlift' ),
					'description' => esc_html__( 'You can choose the posts you don\'t want to display by entering a list of IDs separated by a comma.', 'deadlift' ),
					'param_name'  => 'exclude_ids',
					'group'       => esc_html( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Order by', 'deadlift' ),
					'param_name'  => 'orderby',
					'value'       => $order_by_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Select how to sort retrieved pages. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html( 'Query', 'deadlift' ),
				),

				array(
					'type'        => 'dropdown',
					'heading'     => esc_html__( 'Sort order', 'deadlift' ),
					'param_name'  => 'order',
					'value'       => $order_way_values,
					'save_always' => true,
					'description' => sprintf( deadlift_kses( __( 'Designates the ascending or descending order. More at %s.', 'deadlift' ) ), '<a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">WordPress codex page</a>' ),
					'group'       => esc_html( 'Query', 'deadlift' ),
				),

				array(
					'param_name'  => 'columns',
					'heading'     => esc_html__( 'Columns', 'deadlift' ),
					'type'        => 'dropdown',
					'value'       => array(
						esc_html__( 'Auto', 'deadlift' ) => 'default',
						esc_html__( 'Two', 'deadlift' ) => 2,
						esc_html__( 'Three', 'deadlift' ) => 3,
						esc_html__( 'Four', 'deadlift' ) => 4,
						esc_html__( 'Six', 'deadlift' ) => 6,
						esc_html__( 'One', 'deadlift' ) => 1,
					),
					'std'         => 'default',
					'admin_label' => true,
					'description' => esc_html__( 'By default, columns are set automatically depending on the container\'s width. Set a column count here to overwrite the default behavior.', 'deadlift' ),
					'dependency'  => array(
						'element'            => 'post_display',
						'value_not_equal_to' => array( 'standard', 'standard_modern' ),
					),
					'group'       => esc_html__( 'Extra', 'deadlift' ),
				),
			),
		)
	);

	class WPBakeryShortCode_Wvc_Page_Index extends WPBakeryShortCode {} // phpcs:ignore
}
Page not found – Hello World !