Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Meta Query

$meta_query = array(
	'relation' => 'AND',
	array(
		'key'     => 'slider_show',
		'value'   => '1',
		'compare' => '=',
		'type'    => 'NUMERIC',
	),
	array(
		'key'     => 'hide_post_homepage',
		'compare' => '=',
		'type'    => 'NUMERIC',
	),
	array(
		'key'     => 'post_format_type',
		'value'   => 'editorial',
		'compare' => '!=',
		'type'    => 'CHAR',
	),
	array(
		'key'     => 'slider_importance',
		'compare' => '>=',
		'type'    => 'NUMERIC',
	),
);