title: How To Get Parent Category Slug of Current Post
body: <p>Lets say i am creating 10 parent categories and 2 sub categories to each parent. My Wordpress post belongs to one sub category of a particular parent category</p>
  
  <p>How do i get the parent category name ONLY? i don't want subcategories names? what Wordpress code would do that?</p>