Support » Theme: Twenty Thirteen » Adding comment count / link to entry meta
3 years, 2 months ago
Anyone know how to copy the comment link/count to the entry meta? So that it appears in post footer and entry?
Figured it out!
3 years ago
Can someone actually help with this one? I am having the same issue and can’t figure it out
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:
<?php twentythirteen_child_entry_meta(); ?>
<?php edit_post_link( __( ‘Edit’, ‘twentythirteen’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
<?php if ( comments_open() && ! is_single() ) : ?>
<?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,
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?
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).