0

I have a couple of custom post type with a common taxonomy. I'm able to list custom taxonomy term page but having a problem with getting the archive link to the custom post type for that taxonomy term.

CPT1
- Post1 (Taxomony -> Term1)
- Post2 (Taxomony -> Term2)
- Post3 (Taxomony -> Term3)

CPT2
- Post1 (Taxomony -> Term1)
- Post2 (Taxomony -> Term2)
- Post3 (Taxomony -> Term3)

CPT3
- Post1 (Taxomony -> Term1)
- Post2 (Taxomony -> Term2)
- Post3 (Taxomony -> Term3)


Layout needed is 

Term1
- CPT1(link to archive for CPT1)
- CPT2(link to archive for CPT2)
- CPT3(link to archive for CPT1)

Term2 ... and so on

Need help to get the link to archive link for Custom Post Type for a particular Taxonomy Term. If there is another approach for this it would be really helpful for me to implement it. Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.