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