WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] get category by title (4 posts)

  1. carlla
    Member
    Posted 4 years ago #

    Is there a similar function to get a category object from its title? I know there is the get_category_by_slug, but I would like to use the name instead the slug.

    have anyone even tried it?

  2. Mark / t31os
    Moderator
    Posted 4 years ago #

  3. carlla
    Member
    Posted 4 years ago #

    hm.. very good =) how I didn't find it before? ^^"

    thank you very much =D

  4. Mark / t31os
    Moderator
    Posted 4 years ago #

    The whole "term" reference doesn't make it obvious, so i'd guess it's easy to miss unless you understand the term/taxonomy thing..

    Glad i could help... ;)

Topic Closed

This topic has been closed to new replies.

About this Topic