Hi, I was wondering how can I get categories from a post type, since the regular query_post won’t work.
query_posts( 'post_type=product&posts_per_page=3&product_category=41' );
And nothing. It won’t return me the post within that category. How does this work?
- The topic ‘Get category from a custom post’ is closed to new replies.