Forums

Output Cat Name by ID (2 posts)

  1. haddytech
    Member
    Posted 3 years ago #

    I just need to know how to output a category name by ID... seems pretty simple, just cant find it in the documentation.

  2. haddytech
    Member
    Posted 3 years ago #

    Guess no ones awake today, had to figure it out myself...

    $thisCategory = getCategory(6);
    $catName = thisCategory->cat_name;
    echo $catName;

    Just incase someone needs it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags