Excluding cateory not working on my site. how to solve this? [closed]
You need to wrap your ids in an array. $args = array(‘author’=> $author_id, ‘posts_per_page’ => 10, ‘paged’ => $paged, ‘category__not_in’ => array( 16, 19, 1, 20 ) ); http://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters