• Resolved Seth Burleigh

    (@sethburleighgmailcom)


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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Seth Burleigh

    (@sethburleighgmailcom)

    Figured it out!

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

    Thanks!
    Nicole

    —-
    memorieson6th.com

    Thread Starter Seth Burleigh

    (@sethburleighgmailcom)

    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

    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?

    Thread Starter Seth Burleigh

    (@sethburleighgmailcom)

    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).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding comment count / link to entry meta’ is closed to new replies.