Ready to get started?Download WordPress


List of Categories that a post has (2 posts)

  1. anks329
    Posted 8 years ago #

    Is there any way to get only a list of categories that are assoicated with a post. the fuction the_category returns links... what is need is something that does the same thing, but gives me just the text, and not the links.


  2. whooami
    Posted 8 years ago #

    The following example displays the category name of each category assigned to the post (this is a like using the_category(), but without linking each category to the category view, and using spaces instead of commas):


Topic Closed

This topic has been closed to new replies.

About this Topic