The MU forums have moved to WordPress.org

single_cat_title() (3 posts)

  1. bavanyo
    Member
    Posted 16 years ago #

    Where does the information for this function come from? I can't seem to create a blog post and have this get populated...What do I need to fill in?

  2. WordPress_John
    Member
    Posted 16 years ago #

    single_cat_title() is used on category archive pages. If you want to obtain categories assigned to a particular post, use the_category().

  3. bavanyo
    Member
    Posted 16 years ago #

    Thanks WordPress_Joh. I need the function that just returns the cat name, not the whole ul/li contruction.

About this Topic