Get Category of current post if category parent of …
-
Hi!
Some of my posts are about Partners. So I have Catagories for each partner which are all child of the category partner.i.e.
Parent-Category: partner
Childs: aaa, bbb, ccc, dddI want to get the child-category of the current post, if it’s child of partner.
i.e.
The Post is in category aaa.
Check if post is in partner via aaa, if yes: output: aaaCan anybody help?
- The topic ‘Get Category of current post if category parent of …’ is closed to new replies.