- This topic has 2 replies, 2 voices, and was last updated 3 years, 10 months ago by .
- The topic ‘How do I add a comments counter (or bubble) to my blog?’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I am running the Genesis Sample theme as my blog but using the "Date/Category/Leave a comment" bottom bar as used in Twenty Fifteen. The same bottom bar appears at the end of every post, rather than having the information appear at the title of the post.
I'd like to encourage comments. The problem with the current set up is that the user has to click on each post to see if any comments have been made.
How do I add a counter that shows the number of comments made per post? Ideally, in the same design as the existing icons in the bottom bar, to preserve the look and feel.
Am not sure if there is simply a button in the WordPress panel I need to flick to 'on' on whether code is needed.
The comment count is in the post info that you are not displaying on your page. See these code snippets, specifically the comments link text. It has what you are looking for. https://my.studiopress.com/documentation/snippets/comments/
To get the count in the bottom bar, you have to hook it into the entry footer.
Many thanks Victor.
All done now and looks great!
© 2022 WPEngine, Inc.