WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Thirteen
[resolved] Adding comment count / link to entry meta (6 posts)

  1. seth.burleigh@gmail.com
    Member
    Posted 7 months ago #

    Anyone know how to copy the comment link/count to the entry meta? So that it appears in post footer and entry?

  2. seth.burleigh@gmail.com
    Member
    Posted 7 months ago #

    Figured it out!

  3. nicolegrimm1
    Member
    Posted 5 months ago #

    Can someone actually help with this one? I am having the same issue and can't figure it out

    Thanks!
    Nicole

    ----
    memorieson6th.com

  4. seth.burleigh@gmail.com
    Member
    Posted 5 months ago #

    Nicole,

    I have it showing up on the main page, not each individual post page. So I only edited the content.php file in my child theme (rather than also editing single.php).

    Here is what my entry-meta now looks like within the content.php file:

    <div class="entry-meta">
    <?php twentythirteen_child_entry_meta(); ?>
    <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
    <?php if ( comments_open() && ! is_single() ) : ?>
    <span class="comments-linkTop">
    <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( '1 comment', 'twentythirteen' ), __( '% comments', 'twentythirteen' ) ); ?>
    </span><!-- .comments-link -->
    <?php endif; // comments_open() ?>
    </div><!-- .entry-meta -->

    Hope that helps,

    Seth

  5. nicolegrimm1
    Member
    Posted 5 months ago #

    It helped thank you. Do you by any chance now how to get them all on the same line and remove those little pictures in front of the date and categories?

  6. seth.burleigh@gmail.com
    Member
    Posted 5 months ago #

    It looks like you figured out the icons thing. As for getting it all on one line - remove the comment link from it's own <div> and instead put it inside <span> (that is what I did).

Reply

You must log in to post.

About this Theme

About this Topic