Adding comment count / link to meta
-
I’d like to add a comment link and count to the entry meta. I’ve edited the entry meta to look like this (clipping it out of a longer functions file string):
if ( $tag_list ) { $utility_text = __( '<img src="/images/file.png" class="meta-icon"> Filed in %1$s ', 'twentytwelve' );
I’d like to add a comment count next to it with an icon. I found the comment code in the content.php file:
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?>
But I’m not sure how to make them work together. Any ideas?
The site is still under development so I’m afraid I can’t share a link.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Adding comment count / link to meta’ is closed to new replies.