I have 2 custom post types: “Services” and “Works” and they both have a same taxonomy ‘Genre’. Now the taxonomy ‘Genre’ has as term called ‘novice’. 5 Recent posts under “Works” which has the term ‘novice’ (under taxonomy ‘Genre’) has to be queried on the post pages of “Services” which has the term ‘novice’ (under taxonomy ‘Genre’). There will be 50 terms under the taxonomy.
Leave a Reply
You must be logged in to post a comment.
Assuming you want it for all the terms in the ‘Genre’ taxonomy. In the loop on the single Service post page, put this code:
If you want it only for ‘novice’, let me know and I’ll modify the code.