I have two links in
- "news" where all the news posts goes
- "blog" where the rest goes
just wanted to exclude the category "news" in the blog page
I use the code
$news = new WP_query ('category_name =-news')
and it is not working
Essentially, I want tell wordpress, I want all the posts to go into the "blog" page but not in the post that is categorize as "news"