WordPress.org

Ready to get started?Download WordPress

Forums

simple comments tag question (2 posts)

  1. adrock
    Member
    Posted 9 years ago #

    My comments are working but the "number of" comments feature isn't showing up, mainly because I can't figure out where to place the tag. Here's what's currently in my index.php:

    [a href="[?php comments_link(); ?]"]Comments[/a]

    <?php comments_template(); // Get wp-comments.php template ?>

    And the comments_number tag is, apparently, this:

    <?php comments_number('zero', 'one', 'more', 'number'); ?>

    But where, exactly, does it go? I've tried placing it after my comments link, before, and everywhere in between. Please advise. Thanks. [*note: I replaced every "<" with a "[" so that it would display properly above.]

  2. Kafkaesqui

    Posted 9 years ago #

    Does your theme have a single.php? If so, add it in there (just about anywhere, as long as it's in The Loop).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.