Hello, I downloaded the dooplay theme and I'm trying to remove from a widget posts that are category 764, but I have not had success so far, could you help me with it?
This is the original query code:
query_posts(array(
'post_type' => array(
'movies',
'tvshows'
) ,
'showposts' => $num,
'meta_key' => 'end_time',
'meta_compare' => '>=',
'meta_value' => time() ,
'meta_key' => $keybox,
'orderby' => 'meta_value_num',
'order' => 'DESC'
));
Forms I'm trying to do:
query_posts(array(
'post_type' => array(
'movies',
'tvshows'
),
'category__not_in' => array(764),
'showposts' => $num,
'meta_key' => 'end_time',
'meta_compare' => '>=',
'meta_value' => time() ,
'meta_key' => $keybox,
'orderby' => 'meta_value_num',
'order' => 'DESC'
));
I also used
'cat' = > '-764'
But neither of these worked. I thank my friends for giving me strength.