WordPress.org

Support

Support » How-To and Troubleshooting » Retrieve custom post types based on custom taxonomy term

Retrieve custom post types based on custom taxonomy term

  • Hello,
    I have created a custom post type called “guide” that contains content about locations, and a custom taxonomy “Venue Type” to categorize my locations.
    In my template, what query or function should I use to retrieve all my locations that I have set to a particular “venue type” (for instance “restaurants”).
    Thank you in advance for your help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Retrieve custom post types based on custom taxonomy term’ is closed to new replies.
Skip to toolbar