WordPress.org

Ready to get started?Download WordPress

Forums

How to display a category name as a link (2 posts)

  1. itsalltech1
    Member
    Posted 3 years ago #

    I am trying to display the category of a post as a link to the category itself. I'm not sure how to code this.

    Any ideas?

  2. Kim09
    Member
    Posted 3 years ago #

    The code is: <?php the_category(', '); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.