Support

Account

Home Forums General Issues Reverse query a post relationship on a taxonomy? Reply To: Reverse query a post relationship on a taxonomy?

  • Hi Elliot,

    the relationship relates to a custom post type “Product” with a Category.

    Imagine the Category is a Magazine Issue which has Posts (default WP functionality) and then this Magazine Issue Category is connected to a Product to buy the printed Issue. I now want to link to the Category which is connected to the Product from the Product Page. Does this make sense?

    The Code would run on the Template displaying the Products (CPT) where I’d try to query: “Get the Category ID of the Category related to this Product ID”.

    Does this make it clearer?