How can I Show # of Replies on Twenty Twelve Front Page?
-
I’ve searched WP Support like mad for the last couple hours about this but none of the threads seem to solve my exact problem.
I’m using Twenty Twelve theme (child theme), and in Dashboard > Settings > Reading, my Front Page is set to display “Your latest posts”.
That is how I want it on the front page, but at the end of each post on the front page, I’d like it to show the number of replies, and by default, this is not shown, and there are no comments either.
I don’t have a “home.php” in the Twenty Twelve theme, and I’m not really strong with PHP.
Which file do I need to modify in my theme, and what do I need to add, to make the number of replies (comments) show up under each post on the Front Page?
I mean that I want it to show the number of replies, not the actual comments themselves…
For example,
“2 Replies” and then you click it to see the post, comments, and comment form.
Or maybe it says, “2 Comments”, and you click it to see.
Thank you in advance for any help.I think what I need is this, but I’m not sure where to put it:
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?>
I would like it to appear just above the text at the end of each post that says:
This entry was posted in _____ and tagged _____ on [date]
- The topic ‘How can I Show # of Replies on Twenty Twelve Front Page?’ is closed to new replies.