WordPress.org

Ready to get started?Download WordPress

Forums

Want Comment Count per Post on Blog front page (5 posts)

  1. SexyDawnT
    Member
    Posted 4 years ago #

    My site is http://www.taylorlife.com

    If you go look at the front page, you will see the most recent posts, however there are no comment counts on any of the posts. You have to actually click over to the posts to see that. How can I get that on the front below each post?

  2. bobthemonster
    Member
    Posted 4 years ago #

    Look at the default theme at around line 23.

    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>

  3. SexyDawnT
    Member
    Posted 4 years ago #

    I finally figured that part of it out - but now, the author's name isn't showing up as a link to their profile. How can I fix that?

  4. bobthemonster
    Member
    Posted 4 years ago #

    Use:

    <?php the_author_link(); ?>

    In place of:

    <?php the_author(); ?>

  5. SexyDawnT
    Member
    Posted 4 years ago #

    Thanks! I am learning a lot here. Thanks for your patience with a newbie. That gives the link to their website. How do I make it go to their user profile on the blog?

Topic Closed

This topic has been closed to new replies.

About this Topic