WordPress.org

Ready to get started?Download WordPress

Forums

Category ID to name function (3 posts)

  1. onocentaur
    Member
    Posted 6 years ago #

    Is there a WP function that will return the name of a category given its ID?

  2. moshu
    Member
    Posted 6 years ago #

    See if anything could be of help:
    http://codex.wordpress.org/Function_Reference

  3. johnkolbert
    Member
    Posted 5 years ago #

    get_cat_name() should work. For example:

    <?php echo get_cat_name(13); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags