How do I NOT count number of trackbacks/pingbacks with comments_number?
-
Since we hide trackbacks/pingbacks, we also don’t want them counted when using the comments_number function. For instance, if we have a post that has 8 comments and 1 pingback, we want the comments_number output to be 8 comments (instead of 9).
Here’s an example post: https://www.elanaspantry.com/cooked-veggies/how-to-roast-a-pumpkin-in-10-steps/
Is this possible?
Thanks!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘How do I NOT count number of trackbacks/pingbacks with comments_number?’ is closed to new replies.