Its pretty simple to remove pingbacks and trackbacks from your sidebar actually, but the required change is overwritten by any wordpress update since it is done directly inside the wordpress files:
- Open the file wp-includes/default-widgets.php
- Find line with
$comments
= get_comments(
array
(
'number'
=>
$number
,
'status'
=>
'approve'
) );
- Change line to
$comments
= get_comments(
array
(
'number'
=>
$number
,
'status'
=>
'approve'
,
'type'
=>
'comment'
) );
Your pingbacks and trackbacks should be hidden from the default recent comments widget.
Edit: I tried stromkopf’s suggestion to use a plugin and it works perfectly. To get it, go to http://wordpress.org/extend/plugins/get-recent-comments
The post WordPress: how to hide/remove pingbacks and trackbacks from recent comments appeared first on NeoZenCortexis.