Query prints posts without specific categories

How to query post without specific categories for example “two”and “three”

$args = array(
‘post_type’ => ‘post’,
‘orderby’ => ‘date’,
‘order’ => ‘DESC’,
‘showposts’ => 3);

$category_home = new WP_Query($args);

if($wp_query->have_posts()) :
while($wp_query->have_posts()) :
$wp_query->the_post(); ?>

Read more here:: Query prints posts without specific categories

Leave a Reply

Your email address will not be published. Required fields are marked *