Not all posts showing in query
There seems to be a syntax in your Query: post_type=”posts&posts_per_page=-1″ would mean that your post type is posts&posts_per_page=-1 I think you mean $posts_query = new WP_Query(‘post_type=post&posts_per_page=-1’); (The post type is not posts, but post) In this case WordPress would not apply anyhting at all (because it contain errors, but just fetches the default post type … Read more