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

  1. burcinagar
    Posted 1 year ago #


    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
    Posted 1 year 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 class="meta-sep">|</span>
    <?php echo get_the_date(); ?>
    <div class="adt-comment">
    "><?php comments_number(__('0 Comment','themonic'),__('1 Comment'),__('% Comments')); ?>
    </div><!-- below title meta end -->

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.