How to exclude one category
You can use “category__not_in” array parameter. Also, I’ve modified your code just a bit, you should use wordpress best practice which is “if -> while” to display the posts. Please try these code below as I haven’t tested it yet. <?php // Default arguments $args = array( ‘posts_per_page’ => 6, // How many items to … Read more