Not getting posts of custom post types
You really have two major flaws in your code: query_posts needs to go before your loop, not inside it Never use query_posts in the first place unless you need to break something on your page To learn why not to use query_posts and when to use a custom query and how to use it, check … Read more