Support » Developing with WordPress » problems getting category

  • Resolved hyacinthus

    (@hyacinthus)


    I want to get the category of a post. I’ve tried using get_the_category_by_ID without success even though I know I’m using the correct ID. The function does not return the string I expect. Doesn’t seem like it should be difficult to get the category name of a post.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘problems getting category’ is closed to new replies.