views:

30

answers:

3

I'm having trouble with modifying the way comments are displayed.

Currently they are always displayed as "Comments (%)". Changing the code that's displaying the comments to doesn't seem to do anything.

Where can I properly change the way # of comments are displayed?

I'm using the primepress theme - http://www.techtrot.com/primepress/

Blog link - http://stringo0.teamjl.net

My goal is adding a comment bubble displaying the number of comments - any easier way to do this is appreciated as well!

+1  A: 

Not familiar with that particular theme, but in some there are multiple references to the comment functions, depending on the context (eg display single post, multiple posts, search results, page, etc). So check all the php files for references to the comment functions.

+1  A: 

Everything you need to know about what's available in showing comment meta: Template Tags/comments popup link « WordPress Codex

songdogtech
Thanks - using the format specified there doesn't seem to be working to change things - it still displays Comments (%).
stringo0
This works for me: `<?php comments_number('Comments(0)', 'Comments(1)', 'Comments(%)'); ?>`
songdogtech
The problem I'm having is no longer what I pass into the function, the text output always turns out to be "Comments (%)".
stringo0
Disable the plugin WP Recent Comments; it might be conflicting. Then ask in the theme's support forum.
songdogtech
Thanks for the help! I ended up using another function, get_comments_number() instead - not sure what was messing with the other functions.
stringo0
A: 

I'm not sure why, but the comments_number and related popup function didn't work for me. I think it's because of some filters interfering, not sure which ones - could be the intense debate commenting plugin, because I noticed that it redirects to a different anchor (#idc...).

I ended up using another function, called get_comments_number which I found by looking into the wp source code.

stringo0