Raja 11 Questions 6 Answers 0 Best Answers 20 Points View Profile 0 Raja Asked: February 8, 20202020-02-08T11:15:40+00:00 2020-02-08T11:15:40+00:00In: WordPress How to get category name from Post ID 0 How to get the category name of a category given Post ID? categoriesphpwordpress Share Facebook 1 Answer Voted Oldest Recent Praveen 3 Questions 6 Answers 0 Best Answers 20 Points View Profile Praveen 2020-02-09T04:27:05+00:00Added an answer on February 9, 2020 at 4:27 am You can use get_the_category to get category name from post ID echo ''. get_the_category( $id )->name .''; 0 Reply Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp Leave an answerLeave an answerCancel reply Featured image Select file Browse Click on image to update the captcha. Save my name, email, and website in this browser for the next time I comment.