Ready to get started?Download WordPress


Need help with advanced query of posts, postmeta, taxonomies (1 post)

  1. ikjosh
    Posted 9 months ago #

    Hi everyone,

    I need help building a query. I have two custom post types - "Locations" and "Employees". They are tied together, Locations being the parent. I then have a custom taxonomy tied to Employees, labeled "Specialty".

    I am trying to build out a profile page for each location. On the profile page, I want to list out the "Specialties" (distinct entries) FIRST, and under each Specialty, list the Employees who belong to that Specialty (some Employees may have multiple Specialties).

    How can I do this?

    Thank you!


You must log in to post.

About this Topic