Support › Forums › Programming and Development › WordPress › Get category name using category slug
Tagged: Get category name using category slug
This topic contains 1 reply, has 1 voice, and was last updated by gnana sekaran 4 years, 5 months ago.
how to get category name in wp
$category_slug // cat slug name
$catObj = get_category_by_slug($category_slug);
$catName = $catObj->name; //get cat name
You must Login/Register to reply to this topic.