Support » Fixing WordPress » the_category() and comments_number()

  • Hi.
    I have 2 questions.
    First, using
    <?php the_category(); ?>
    it creates a list, how do I ONLY get the category name?
    Second, why doesn’t
    <?php comments_number(“%”, “%”, “%”); ?>
    work as I would expect? I always want it to only output the number.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘the_category() and comments_number()’ is closed to new replies.