Support » Fixing WordPress » Remove category link from the_category

  • Resolved ghaib

    (@ghaib)


    I need to get the text value of a category, but when I use the standard <?php the_category(''); ?> it returns categories as links, wrapped in <li>

    Is there any way of just returning the text value of a category, without linking to it or wrapping it in a list?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove category link from the_category’ is closed to new replies.