Support » Fixing WordPress » Displaying Category without linked text

  • Resolved jamiedustuk

    (@jamiedustuk)


    I can use <?php the_category(); ?> to show the category im in, but I want to be able to display the current category name without it appearing as a list and without the link i.e.

    Is there a line of code i can use to simply output the current category name, then I can do what I like with this…

    thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Displaying Category without linked text’ is closed to new replies.