Current File : /home/kelaby89/muzza.fit/wp-content/themes/deadlift/inc/module-params.php
<?php
/**
 * Custom Post Types module parameters
 *
 * @package WordPress
 * @subpackage Deadlift
 * @version 1.8.2
 */

defined( 'ABSPATH' ) || exit;

if ( ! class_exists( 'Wolf_Core' ) ) {
	return; // we will need the functions below in some cases
}

/**
 * Common parameters  usedacross post type modules
 */
function deadlift_common_module_params( $animation_condition = array(), $post_count_condition = array() ) {

	/**
	 * Filters the common post module parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_common_module_params',
		array(
			array(
				'type'        => 'text',
				'label'       => esc_html__( 'Index ID', 'deadlift' ),
				'default'     => 'index-' . wp_rand( 0, 99999 ),
				'param_name'  => 'el_id',
				'description' => esc_html__( 'A unique identifier for the post module (required).', 'deadlift' ),
				'ai' => array(
					'active' => false,
				),
			),
			array(
				'label'       => esc_html__( 'Animation', 'deadlift' ),
				'param_name'  => 'item_animation',
				'type'        => 'select',
				'options'     => deadlift_get_animations(),
				'default'     => 'none',
				'admin_label' => true,
				'condition'   => $animation_condition,
			),

			array(
				'label'       => esc_html__( 'Number of Posts', 'deadlift' ),
				'param_name'  => 'posts_per_page',
				'type'        => 'number',
				'placeholder' => 9,
				'description' => esc_html__( 'Leave empty to display all post at once.', 'deadlift' ),
				'admin_label' => true,
				'condition'   => $post_count_condition,
				'ai' => array(
					'active' => false,
				),
			),

			array(
				'type'        => 'number',
				'label'       => 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,
				'ai' => array(
					'active' => false,
				),
			),

			array(
				'label'       => esc_html__( 'Quick CSS', 'deadlift' ),
				'description' => esc_html__( 'CSS inline style', 'deadlift' ),
				'param_name'  => 'inline_style',
				'type'        => 'textarea',
				'group'       => esc_html__( 'Extra', 'deadlift' ),
			),
		)
	);
}

/**
 * Overlay appearance parameters used across post type modules
 *
 * @param string $post_type The post type, duh.
 */
function deadlift_overlay_module_params( $post_type ) {

	/**
	 * Filters the common post module overlay parameters
	 *
	 * For gallery type post type (gallery, release, work etc.)
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_overlay_module_params',
		array(
			/* Overlay Color for VC */
			array(
				'type'               => 'select',
				'label'              => esc_html__( 'Overlay Color', 'deadlift' ),
				'param_name'         => 'overlay_color',
				'options'            => array_merge(
					array( 'auto' => esc_html__( 'Auto', 'deadlift' ) ),
					deadlift_shared_gradient_colors(),
					deadlift_shared_colors(),
					array( 'custom' => esc_html__( 'Custom color', 'deadlift' ) )
				),

				/**
				 * Filters the default item overlay color
				 *
				 * @since 1.0.0
				 */
				'default'            => apply_filters( 'wolf_core_default_item_overlay_color', 'black' ),
				'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
				'param_holder_class' => 'wolf_core_colored-select',
				'condition'          => array(
					$post_type . '_layout' => array( 'overlay' ),
				),
				'page_builder'       => 'vc',
			),

			array(
				'type'         => 'colorpicker',
				'label'        => esc_html__( 'Overlay Custom Color', 'deadlift' ),
				'param_name'   => 'overlay_custom_color',
				'condition'    => array(
					$post_type . '_layout' => array( 'overlay' ),
					'overlay_color'        => array( 'custom' ),
				),
				'page_builder' => 'vc',
			),

			/* Overlay Color for Elementor */
			array(
				'label'        => esc_html__( 'Overlay Color', 'deadlift' ),
				'type'         => 'select',
				'options'      => array_merge(
					array( 'auto' => esc_html__( 'Auto', 'deadlift' ) ),
					deadlift_shared_colors(),
					array( 'custom' => esc_html__( 'Custom color', 'deadlift' ) )
				),
				'param_name'   => 'overlay_color',
				'default'      => 'auto',
				'page_builder' => 'elementor',
				'condition'    => array(
					$post_type . '_layout' => array( 'overlay' ),
				),
				'group'        => esc_html__( 'Style', 'deadlift' ),
			),

			array(
				'type'         => 'colorpicker',
				'label'        => esc_html__( 'Overlay Color', 'deadlift' ),
				'param_name'   => 'overlay_custom_color',
				'page_builder' => 'elementor',
				'selectors'    => array(
					'{{WRAPPER}} .bg-overlay' => 'background-color: {{VALUE}}!important;',
				),

				'group'        => esc_html__( 'Style', 'deadlift' ),
				'condition'    => array(
					$post_type . '_layout' => array( 'overlay' ),
					'overlay_color'        => array( 'custom' ),
				),
				'page_builder' => 'elementor',
			),

			/* Overlay Opacity */
			array(
				'type'         => 'slider',
				'label'        => esc_html__( 'Overlay Opacity', 'deadlift' ),
				'param_name'   => 'overlay_opacity',
				'min'          => 0,
				'max'          => 1,
				'step'         => 0.01,

				/**
				 * Filters the default item overlay opacity
				 *
				 * @since 1.0.0
				 */
				'default'      => apply_filters( 'wolf_core_default_item_overlay_opacity', 40 ) / 100,
				'condition'    => array(
					$post_type . '_layout' => array( 'overlay' ),
				),
				'selectors'    => array(
					'{{WRAPPER}} .bg-overlay' => 'opacity: {{SIZE}}!important;',
				),
				'group'        => esc_html__( 'Style', 'deadlift' ),
				'page_builder' => 'elementor',
			),

			array(
				'type'         => 'slider',
				'label'        => esc_html__( 'Overlay Opacity in Percent', 'deadlift' ),
				'param_name'   => 'overlay_opacity',
				'min'          => 0,
				'max'          => 100,
				'step'         => 1,

				/**
				 * Filters the default item overlay opacity
				 *
				 * @since 1.0.0
				 */
				'default'      => apply_filters( 'wolf_core_default_item_overlay_opacity', 40 ),
				'condition'    => array(
					$post_type . '_layout' => array( 'overlay' ),
				),
				'group'        => esc_html__( 'Style', 'deadlift' ),
				'page_builder' => 'vc',
			),

			/* Overlay Text Color for VC */
			array(
				'type'               => 'select',
				'label'              => esc_html__( 'Overlay Text Color', 'deadlift' ),
				'param_name'         => 'overlay_text_color',
				'options'            => array_merge(
					array( 'auto' => esc_html__( 'Auto', 'deadlift' ) ),
					deadlift_shared_gradient_colors(),
					deadlift_shared_colors(),
					array( 'custom' => esc_html__( 'Custom color', 'deadlift' ) )
				),

				/**
				 * Filters the default item overlay color
				 *
				 * @since 1.0.0
				 */
				'default'            => apply_filters( 'wolf_core_default_item_overlay_color', 'black' ),
				'description'        => esc_html__( 'Select an overlay color.', 'deadlift' ),
				'param_holder_class' => 'wolf_core_colored-select',
				'condition'          => array(
					$post_type . '_layout' => array( 'overlay' ),
				),
				'page_builder'       => 'vc',
			),

			array(
				'type'         => 'colorpicker',
				'label'        => esc_html__( 'Overlay Custom Text Color', 'deadlift' ),
				'param_name'   => 'overlay_text_custom_color',
				'condition'    => array(
					$post_type . '_layout' => array( 'overlay' ),
					'overlay_text_color'   => array( 'custom' ),
				),
				'page_builder' => 'vc',
			),

			/* Overlay Text Color for Elementor */
			array(
				'label'        => esc_html__( 'Overlay Text Color', 'deadlift' ),
				'type'         => 'hidden',
				'param_name'   => 'overlay_text_color',
				'default'      => 'custom',
				'condition'    => array(
					$post_type . '_layout' => array( 'overlay' ),
				),
				'page_builder' => 'elementor',
			),

			array(
				'type'         => 'colorpicker',
				'label'        => esc_html__( 'Overlay Text Color', 'deadlift' ),
				'param_name'   => 'overlay_text_custom_color',
				'page_builder' => 'elementor',
				'selectors'    => array(
					'{{WRAPPER}} .entry-summary' => 'color: {{VALUE}}!important;',
				),
				'condition'    => array(
					$post_type . '_layout' => array( 'overlay' ),
				),
				'group'        => esc_html__( 'Style', 'deadlift' ),
				'page_builder' => 'elementor',
			),
		)
	);
}

/**
 * Post Index
 */
function deadlift_post_index_params() {

	/**
	 * Filters the post module parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_post_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Posts', 'deadlift' ),
				'description'   => esc_html__( 'Display your posts using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_post_index',
				'el_base'       => 'post-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
			),

			'params'     => array_merge(
				deadlift_common_module_params(),
				array(
					array(
						'param_name'  => 'post_display',
						'label'       => esc_html__( 'Post Display', 'deadlift' ),
						'type'        => 'select',

						/**
						 * Filters the post display option parameters
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_post_display_options',
							array(
								'standard' => esc_html__( 'Standard', 'deadlift' ),
								'grid'     => esc_html__( 'Grid', 'deadlift' ),
							)
						),
						'default'     => 'grid',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'post_metro_pattern',
						'label'       => esc_html__( 'Metro Pattern', 'deadlift' ),
						'type'        => 'select',
						'options'     => deadlift_get_metro_patterns(),
						'default'     => 'auto',
						'condition'   => array(
							'post_display' => array( 'metro_modern_alt', 'metro' ),
						),
						'admin_label' => true,
					),

					array(
						'param_name'   => 'post_alternate_thumbnail_position',
						'label'        => esc_html__( 'Alternate thumbnail position', 'deadlift' ),
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'no',
						'condition'    => array(
							'post_display' => array( 'lateral' ),
						),
					),

					array(
						'param_name'  => 'post_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'description' => esc_html__( 'The carousel is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
						'condition'   => array(
							'post_display' => array( 'grid', 'grid_classic', 'grid_modern' ),
						),
					),

					array(
						'param_name' => 'post_excerpt_length',
						'label'      => esc_html__( 'Post Excerpt Lenght', 'deadlift' ),
						'type'       => 'select',
						'options'    => array(
							'shorten' => esc_html__( 'Shorten', 'deadlift' ),
							'full'    => esc_html__( 'Full', 'deadlift' ),
						),
						'default'    => 'shorten',
						'condition'  => array(
							'post_display' => array( 'masonry' ),
						),
					),

					'post_display_elements' => array(
						'param_name'   => 'post_display_elements',
						'label'        => esc_html__( 'Elements', 'deadlift' ),
						'type'         => 'group_checkbox',
						'options'      => array(
							'show_thumbnail'  => esc_html__( 'Thumbnail', 'deadlift' ),
							'show_date'       => esc_html__( 'Date', 'deadlift' ),
							'show_text'       => esc_html__( 'Text', 'deadlift' ),
							'show_category'   => esc_html__( 'Category', 'deadlift' ),
							'show_author'     => esc_html__( 'Author', 'deadlift' ),
							'show_tags'       => esc_html__( 'Tags', 'deadlift' ),
							'show_extra_meta' => esc_html__( 'Extra Meta', 'deadlift' ),
						),
						'default'      => '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,
						'page_builder' => 'vc',
					),

					array(
						'param_name'   => 'post_show_thumbnail',
						'label'        => esc_html__( 'Show Thumbnail', 'deadlift' ),
						'type'         => 'checkbox',
						'default'      => 'yes',
						'page_builder' => 'elementor',
					),

					array(
						'param_name'   => 'post_show_date',
						'label'        => esc_html__( 'Show Date', 'deadlift' ),
						'type'         => 'checkbox',
						'default'      => 'yes',
						'page_builder' => 'elementor',
					),

					array(
						'param_name'   => 'post_show_text',
						'label'        => esc_html__( 'Show Text', 'deadlift' ),
						'type'         => 'checkbox',
						'default'      => 'yes',
						'page_builder' => 'elementor',
					),

					array(
						'param_name'   => 'post_show_category',
						'label'        => esc_html__( 'Show Category', 'deadlift' ),
						'type'         => 'checkbox',
						'default'      => 'yes',
						'page_builder' => 'elementor',
					),

					array(
						'param_name'   => 'post_show_author',
						'label'        => esc_html__( 'Show Author', 'deadlift' ),
						'type'         => 'checkbox',
						'default'      => 'yes',
						'page_builder' => 'elementor',
					),

					array(
						'param_name'   => 'post_show_tags',
						'label'        => esc_html__( 'Show Tags', 'deadlift' ),
						'type'         => 'checkbox',
						'default'      => 'yes',
						'page_builder' => 'elementor',
					),

					array(
						'param_name'  => 'post_excerpt_type',
						'label'       => esc_html__( 'Post Excerpt Type', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'auto'   => esc_html__( 'Auto', 'deadlift' ),
							'manual' => esc_html__( 'Manual', 'deadlift' ),
						),
						'default'     => 'auto',
						'description' => sprintf(
							deadlift_kses(
								/* translators: %s: WP codex link */
								__( 'When using the manual excerpt, you must split your post using a "More Tag".', 'deadlift' )
							),
							esc_url( 'https://en.support.wordpress.com/more-tag/' )
						),
						'condition'   => array(
							'post_display' => array( 'standard', 'standard_modern' ),
						),
					),

					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
						'condition'   => array(
							'post_display' => array( 'grid', 'masonry', 'metro' ),
						),
					),

					array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'                => esc_html__( 'None', 'deadlift' ),
							'load_more'           => esc_html__( 'Load More', 'deadlift' ),
							'standard_pagination' => esc_html__( 'Numeric Pagination', 'deadlift' ),
							'link_to_blog'        => esc_html__( 'Link to Blog Archives', 'deadlift' ),
						),
						'default'     => 'none',
						'admin_label' => true,
					),

					array(
						'type'         => 'checkbox',
						'label'        => esc_html__( 'Ignore Sticky Posts', 'deadlift' ),
						'param_name'   => 'ignore_sticky_posts',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'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',
						'label'        => esc_html__( 'Exclude Sticky Posts', 'deadlift' ),
						'description'  => esc_html__( 'It will still exclude the sticky posts.', 'deadlift' ),
						'param_name'   => 'exclude_sticky_posts',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'group'        => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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'        => 'select',
						'label'       => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'options'     => deadlift_order_by_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Select how to sort retrieved posts. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'options'     => deadlift_order_way_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Designates the ascending or descending order. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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' ),
					),

					'columns' => array(
						'param_name'  => 'columns',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							2 => esc_html__( 'Two', 'deadlift' ),
							3 => esc_html__( 'Three', 'deadlift' ),
							4 => esc_html__( 'Four', 'deadlift' ),
							5 => esc_html__( 'Five', 'deadlift' ),
							6 => esc_html__( 'Six', 'deadlift' ),
							1 => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
						'condition'   => array(
							'post_display' => array( 'grid', 'grid_classic', 'masonry', 'masonry_modern' ),
						),
					),

					array(
						'type'        => 'text',
						'label'       => 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' ),
					),
				)
			),
		)
	);
}

/**
 * Release Index
 */
function deadlift_release_index_params() {

	/**
	 * Filters the release post module parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_release_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Releases', 'deadlift' ),
				'description'   => esc_html__( 'Display your releases using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_release_index',
				'el_base'       => 'release-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
			),

			'params'     => array_merge(
				deadlift_common_module_params(
					/**
					 * Filters the release post animation condition
					 *
					 * Can the release post can be animated or not depending on its layout/display
					 *
					 * @since 1.0.0
					 */
					apply_filters( 'deadlift_release_animation_condition', array( 'release_display' => array( 'metro', 'grid', 'animated-panel', 'animated_cover', ) ) ),
					/**
					 * Filters the release post count condition
					 *
					 * Should we display the post count setting if the layout has a fix post count and don't allow it
					 *
					 * @since 1.0.0
					 */
					apply_filters( 'deadlift_release_post_count_condition', array( 'release_display' => array( 'metro', 'grid', 'animated-panel', 'animated_cover', ) ) )
				),
				array(
					array(
						'param_name'  => 'release_display',
						'label'       => esc_html__( 'Release Display', 'deadlift' ),
						'type'        => 'select',

						/**
						 * Filters the release post display option
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_release_display_options',
							array(
								'grid' => esc_html__( 'Grid', 'deadlift' ),
							)
						),
						'description' => esc_html__( 'The metro layout is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'release_metro_pattern',
						'label'       => esc_html__( 'Metro Pattern', 'deadlift' ),
						'type'        => 'select',
						'options'     => deadlift_get_metro_patterns(),
						'default'     => 'auto',
						'condition'   => array(
							'release_display' => array( 'metro' ),
						),
						'admin_label' => true,
					),

					array(
						'param_name'   => 'release_alternate_thumbnail_position',
						'label'        => esc_html__( 'Alternate thumbnail position', 'deadlift' ),
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'condition'    => array(
							'release_display' => array( 'lateral' ),
						),
					),

					array(
						'param_name'  => 'release_layout',
						'label'       => esc_html__( 'Layout', 'deadlift' ),
						'type'        => 'select',

						/**
						 * Filters the release post layout option
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_release_layout_options',
							array(
								'standard' => esc_html__( 'Classic', 'deadlift' ),
								'overlay'  => esc_html__( 'Overlay', 'deadlift' ),
							)
						),
						'default'     => 'standard',
						'admin_label' => true,
						'condition'   => array(
							'release_display' => array( 'grid', 'metro', 'masonry' ),
						),
					),

					array(
						'param_name'  => 'release_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'description' => esc_html__( 'The carousel is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
						'condition'   => array(
							'release_display' => array( 'grid', 'animated_cover' ),
						),
					),

					array(
						'param_name'  => 'release_custom_thumbnail_size',
						'label'       => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
						'type'        => 'text',
						'admin_label' => true,
						'placeholder' => '450x450',
						'ai' => array(
							'active' => false,
						),
					),

					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
						'condition'   => array(
							'release_layout' => array( 'standard', 'overlay', 'label' ),
						),
					),
				),
				deadlift_overlay_module_params( 'release' ),
				array(
					'release_category_filter' => array(
						'label'        => esc_html__( 'Category Filter', 'deadlift' ),
						'param_name'   => 'release_category_filter',
						'description'  => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'admin_label'  => true,
						'condition'    => array(
							'release_display' => array( 'grid', 'animated_cover' ),
						),
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'release_category_filter_text_alignment',
						'type'         => 'choose',
						'options'      => array(
							'left'   => array(
								'title' => esc_html__( 'Left', 'deadlift' ),
								'icon'  => 'eicon-text-align-left',
							),
							'center' => array(
								'title' => esc_html__( 'Center', 'deadlift' ),
								'icon'  => 'eicon-text-align-center',
							),
							'right'  => array(
								'title' => esc_html__( 'Right', 'deadlift' ),
								'icon'  => 'eicon-text-align-right',
							),
						),
						'condition'    => array(
							'release_category_filter' => 'yes',
						),
						'selectors'    => array(
							'{{WRAPPER}} .category-filter-release ul' => 'text-align:{{VALUE}};',
						),
						'page_builder' => 'elementor',
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'release_category_filter_text_alignment',
						'type'         => 'select',
						'options'      => array(
							'center' => esc_html__( 'Center', 'deadlift' ),
							'left'   => esc_html__( 'Left', 'deadlift' ),
							'right'  => esc_html__( 'Right', 'deadlift' ),
						),
						'condition'    => array(
							'release_category_filter' => 'yes',
						),
						'page_builder' => 'vc',
					),

					'release_pagination' => array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'                => esc_html__( 'None', 'deadlift' ),
							'load_more'           => esc_html__( 'Load More', 'deadlift' ),
							'standard_pagination' => esc_html__( 'Numeric Pagination', 'deadlift' ),
							'link_to_discography' => esc_html__( 'Link to Discography', 'deadlift' ),
						),
						'condition'   => array(
							'release_category_filter' => '',
						),
						'default'     => 'none',
						'admin_label' => true,
					),

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

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

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

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

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'options'     => deadlift_order_by_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Select how to sort retrieved posts. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'options'     => deadlift_order_way_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Designates the ascending or descending order. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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' ),
					),

					'columns' => array(
						'param_name'  => 'columns',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'default' => esc_html__( 'Auto', 'deadlift' ),
							2         => esc_html__( 'Two', 'deadlift' ),
							3         => esc_html__( 'Three', 'deadlift' ),
							4         => esc_html__( 'Four', 'deadlift' ),
							5         => esc_html__( 'Five', 'deadlift' ),
							6         => esc_html__( 'Six', 'deadlift' ),
							1         => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
						'condition'   => array(
							'release_display' => array( 'grid', 'animated_cover' ),
						),
					),
				)
			),
		)
	);
}

/**
 * Work Index
 */
function deadlift_work_index_params() {

	/**
	 * Filters the work post parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_work_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Works', 'deadlift' ),
				'description'   => esc_html__( 'Display your works using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_work_index',
				'el_base'       => 'work-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
				'scripts'       => array( 'inview' ),
			),

			'params'     => array_merge(
				deadlift_common_module_params(
					/**
					 * Filters the work post animation condition
					 *
					 * Can the work post can be animated or not depending on its layout/display
					 *
					 * @since 1.0.0
					 */
					apply_filters( 'deadlift_work_animation_condition', array( 'work_display' => array( 'metro', 'grid', 'masonry' ) ) ),
					/**
					 * Filters the work post animation condition
					 *
					 * Can the work post can be animated or not depending on its layout/display
					 *
					 * @since 1.0.0
					 */
					apply_filters( 'deadlift_work_post_count_condition', array( 'work_display' => array( 'metro', 'grid', 'masonry' ) ) )
				),
				array(
					array(
						'param_name'  => 'work_display',
						'label'       => esc_html__( 'Work Display', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Work display option filtered
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_work_display_options',
							array(
								'grid' => esc_html__( 'Grid', 'deadlift' ),
							)
						),
						'description' => esc_html__( 'The metro layout is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'work_metro_pattern',
						'label'       => esc_html__( 'Metro Pattern', 'deadlift' ),
						'type'        => 'select',
						'options'     => deadlift_get_metro_patterns(),
						'default'     => 'auto',
						'condition'   => array(
							'work_display' => array( 'metro' ),
						),
						'admin_label' => true,
					),

					array(
						'param_name'   => 'work_alternate_thumbnail_position',
						'label'        => esc_html__( 'Alternate thumbnail position', 'deadlift' ),
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'condition'    => array(
							'work_display' => array( 'lateral' ),
						),
					),

					array(
						'param_name'  => 'work_layout',
						'label'       => esc_html__( 'Layout', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Filters the work post layout option
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_work_layout_options',
							array(
								'standard' => esc_html__( 'Classic', 'deadlift' ),
								'overlay'  => esc_html__( 'Overlay', 'deadlift' ),
							)
						),
						'default'     => 'standard',
						'admin_label' => true,
						'condition'   => array(
							'work_display' => array( 'grid', 'metro', 'masonry' ),
						),
					),

					array(
						'param_name'  => 'work_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'description' => esc_html__( 'The carousel is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
						'condition'   => array(
							'work_display' => array( 'grid' ),
						),
					),

					array(
						'param_name'  => 'work_thumbnail_size',
						'label'       => esc_html__( 'Thumbnail Size', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'standard'  => esc_html__( 'Default Thumbnail', 'deadlift' ),
							'landscape' => esc_html__( 'Landscape', 'deadlift' ),
							'square'    => esc_html__( 'Square', 'deadlift' ),
							'portrait'  => esc_html__( 'Portrait', 'deadlift' ),
							'custom'    => esc_html__( 'Custom', 'deadlift' ),
						),
						'default'     => 'standard',
						'admin_label' => true,
						'condition'   => array(
							'work_display' => array( 'grid' ),
						),
					),

					array(
						'param_name'  => 'work_custom_thumbnail_size',
						'label'       => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
						'type'        => 'text',
						'admin_label' => true,
						'placeholder' => '450x450',
						'condition'   => array(
							'work_thumbnail_size' => array( 'custom' ),
						),
						'ai' => array(
							'active' => false,
						),
					),

					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
						'condition'   => array(
							'work_display' => array( 'grid', 'metro', 'masonry' ),
						),
					),
					/*
					array(
						'param_name' => 'grid_padding_value',
						'label'      => esc_html__( 'Padding', 'deadlift' ),
						'type'       => 'slider',
						'default'    => array(
							'unit' => array( 'px', '%' ),
							'size' => '20',
						),
						'selectors'   => array(
							'{{WRAPPER}} .entry-work' => 'padding:{{VALUE}};',
						),
						'size_units' => 'px',
						'condition'  => array(
							'grid_padding' => array( 'yes' ),
						),
					),
					*/
				),
				deadlift_overlay_module_params( 'work' ),
				array(
					array(
						'label'        => esc_html__( 'Category Filter', 'deadlift' ),
						'param_name'   => 'work_category_filter',
						'description'  => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'admin_label'  => true,
						'condition'    => array(
							'work_display' => array( 'grid', 'masonry' ),
						),
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'work_category_filter_text_alignment',
						'type'         => 'choose',
						'options'      => array(
							'left'   => array(
								'title' => esc_html__( 'Left', 'deadlift' ),
								'icon'  => 'eicon-text-align-left',
							),
							'center' => array(
								'title' => esc_html__( 'Center', 'deadlift' ),
								'icon'  => 'eicon-text-align-center',
							),
							'right'  => array(
								'title' => esc_html__( 'Right', 'deadlift' ),
								'icon'  => 'eicon-text-align-right',
							),
						),
						'condition'    => array(
							'work_category_filter' => 'yes',
						),
						'selectors'    => array(
							'{{WRAPPER}} .category-filter-work ul' => 'text-align:{{VALUE}};',
						),
						'page_builder' => 'elementor',
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'work_category_filter_text_alignment',
						'type'         => 'select',
						'options'      => array(
							'center' => esc_html__( 'Center', 'deadlift' ),
							'left'   => esc_html__( 'Left', 'deadlift' ),
							'right'  => esc_html__( 'Right', 'deadlift' ),
						),
						'condition'    => array(
							'work_category_filter' => 'yes',
						),
						'page_builder' => 'vc',
					),

					array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'                => esc_html__( 'None', 'deadlift' ),
							'load_more'           => esc_html__( 'Load More', 'deadlift' ),
							'standard_pagination' => esc_html__( 'Numeric Pagination', 'deadlift' ),
							'link_to_portfolio'   => esc_html__( 'Link to Portfolio', 'deadlift' ),
						),
						'condition'   => array(
							'work_category_filter' => '',
							'work_display'         => array( 'grid', 'masonry', 'metro' ),
						),
						'default'     => 'none',
						'admin_label' => true,
					),

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

					array(
						'category'    => 'text',
						'label'       => esc_html__( 'Exclude Category', 'deadlift' ),
						'param_name'  => 'work_type_exclude',
						'description' => esc_html__( 'Enter one or several work categories (from work 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'        => 'text',
						'label'       => esc_html__( 'Include Format', 'deadlift' ),
						'param_name'  => 'work_post_format_include',
						'description' => esc_html__( 'Enter one or several post format. Paste slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'gallery, video', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'category'    => 'text',
						'label'       => esc_html__( 'Exclude Format', 'deadlift' ),
						'param_name'  => 'work_post_format_exclude',
						'description' => esc_html__( 'Enter one or several post format. Paste slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'gallery, video', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'options'     => deadlift_order_by_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Select how to sort retrieved posts. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'options'     => deadlift_order_way_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Designates the ascending or descending order. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'default' => esc_html__( 'Auto', 'deadlift' ),
							2         => esc_html__( 'Two', 'deadlift' ),
							3         => esc_html__( 'Three', 'deadlift' ),
							4         => esc_html__( 'Four', 'deadlift' ),
							5         => esc_html__( 'Five', 'deadlift' ),
							6         => esc_html__( 'Six', 'deadlift' ),
							1         => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
						'condition'   => array(
							'work_display' => array( 'grid', 'masonry' ),
						),
					),
				)
			),
		)
	);
}


/**
 * Product Index
 */
function deadlift_product_index_params() {
	/**
	 * Filters the product post parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_product_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Products', 'deadlift' ),
				'description'   => esc_html__( 'Display your products using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_product_index',
				'el_base'       => 'product-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
			),

			'params'     => array_merge(
				deadlift_common_module_params(),
				array(
					array(
						'param_name'  => 'product_display',
						'label'       => esc_html__( 'Post Display', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Filters the product post display option
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_product_display_options',
							array(
								'grid' => esc_html__( 'Grid', 'deadlift' ),
							)
						),
						'default'     => 'grid',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'product_metro_pattern',
						'label'       => esc_html__( 'Metro Pattern', 'deadlift' ),
						'type'        => 'select',
						'options'     => deadlift_get_metro_patterns(),
						'default'     => 'auto',
						'condition'   => array(
							'product_display' => array( 'metro' ),
						),
						'admin_label' => true,
					),

					/*
					array(
						'label'        => esc_html__( 'Product Text Alignement', 'deadlift' ),
						'param_name'   => 'product_text_align',
						'type'         => 'choose',
						'options'      => array(
							'left'   => array(
								'title' => esc_html__( 'Left', 'deadlift' ),
								'icon'  => 'eicon-text-align-left',
							),
							'center' => array(
								'title' => esc_html__( 'Center', 'deadlift' ),
								'icon'  => 'eicon-text-align-center',
							),
							'right'  => array(
								'title' => esc_html__( 'Right', 'deadlift' ),
								'icon'  => 'eicon-text-align-right',
							),
						),
						'selectors'    => array(
							'{{WRAPPER}} .entry-product' => 'margin-{{VALUE}}: 0;',
						),
						'page_builder' => 'elementor',
					),*/

					/*
					array(
						'type'         => 'select',
						'label'        => esc_html__( 'Product Text Alignement', 'deadlift' ),
						'param_name'   => 'product_text_align',
						'options'      => array(
							'center' => esc_html__( 'Center', 'deadlift' ),
							'left'   => esc_html__( 'Left', 'deadlift' ),
							'right'  => esc_html__( 'Right', 'deadlift' ),
						),
						'page_builder' => 'vc',
					),*/

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

					array(
						'param_name'  => 'product_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'default'     => 'grid',
						'admin_label' => true,
						'condition'   => array(
							'product_display' => array( 'grid', 'grid_classic', 'grid_modern', 'disc', 'gallery' ),
						),
					),

					'columns' => array(
						'param_name'  => 'columns',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'default' => esc_html__( 'Auto', 'deadlift' ),
							2         => esc_html__( 'Two', 'deadlift' ),
							3         => esc_html__( 'Three', 'deadlift' ),
							4         => esc_html__( 'Four', 'deadlift' ),
							5         => esc_html__( 'Five', 'deadlift' ),
							6         => esc_html__( 'Six', 'deadlift' ),
							1         => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
						'condition'   => array(
							'product_display' => array( 'grid', 'disc', 'gallery' ),
						),
					),

					array(
						'type'        => 'text',
						'label'       => 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' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
						'condition'   => array(
							'product_display' => array( 'grid', 'masonry', 'metro', 'disc', 'gallery' ),
						),
					),

					array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'                  => esc_html__( 'None', 'deadlift' ),
							'load_more'             => esc_html__( 'Load More', 'deadlift' ),
							'standard_pagination'   => esc_html__( 'Numeric Pagination', 'deadlift' ),
							'link_to_shop_category' => esc_html__( 'Link to Category', 'deadlift' ),
							'link_to_shop'          => esc_html__( 'Link to Shop Archive', 'deadlift' ),
						),
						'default'     => 'none',
						'admin_label' => true,

					),

					array(
						'param_name'  => 'view_more_text',
						'label'       => esc_html__( '"View more" Pagination Text', 'deadlift' ),
						'type'        => 'text',
						'default'     => '',
						'condition'   => array(
							'pagination' => array( 'link_to_shop_category', 'link_to_shop' ),
						),
						'placeholder' => esc_html__( 'View more products', 'deadlift' ),
						'admin_label' => true,
					),

					array(
						'param_name'  => 'product_category_link_id',
						'label'       => esc_html__( 'Category Link', 'deadlift' ),
						'type'        => 'select',
						'options'     => deadlift_get_product_cat_dropdown_options(),
						'condition'   => array(
							'pagination' => array( 'link_to_shop_category' ),
						),
						'admin_label' => true,
					),
				)
			),
		)
	);
}

/**
 * Artist Index
 */
function deadlift_artist_index_params() {
	/**
	 * Filters the artist post parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_artist_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Artists', 'deadlift' ),
				'description'   => esc_html__( 'Display your artists using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_artist_index',
				'el_base'       => 'artist-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
			),

			'params'     => array_merge(
				deadlift_common_module_params(
					/**
					 * Filters the artist post animation condition
					 *
					 * Can the artist post can be animated or not depending on its layout/display
					 *
					 * @since 1.0.0
					 */
					apply_filters( 'deadlift_artist_animation_condition', array( 'artist_display' => array( 'metro', 'grid', 'masonry' ) ) ),
					/**
					 * Filters the artist post animation condition
					 *
					 * Can the artist post can be animated or not depending on its layout/display
					 *
					 * @since 1.0.0
					 */
					apply_filters( 'deadlift_artist_post_count_condition', array( 'artist_display' => array( 'metro', 'grid', 'masonry' ) ) )
				),
				array(

					array(
						'param_name'  => 'artist_display',
						'label'       => esc_html__( 'Artist Display', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Filters the artist display options
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_artist_display_options',
							array(
								'list' => esc_html__( 'List', 'deadlift' ),
							)
						),
						'admin_label' => true,
					),

					array(
						'param_name'  => 'artist_metro_pattern',
						'label'       => esc_html__( 'Metro Pattern', 'deadlift' ),
						'type'        => 'select',
						'options'     => deadlift_get_metro_patterns(),
						'default'     => 'auto',
						'condition'   => array(
							'artist_display' => 'metro',
						),
						'admin_label' => true,
					),

					array(
						'param_name'  => 'artist_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'description' => esc_html__( 'The carousel is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
						'condition'   => array(
							'artist_display' => array( 'grid' ),
						),
					),

					'artist_thumbnail_size' => array(
						'param_name'  => 'artist_thumbnail_size',
						'label'       => esc_html__( 'Thumbnail Size', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'standard'  => esc_html__( 'Default Thumbnail', 'deadlift' ),
							'landscape' => esc_html__( 'Landscape', 'deadlift' ),
							'square'    => esc_html__( 'Square', 'deadlift' ),
							'portrait'  => esc_html__( 'Portrait', 'deadlift' ),
							'custom'    => esc_html__( 'Custom', 'deadlift' ),
						),
						'admin_label' => true,
						'condition'   => array(
							'artist_display' => array( 'grid', 'offgrid', ),
						),
					),

					array(
						'param_name'  => 'artist_custom_thumbnail_size',
						'label'       => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
						'type'        => 'text',
						'admin_label' => true,
						'placeholder' => '415x230',
						'condition'   => array(
							'artist_thumbnail_size' => 'custom',
						),
						'ai' => array(
							'active' => false,
						),
					),

					array(
						'param_name'  => 'artist_layout',
						'label'       => esc_html__( 'Layout', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'standard' => esc_html__( 'Classic', 'deadlift' ),
							'overlay'  => esc_html__( 'Overlay', 'deadlift' ),
						),
						'admin_label' => true,
						'condition'   => array(
							'artist_display' => array( 'grid', 'masonry', 'metro' ),
						),
						'description' => esc_html__( 'The metro layout is not visible in preview mode yet.', 'deadlift' ),
					),

					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
						'condition'   => array(
							'artist_display!' => array( 'interactive-link' ),
						),
					),

					array(
						'label'      => esc_html__( 'Caption Text Alignement', 'deadlift' ),
						'param_name' => 'caption_text_alignment',
						'type'       => 'select',
						'options'    => array(
							esc_html__( 'Center', 'deadlift' ) => 'center',
							esc_html__( 'Left', 'deadlift' ) => 'left',
							esc_html__( 'Right', 'deadlift' ) => 'right',
						),
						'condition'  => array(
							'element'            => 'artist_display',
							'value_not_equal_to' => array( 'list_minimal' ),
						),
					),

					array(
						'label'      => esc_html__( 'Caption Vertical Alignement', 'deadlift' ),
						'param_name' => 'caption_v_align',
						'type'       => 'select',
						'options'    => array(
							esc_html__( 'Middle', 'deadlift' ) => 'middle',
							esc_html__( 'Bottom', 'deadlift' ) => 'bottom',
							esc_html__( 'Top', 'deadlift' ) => 'top',
						),
						'condition'  => array(
							'element'            => 'artist_display',
							'value_not_equal_to' => array( 'list_minimal' ),
						),
					),

				),
				deadlift_overlay_module_params( 'artist' ),
				array(
					array(
						'label'        => esc_html__( 'Category Filter', 'deadlift' ),
						'param_name'   => 'artist_category_filter',
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'no',
						'admin_label'  => true,
						'description'  => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
						'condition'    => array(
							'artist_display!' => apply_filters( 'deadlift_artist_category_filter_exclude_condition', array( 'interactive-link' ) ),
						),
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'artist_category_filter_text_alignment',
						'type'         => 'choose',
						'options'      => array(
							'left'   => array(
								'title' => esc_html__( 'Left', 'deadlift' ),
								'icon'  => 'eicon-text-align-left',
							),
							'center' => array(
								'title' => esc_html__( 'Center', 'deadlift' ),
								'icon'  => 'eicon-text-align-center',
							),
							'right'  => array(
								'title' => esc_html__( 'Right', 'deadlift' ),
								'icon'  => 'eicon-text-align-right',
							),
						),
						'selectors'    => array(
							'{{WRAPPER}} .category-filter-artist ul' => 'text-align:{{VALUE}};',
						),
						'condition'    => array(
							'artist_category_filter' => 'yes',
						),
						'page_builder' => 'elementor',
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'artist_category_filter_text_alignment',
						'type'         => 'select',
						'options'      => array(
							'center' => esc_html__( 'Center', 'deadlift' ),
							'left'   => esc_html__( 'Left', 'deadlift' ),
							'right'  => esc_html__( 'Right', 'deadlift' ),
						),
						'condition'    => array(
							'artist_category_filter' => 'yes',
						),
						'page_builder' => 'vc',
					),

					array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'                => esc_html__( 'None', 'deadlift' ),
							'load_more'           => esc_html__( 'Load More', 'deadlift' ),
							'standard_pagination' => esc_html__( 'Numeric Pagination', 'deadlift' ),
							'link_to_artists'     => esc_html__( 'Link to Archives', 'deadlift' ),
						),

						'condition'   => array(
							'artist_category_filter' => '',
							'artist_display!' => apply_filters( 'deadlift_artist_pagination_exclude_condition', array( 'interactive-link' ) ),
						),
						'admin_label' => true,
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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'        => 'select',
						'label'       => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'options'     => deadlift_order_by_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Select how to sort retrieved posts. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'options'     => deadlift_order_way_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Designates the ascending or descending order. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'default' => esc_html__( 'Auto', 'deadlift' ),
							2         => esc_html__( 'Two', 'deadlift' ),
							3         => esc_html__( 'Three', 'deadlift' ),
							4         => esc_html__( 'Four', 'deadlift' ),
							5         => esc_html__( 'Five', 'deadlift' ),
							6         => esc_html__( 'Six', 'deadlift' ),
							1         => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
						'condition'   => array(
							'artist_display' => array( 'grid', 'masonry' ),
						),
					),
				)
			),
		)
	);
}

/**
 * Photo Album Index
 */
function deadlift_album_index_params() {
	/**
	 * Filters the gallery/albums parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_album_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Photo Albums', 'deadlift' ),
				'description'   => esc_html__( 'Display your albums using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_album_index',
				'el_base'       => 'album-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
			),

			'params'     => array_merge(
				deadlift_common_module_params(),
				array()
			),
		)
	);
}

/**
 * Video Index
 */
function deadlift_video_index_params() {
	/**
	 * Filters the video parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_video_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Videos', 'deadlift' ),
				'description'   => esc_html__( 'Display your videos using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_video_index',
				'el_base'       => 'video-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
			),

			'params'     => array_merge(
				deadlift_common_module_params(),
				array(

					array(
						'label'        => esc_html__( 'Show video on hover', 'deadlift' ),
						'description'  => esc_html__( 'It is recommended to set upload a video sample mp4 file in your video post options below the text editor.', 'deadlift' ),
						'param_name'   => 'video_preview',
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'admin_label'  => true,
					),

					array(
						'param_name'  => 'video_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'description' => esc_html__( 'The carousel is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'video_custom_thumbnail_size',
						'label'       => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
						'type'        => 'text',
						'admin_label' => true,
						'placeholder' => '415x230',
						'ai' => array(
							'active' => false,
						),
					),

					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
					),

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

					'video_category_filter' => array(
						'label'        => esc_html__( 'Category Filter', 'deadlift' ),
						'param_name'   => 'video_category_filter',
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'admin_label'  => true,
						'description'  => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'video_category_filter_text_alignment',
						'type'         => 'choose',
						'options'      => array(
							'left'   => array(
								'title' => esc_html__( 'Left', 'deadlift' ),
								'icon'  => 'eicon-text-align-left',
							),
							'center' => array(
								'title' => esc_html__( 'Center', 'deadlift' ),
								'icon'  => 'eicon-text-align-center',
							),
							'right'  => array(
								'title' => esc_html__( 'Right', 'deadlift' ),
								'icon'  => 'eicon-text-align-right',
							),
						),
						'selectors'    => array(
							'{{WRAPPER}} .category-filter-video ul' => 'text-align:{{VALUE}};',
						),
						'condition'    => array(
							'video_category_filter' => 'yes',
						),
						'page_builder' => 'elementor',
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'video_category_filter_text_alignment',
						'type'         => 'select',
						'options'      => array(
							'center' => esc_html__( 'Center', 'deadlift' ),
							'left'   => esc_html__( 'Left', 'deadlift' ),
							'right'  => esc_html__( 'Right', 'deadlift' ),
						),
						'condition'    => array(
							'video_category_filter' => 'yes',
						),
						'page_builder' => 'vc',
					),

					array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'                => esc_html__( 'None', 'deadlift' ),
							'load_more'           => esc_html__( 'Load More', 'deadlift' ),
							'standard_pagination' => esc_html__( 'Numeric Pagination', 'deadlift' ),
							'link_to_videos'      => esc_html__( 'Link to Video Archives', 'deadlift' ),
						),
						'condition'   => array(
							'video_category_filter' => '',
						),
						'default'     => 'none',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'video_category_link_id',
						'label'       => esc_html__( 'Category', 'deadlift' ),
						'type'        => 'select',
						'options'     => deadlift_get_video_cat_dropdown_options(),
						'condition'   => array(
							'pagination' => 'link_to_video_category',
						),
						'admin_label' => true,
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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'        => 'select',
						'label'       => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'options'     => deadlift_order_by_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Select how to sort retrieved posts. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'options'     => deadlift_order_way_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Designates the ascending or descending order. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'default' => esc_html__( 'Auto', 'deadlift' ),
							2         => esc_html__( 'Two', 'deadlift' ),
							3         => esc_html__( 'Three', 'deadlift' ),
							4         => esc_html__( 'Four', 'deadlift' ),
							5         => esc_html__( 'Five', 'deadlift' ),
							6         => esc_html__( 'Six', 'deadlift' ),
							1         => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
					),
				)
			),
		)
	);
}

/**
 * Event Index
 */
function deadlift_event_index_params() {
	/**
	 * Filters the event parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_event_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Events', 'deadlift' ),
				'description'   => esc_html__( 'Display your events using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_event_index',
				'el_base'       => 'event-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
			),

			'params'     => array_merge(
				deadlift_common_module_params(),
				array(
					array(
						'param_name'  => 'event_display',
						'label'       => esc_html__( 'Event Display', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Filters the event display option
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_event_display_options',
							array(
								'list' => esc_html__( 'List', 'deadlift' ),
							)
						),
						'admin_label' => true,
					),

					array(
						'param_name' => 'event_layout',
						'label'      => esc_html__( 'Event Layout', 'deadlift' ),
						'type'       => 'hidden',
						'default'    => 'overlay',
					),

					array(
						'param_name'  => 'event_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'description' => esc_html__( 'The carousel is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
						'condition'   => array(
							'event_display' => array( 'grid' ),
						),
					),

					'event_thumbnail_size' => array(
						'param_name'  => 'event_thumbnail_size',
						'label'       => esc_html__( 'Thumbnail Size', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'standard'  => esc_html__( 'Default Thumbnail', 'deadlift' ),
							'landscape' => esc_html__( 'Landscape', 'deadlift' ),
							'square'    => esc_html__( 'Square', 'deadlift' ),
							'portrait'  => esc_html__( 'Portrait', 'deadlift' ),
							'custom'    => esc_html__( 'Custom', 'deadlift' ),
						),
						'default'     => 'standard',
						'admin_label' => true,
						'condition'   => array(
							'event_display' => array( 'grid' ),
						),
					),

					array(
						'param_name'  => 'event_custom_thumbnail_size',
						'label'       => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
						'type'        => 'text',
						'admin_label' => true,
						'placeholder' => '415x230',
						'condition'   => array(
							'event_thumbnail_size' => 'custom',
						),
						'ai' => array(
							'active' => false,
						),
					),
				),
				deadlift_overlay_module_params( 'event' ),
				array(
					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
						'condition'   => array(
							'event_display' => array( 'grid' ),
						),
					),

					'columns' => array(
						'param_name'  => 'columns',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'default' => esc_html__( 'Auto', 'deadlift' ),
							2         => esc_html__( 'Two', 'deadlift' ),
							3         => esc_html__( 'Three', 'deadlift' ),
							4         => esc_html__( 'Four', 'deadlift' ),
							5         => esc_html__( 'Five', 'deadlift' ),
							6         => esc_html__( 'Six', 'deadlift' ),
							1         => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
						'condition'   => array(
							'event_display' => array( 'grid' ),
						),
					),

					'event_location' => array(
						'param_name'  => 'event_location',
						'label'       => esc_html__( 'Location', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'location' => esc_html__( 'Location', 'deadlift' ),
							'venue'    => esc_html__( 'Venue', 'deadlift' ),
						),
						'default'     => 'location',
						'admin_label' => true,
					),

					'pagination' => array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'           => esc_html__( 'None', 'deadlift' ),
							'link_to_events' => esc_html__( 'Link to Event Archives', 'deadlift' ),
						),
						'default'     => 'link_to_events',
						'admin_label' => true,
					),

					'timeline' => array(
						'type'       => 'select',
						'label'      => esc_html__( 'Timeline', 'deadlift' ),
						'param_name' => 'timeline',
						'options'    => array(
							'future' => esc_html__( 'Future', 'deadlift' ),
							'past'   => esc_html__( 'Past', 'deadlift' ),
						),
						'default'    => 'future',
						'group'      => esc_html__( 'Query', 'deadlift' ),
					),

					'artist_include' => array(
						'type'        => 'text',
						'label'       => 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' ),
						'ai' => array(
							'active' => false,
						),
					),

					'artist_exclude' => array(
						'type'        => 'text',
						'label'       => 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' ),
						'ai' => array(
							'active' => false,
						),
					),
				)
			),
		)
	);
}


/**
 * Gallery Index
 */
function deadlift_gallery_index_params() {

	/**
	 * Filters the gallery post parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_gallery_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Gallery', 'deadlift' ),
				'description'   => esc_html__( 'Display your gallerys using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_gallery_index',
				'el_base'       => 'gallery-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
				'scripts'       => array( 'inview' ),
			),

			'params'     => array_merge(
				deadlift_common_module_params(
					/**
					 * Filters the gallery post animation condition
					 *
					 * Can the gallery post can be animated or not depending on its layout/display
					 *
					 * @since 1.0.0
					 */
					apply_filters( 'deadlift_gallery_animation_condition', array( 'gallery_display' => array( 'metro', 'grid', 'masonry' ) ) ),
					/**
					 * Filters the gallery post animation condition
					 *
					 * Can the gallery post can be animated or not depending on its layout/display
					 *
					 * @since 1.0.0
					 */
					apply_filters( 'deadlift_gallery_post_count_condition', array( 'gallery_display' => array( 'metro', 'grid', 'masonry' ) ) )
				),
				array(
					array(
						'param_name'  => 'gallery_display',
						'label'       => esc_html__( 'Gallery Display', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Gallery display option filtered
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_gallery_display_options',
							array(
								'grid' => esc_html__( 'Grid', 'deadlift' ),
								'masonry' => esc_html__( 'Metro', 'deadlift' ),
							)
						),
						'description' => esc_html__( 'The metro layout is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'gallery_metro_pattern',
						'label'       => esc_html__( 'Metro Pattern', 'deadlift' ),
						'type'        => 'select',
						'options'     => deadlift_get_metro_patterns(),
						'default'     => 'auto',
						'condition'   => array(
							'gallery_display' => array( 'metro' ),
						),
						'admin_label' => true,
					),

					array(
						'param_name'  => 'gallery_layout',
						'label'       => esc_html__( 'Layout', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Filters the gallery post layout option
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_gallery_layout_options',
							array(
								'standard' => esc_html__( 'Classic', 'deadlift' ),
								'overlay'  => esc_html__( 'Overlay', 'deadlift' ),
							)
						),
						'default'     => 'standard',
						'admin_label' => true,
						'condition'   => array(
							'gallery_display' => array( 'grid', 'metro', 'masonry' ),
						),
					),

					array(
						'param_name'  => 'gallery_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'description' => esc_html__( 'The carousel is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
						'condition'   => array(
							'gallery_display' => array( 'grid' ),
						),
					),

					array(
						'param_name'  => 'gallery_thumbnail_size',
						'label'       => esc_html__( 'Thumbnail Size', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'standard'  => esc_html__( 'Default Thumbnail', 'deadlift' ),
							'landscape' => esc_html__( 'Landscape', 'deadlift' ),
							'square'    => esc_html__( 'Square', 'deadlift' ),
							'portrait'  => esc_html__( 'Portrait', 'deadlift' ),
							'custom'    => esc_html__( 'Custom', 'deadlift' ),
						),
						'default'     => 'standard',
						'admin_label' => true,
						'condition'   => array(
							'gallery_display' => array( 'grid' ),
						),
						'ai' => array(
							'active' => false,
						),
					),

					array(
						'param_name'  => 'gallery_custom_thumbnail_size',
						'label'       => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
						'type'        => 'text',
						'admin_label' => true,
						'placeholder' => '450x450',
						'condition'   => array(
							'gallery_thumbnail_size' => array( 'custom' ),
						),
						'ai' => array(
							'active' => false,
						),
					),

					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
						'condition'   => array(
							'gallery_display' => array( 'grid', 'metro', 'masonry' ),
						),
					),
					/*
					array(
						'param_name' => 'grid_padding_value',
						'label'      => esc_html__( 'Padding', 'deadlift' ),
						'type'       => 'slider',
						'default'    => array(
							'unit' => array( 'px', '%' ),
							'size' => '20',
						),
						'selectors'   => array(
							'{{WRAPPER}} .entry-gallery' => 'padding:{{VALUE}};',
						),
						'size_units' => 'px',
						'condition'  => array(
							'grid_padding' => array( 'yes' ),
						),
					),
					*/
				),
				deadlift_overlay_module_params( 'gallery' ),
				array(
					array(
						'label'        => esc_html__( 'Category Filter', 'deadlift' ),
						'param_name'   => 'gallery_category_filter',
						'description'  => esc_html__( 'The pagination will be disabled.', 'deadlift' ),
						'type'         => 'checkbox',
						'label_on'     => esc_html__( 'Yes', 'deadlift' ),
						'label_off'    => esc_html__( 'No', 'deadlift' ),
						'return_value' => 'yes',
						'admin_label'  => true,
						'condition'    => array(
							'gallery_display' => array( 'grid', 'masonry' ),
						),
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'gallery_category_filter_text_alignment',
						'type'         => 'choose',
						'options'      => array(
							'left'   => array(
								'title' => esc_html__( 'Left', 'deadlift' ),
								'icon'  => 'eicon-text-align-left',
							),
							'center' => array(
								'title' => esc_html__( 'Center', 'deadlift' ),
								'icon'  => 'eicon-text-align-center',
							),
							'right'  => array(
								'title' => esc_html__( 'Right', 'deadlift' ),
								'icon'  => 'eicon-text-align-right',
							),
						),
						'condition'    => array(
							'gallery_category_filter' => 'yes',
						),
						'selectors'    => array(
							'{{WRAPPER}} .category-filter-gallery ul' => 'text-align:{{VALUE}};',
						),
						'page_builder' => 'elementor',
					),

					array(
						'label'        => esc_html__( 'Filter Text Alignement', 'deadlift' ),
						'param_name'   => 'gallery_category_filter_text_alignment',
						'type'         => 'select',
						'options'      => array(
							'center' => esc_html__( 'Center', 'deadlift' ),
							'left'   => esc_html__( 'Left', 'deadlift' ),
							'right'  => esc_html__( 'Right', 'deadlift' ),
						),
						'condition'    => array(
							'gallery_category_filter' => 'yes',
						),
						'page_builder' => 'vc',
					),

					array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'                => esc_html__( 'None', 'deadlift' ),
							'load_more'           => esc_html__( 'Load More', 'deadlift' ),
							'standard_pagination' => esc_html__( 'Numeric Pagination', 'deadlift' ),
							'link_to_portfolio'   => esc_html__( 'Link to Portfolio', 'deadlift' ),
						),
						'condition'   => array(
							'gallery_category_filter' => '',
							'gallery_display'         => array( 'grid', 'masonry', 'metro' ),
						),
						'default'     => 'none',
						'admin_label' => true,
					),

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

					array(
						'category'    => 'text',
						'label'       => esc_html__( 'Exclude Category', 'deadlift' ),
						'param_name'  => 'gallery_type_exclude',
						'description' => esc_html__( 'Enter one or several gallery categories (from gallery 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'        => 'text',
						'label'       => esc_html__( 'Include Format', 'deadlift' ),
						'param_name'  => 'gallery_post_format_include',
						'description' => esc_html__( 'Enter one or several post format. Paste slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'gallery, video', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'category'    => 'text',
						'label'       => esc_html__( 'Exclude Format', 'deadlift' ),
						'param_name'  => 'gallery_post_format_exclude',
						'description' => esc_html__( 'Enter one or several post format. Paste slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'gallery, video', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'options'     => deadlift_order_by_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Select how to sort retrieved posts. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'options'     => deadlift_order_way_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Designates the ascending or descending order. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'default' => esc_html__( 'Auto', 'deadlift' ),
							2         => esc_html__( 'Two', 'deadlift' ),
							3         => esc_html__( 'Three', 'deadlift' ),
							4         => esc_html__( 'Four', 'deadlift' ),
							5         => esc_html__( 'Five', 'deadlift' ),
							6         => esc_html__( 'Six', 'deadlift' ),
							1         => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
						'condition'   => array(
							'gallery_display' => array( 'grid', 'masonry' ),
						),
					),
				)
			),
		)
	);
}

/**
 * Page Index
 */
function deadlift_page_index_params() {
	/**
	 * Filters the page parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_page_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Pages', 'deadlift' ),
				'description'   => esc_html__( 'Display your pages using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_page_index',
				'el_base'       => 'page-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
			),

			'params'     => array_merge(
				deadlift_common_module_params(),
				array()
			),
		)
	);
}

/**
 * Job Index
 */
function deadlift_job_index_params() {

	/**
	 * Filters the job post parameters
	 *
	 * @since 1.0.0
	 */
	return apply_filters(
		'deadlift_job_index_params',
		array(
			'properties' => array(
				'name'          => esc_html__( 'Jobs', 'deadlift' ),
				'description'   => esc_html__( 'Display your jobs using the theme layouts', 'deadlift' ),
				'vc_base'       => 'wolf_core_job_index',
				'el_base'       => 'job-index',
				'vc_category'   => esc_html__( 'Content', 'deadlift' ),
				'el_categories' => array( 'post-modules' ),
				'icon'          => 'linea-arrows linea-arrows-squares',
				'weight'        => 999,
				'scripts'       => array( 'inview' ),
			),

			'params'     => array_merge(
				array(
					array(
						'param_name'  => 'job_display',
						'label'       => esc_html__( 'Job Display', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Job display option filtered
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_job_display_options',
							array(
								'list' => esc_html__( 'List', 'deadlift' ),
							)
						),
						'default'     => 'list',
						'admin_label' => true,
					),

					array(
						'param_name'  => 'job_layout',
						'label'       => esc_html__( 'Layout', 'deadlift' ),
						'type'        => 'select',
						/**
						 * Filters the job post layout option
						 *
						 * @since 1.0.0
						 */
						'options'     => apply_filters(
							'deadlift_job_layout_options',
							array(
								'standard' => esc_html__( 'Classic', 'deadlift' ),
								'overlay'  => esc_html__( 'Overlay', 'deadlift' ),
							)
						),
						'default'     => 'standard',
						'admin_label' => true,
						'condition'   => array(
							'job_display' => array( 'grid' ),
						),
					),

					array(
						'param_name'  => 'job_module',
						'label'       => esc_html__( 'Module', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'grid'     => esc_html__( 'Grid', 'deadlift' ),
							'carousel' => esc_html__( 'Carousel', 'deadlift' ),
						),
						'description' => esc_html__( 'The carousel is not visible in preview mode yet.', 'deadlift' ),
						'default'     => 'grid',
						'admin_label' => true,
						'condition'   => array(
							'job_display' => array( 'grid' ),
						),
					),

					array(
						'param_name'  => 'job_thumbnail_size',
						'label'       => esc_html__( 'Thumbnail Size', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'standard'  => esc_html__( 'Default Thumbnail', 'deadlift' ),
							'landscape' => esc_html__( 'Landscape', 'deadlift' ),
							'square'    => esc_html__( 'Square', 'deadlift' ),
							'portrait'  => esc_html__( 'Portrait', 'deadlift' ),
							'custom'    => esc_html__( 'Custom', 'deadlift' ),
						),
						'default'     => 'standard',
						'admin_label' => true,
						'condition'   => array(
							'job_display' => array( 'grid' ),
						),
					),

					array(
						'param_name'  => 'job_custom_thumbnail_size',
						'label'       => esc_html__( 'Custom Thumbnail Size', 'deadlift' ),
						'type'        => 'text',
						'admin_label' => true,
						'placeholder' => '450x450',
						'condition'   => array(
							'job_thumbnail_size' => array( 'custom' ),
						),
						'ai' => array(
							'active' => false,
						),
					),

					array(
						'param_name'  => 'grid_padding',
						'label'       => esc_html__( 'Padding', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'yes' => esc_html__( 'Yes', 'deadlift' ),
							'no'  => esc_html__( 'No', 'deadlift' ),
						),
						'default'     => 'yes',
						'admin_label' => true,
						'condition'   => array(
							'job_display' => array( 'grid', 'metro', 'masonry' ),
						),
					),
					/*
					array(
						'param_name' => 'grid_padding_value',
						'label'      => esc_html__( 'Padding', 'deadlift' ),
						'type'       => 'slider',
						'default'    => array(
							'unit' => array( 'px', '%' ),
							'size' => '20',
						),
						'selectors'   => array(
							'{{WRAPPER}} .entry-job' => 'padding:{{VALUE}};',
						),
						'size_units' => 'px',
						'condition'  => array(
							'grid_padding' => array( 'yes' ),
						),
					),
					*/
				),
				deadlift_overlay_module_params( 'job' ),
				array(

					array(
						'param_name'  => 'pagination',
						'label'       => esc_html__( 'Pagination', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'none'                => esc_html__( 'None', 'deadlift' ),
							'load_more'           => esc_html__( 'Load More', 'deadlift' ),
							'standard_pagination' => esc_html__( 'Numeric Pagination', 'deadlift' ),
							'link_to_portfolio'   => esc_html__( 'Link to Portfolio', 'deadlift' ),
						),
						'condition'   => array(
							'job_category_filter' => '',
							'job_display'         => array( 'grid', 'masonry', 'metro' ),
						),
						'default'     => 'none',
						'admin_label' => true,
					),

					array(
						'type'        => 'text',
						'label'       => esc_html__( 'Include Type', 'deadlift' ),
						'param_name'  => 'job_type_include',
						'description' => esc_html__( 'Enter one or several job types. Paste type slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'my-type, other-type', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'category'    => 'text',
						'label'       => esc_html__( 'Exclude Type', 'deadlift' ),
						'param_name'  => 'job_type_exclude',
						'description' => esc_html__( 'Enter one or several job categories (from job tags). Paste type slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'my-type, other-type', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => esc_html__( 'Include Category', 'deadlift' ),
						'param_name'  => 'job_post_category_include',
						'description' => esc_html__( 'Enter one or several post category. Paste slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'gallery, video', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'category'    => 'text',
						'label'       => esc_html__( 'Exclude Category', 'deadlift' ),
						'param_name'  => 'job_post_category_exclude',
						'description' => esc_html__( 'Enter one or several post category. Paste slug(s) separated by a comma', 'deadlift' ),
						'placeholder' => esc_html__( 'gallery, video', 'deadlift' ),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Order by', 'deadlift' ),
						'param_name'  => 'orderby',
						'options'     => deadlift_order_by_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Select how to sort retrieved posts. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'select',
						'label'       => esc_html__( 'Sort order', 'deadlift' ),
						'param_name'  => 'order',
						'options'     => deadlift_order_way_values(),
						'save_always' => true,
						'description' => sprintf(
							deadlift_kses(
							/* translators: %s: WP codex page title */
								__( 'Designates the ascending or descending order. More at %s.', 'deadlift' )
							),
							'WordPress codex page'
						),
						'group'       => esc_html__( 'Query', 'deadlift' ),
					),

					array(
						'type'        => 'text',
						'label'       => 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'        => 'text',
						'label'       => 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',
						'label'       => esc_html__( 'Columns', 'deadlift' ),
						'type'        => 'select',
						'options'     => array(
							'default' => esc_html__( 'Auto', 'deadlift' ),
							2         => esc_html__( 'Two', 'deadlift' ),
							3         => esc_html__( 'Three', 'deadlift' ),
							4         => esc_html__( 'Four', 'deadlift' ),
							5         => esc_html__( 'Five', 'deadlift' ),
							6         => esc_html__( 'Six', 'deadlift' ),
							1         => esc_html__( 'One', 'deadlift' ),
						),
						'default'     => 3,
						'admin_label' => true,
						'condition'   => array(
							'job_display' => array( 'grid', 'masonry' ),
						),
					),
				)
			),
		)
	);
}
Page not found – Hello World !