From the looks of Matt’s page he’s running a filter on either the img or gallery shortcode and replacing the caption with the comment count.
I’ve answered two related questions on how to modify the img and gallery shortcode functions, see.
How to customize the default HTML for WordPress Attachments
How to customise the output of the WP image gallery shortcode from a plugin?
What i think you’d be aiming to do here is selectively add a filter onto one of the shortcodes and change the caption text for the comment count(as it appears is done on Matt’s website).
Related Posts:
- Show Social Sharing Buttons And Facebook Comments In Lightbox Modal Dialog (Image Overlay)?
- How to wrap submit button of comment form with div
- What for is the table “wp_commentmeta” exactly?
- Running a function on comment status change
- Hook to edit an column on comments screen?
- Comment Author Name In Reply Form
- Is there any advantage to emptying comment spam?
- Completely disable comments
- Twitter/Facebook login for comments [closed]
- Customize reply form different to comment form
- Add delete, approve, spam Links to Comments
- FB – Comment Moderation Tool bug or error in the code?
- If new comment posted in custom post – send notification to custom email from custom field
- WP_Comment_Query with 5 top level comments per page?
- Can I have two single.php files and have one display just the post and the other display comments for that specific post?
- How can I change the link in comment form “Log in to post a comment”?
- remove_filter( ‘comment_author’, ‘floated_admin_avatar’ ); doesn’t work
- WordPress admin bar showing pending comments which cannot be selected or modified after deleting parent page
- Get only one comment per post with get_comments
- What is the correct/safe way to delete all comments?
- Does wp_new_comment expect a comment in HTML?
- Draft / schedule comments?
- How to insert Comment metadata via REST API
- How to create a link to jump to “Leave a comment” part?
- Opening all posts for comments
- Unix timestamp for post comment
- Ajax comments not working
- Check if someone recently commented in one of my posts
- How to query comments only for the current post?
- Sync comment data
- WordPress Comments are automatically publishing
- How to move comments box above comments
- save_post action hook for comments
- Automatically increase comment karma on comment save
- Ability to leave comments broken
- How to create a seperate commenting system?
- How to handle upvotes and downvotes of disqus comments after importing disqus comments to wordpress?
- Change how many approved comments must user have
- Only admin can see comments on post or page
- All users/comments suspected as bot? [closed]
- Show comments of a user post only when they are login
- comments in Admin
- How to get and use the the number of days since the last comment?
- Trying to post a wordpress comment on my site redirects to 127.0.0.1
- How do I add class to an admin comment?
- Best way to tell if a comment is from a user?
- Make user’s name display as the site name in comments if it matches certain roles
- Adding SQL source code to comments
- How to control size of comments popup window?
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- WordPress Spam Comment Filter
- Which hook do I use to edit pending comment count on wordpress dashboard?
- comment button shows only logged in users wordpress
- Getting comments of an specefic user
- How can I embed comments plugin to my own website?
- get only one last comment from each post
- Applying same style to all the comments on the page
- Customise Comment form
- Limit action in comment according to IP
- assumed as comment line
- stumped on add_action hook to delete_comment – any ideas?
- Can I create a new comment type?
- Avoiding calls to theme-compat
- Allow tags between shortcode in comments
- Clicking Comment “Reply” Button only replies to first comment
- Is there a way to only allow certain user ranks to comment on a post
- comment form code redirect to wp_comments_post.php with blank page
- Parent comment’s author display_name
- How to show a list of comments on home page from all posts?
- WordPress Custom Local Avatar not showing in comments
- Create another comment section for WordPress
- How to get the current post ID in comments.php?
- Remove text on Comment count
- wp list all users who haven’t commented on a post
- Creating a “walled garden” of comments
- Change hyperlink to User Registration page instead of WordPress login page
- How Can I display the Current Logged-In User’s Comment at the Top of the Comments Section in WordPress?
- How to import facebook comments to WordPress database?
- Why is a old comment reply comment appearing at end of comment list as well
- Can’t check “Allow people to post comments on new articles” option
- Comments closed only for contributors
- Adding Parameters to get_comment
- Comments from other blogs are getting added to my blog?
- Comment-Meta doesn’t work with latest wordpress update
- How to allow special characters in comment name?
- Auto-deleting comments that trigger the blacklist
- modifying the comment form
- Show count of all comments by meta_value from a users posts
- How to resolve 404 errors for wordpress comments/feed when I have disabled comments
- Problem display only posts with comments
- Migrate comments to Disqus
- How to modify the comments list in WP & BuddyPress? [closed]
- how to remove indent from twently eleven comments reply
- list / show comments of post author in special page
- Why nobody is answering my question? [closed]
- How to disable comments on new blog post, but allow on new products?
- Customize the new comment notifications sent to the post author after the comment is approved
- Get approved comments or comments that the author is me
- Show/Hide comments