Pingbacks/Trackbacks do not appear in comments

3 views
Skip to first unread message

girlunstoppable

unread,
Jan 18, 2010, 11:24:01 PM1/18/10
to K2 Support
My pingbacks do not appear in my comment count on my posts. Is there a
way to make them appear?

zeo

unread,
Jan 19, 2010, 3:29:12 AM1/19/10
to K2 Support
K2 strips pingback / trackback from comment count. I couldn't figure
out what the logic behind this.

You can easily solve this either by opening app/includes/info.php and
remove or comment out this line:

add_filter('get_comments_number', 'k2_comment_count', 0);

to:

//add_filter('get_comments_number', 'k2_comment_count', 0);

OR add this in at the end functions.php:

remove_filter('get_comments_number', 'k2_comment_count', 0);

On Jan 19, 12:24 pm, girlunstoppable <girlunstoppa...@gmail.com>
wrote:

Steve Lam

unread,
Jan 19, 2010, 3:31:22 PM1/19/10
to k2-su...@googlegroups.com
We can save some speed by not filtering out trackback/pingback from comment count.

-Steve

> --
> You received this message because you are subscribed to the Google Groups "K2 Support" group.
> To post to this group, send email to k2-su...@googlegroups.com.
> To unsubscribe from this group, send email to k2-support+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/k2-support?hl=en.
>
>

Michael Heilemann

unread,
Jan 19, 2010, 5:38:22 PM1/19/10
to k2-su...@googlegroups.com
Let's do that.
--
/ M
Reply all
Reply to author
Forward
0 new messages