Using meta_query in add_query_arg

It seems the normal and expected behaviour to me. meta_query is not a registered query var. You can see a list of registered query vars, and their relationship with WP_Query in this codex entre. Any other query var you want to use needs to be registered and handled by you. A very quick and general … Read more

make query more simplest and in one query

You can try this <?php $args= array( “post_type” => array(“product”, “post”, “page”), “cat” => ‘-124,-52’, “meta_query” => array( array( “key” => ‘include_newsletter_feed’, ‘value’ => “”, ‘compare’ => ‘!=’ ), ), ); $wp_query = new WP_Query($args); ?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)