WordPress.org

Ready to get started?Download WordPress

Forums

Comments on front page (2 posts)

  1. jreeves1983
    Member
    Posted 4 years ago #

    My posts on my front page don't show how many comments each post has. The posts show this information in the categories, but I'd like for it to show on the front page too. My site in http://www.gamespiral.com

  2. keesiemeijer
    moderator
    Posted 4 years ago #

    Look In your theme 's index.php for:
    <?php the_content(''); ?>
    and paste this directly after that:
    <div class="postmeta"><img src="<?php bloginfo('template_url'); ?>/images/folder.png" /> Posted in <?php the_category(', ') ?> <?php if(get_the_tags()) { ?> <img src="<?php bloginfo('template_url'); ?>/images/tag.png" /> <?php the_tags('Tags: ', ', '); } ?> <img src="<?php bloginfo('template_url'); ?>/images/comments.png" /> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></div>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.