How to get parent category name?
Lets say i am creating 3 parent categories and 10 sub categories to each parent. My wordpress post belongs to one sub category of a particular parent category
How do i get the parent category name ONLY? i dont want subcategories names? what wordpress code would do that?
- The topic ‘How to get parent category name?’ is closed to new replies.