stringo0
stringo0

Reputation: 2760

Wordpress Comment Display Modification

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!

Upvotes: 2

Views: 273

Answers (3)

stringo0
stringo0

Reputation: 2760

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.

Upvotes: 0

markratledge
markratledge

Reputation: 17561

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

Upvotes: 2

Daniel Bowen
Daniel Bowen

Reputation: 91

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.

Upvotes: 1

Related Questions