List all native posts in template page?
There is nothing wrong in your query, but there is some code (a plugin?) that remove from results the posts in the category having term id 1 or 4. (Normally category with term id 1 is ‘uncategorized’) You can notice that looking at request performed AND ( wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships … Read more