How do I query a custom post type with a custom taxonomy?

Posted by Prem Tiwari | Updated on

If you want to add custom post type with a custom taxonomy in WordPress? use WP_Query to fetch posts what you need. Read documentation for it. In your case the query could be like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers