WordPress.org

Forums

[resolved] Link Comment Count In Post Meta (2 posts)

  1. xmatter
    Member
    Posted 2 years ago #

    I currently have this:

    <div class="post-meta">Posted in <?php the_category(', ') ?> - <a href="<?php the_permalink(); ?>"><?php the_time('j F Y') ?></a> - <?php comments_number('No comment', '1 comment', '% comments'); ?></div>

    though I could change comments php to this:

    <div class="post-meta">Posted in <?php the_category(', ') ?> - <a href="<?php the_permalink(); ?>"><?php the_time('j F Y') ?></a> - <a href="<?php comments_number('No comment', '1 comment', '% comments'); ?>"></a></div>

    but it just erased from meta all together. So how do make it so a viewer can click the comments and been taken right to the post?

  2. xmatter
    Member
    Posted 2 years ago #

    got it

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.