WordPress.org

Ready to get started?Download WordPress

Forums

Iconic One
[resolved] How to see the number of comments on homepage? (2 posts)

  1. burcinagar
    Member
    Posted 6 months ago #

    Hi,

    I want to see the number of comments in my homepage, in the summary of posts after the headline of the post, like it seems exactly with the full page posts. How Can I do this?

    Thanks, regards.

    my website: http://www.theimtips.com

  2. bmos
    Member
    Posted 2 months ago #

    easy. look for this in content.php and change to below

    <!-- Removed the meta data here so it doesn't duplicate on single post pages line 31-43 -->

    <?php endif; // display meta-date on single page() ?>

    <div class="below-title-meta">
    <div class="adt">
    <?php _e('By','themonic'); ?>
    <span class="author">
    <?php echo the_author_posts_link(); ?>
    </span>
    <span class="meta-sep">|</span>
    <?php echo get_the_date(); ?>
    </div>
    <div class="adt-comment">
    "><?php comments_number(__('0 Comment','themonic'),__('1 Comment'),__('% Comments')); ?>
    </div>
    </div><!-- below title meta end -->

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.