Hot answers tagged pingbacks
6
I'm going to go out on a limb here and say they are pretty useless, in fact I would say they are even a nuisance. The idea was novel when it first came out and it was for a brief moment useful, but those days are over.
I never enable pingbacks because they seem to actually discourage discussion, and are highly abused by SEO spam.
Trackbacks might be ...
4
Changing the global Trackbacks setting via Dashboard -> Settings -> Discussion will only change the default behavior. If you currently have existing posts/pages with trackbacks enabled, changing the default setting will not change the per-post setting.
You will need to go to Dashboard -> Posts, select all posts, and batch-edit them to disable ...
3
For numbering, in your comment.php, change this:
wp_list_comments('callback=mytheme_comment');
To this:
wp_list_comments(array(
'callback'=>'mytheme_comment',
'style'=>'ol',
));
For separation into comments and pingbacks, you'd do something like this:
wp_list_comments(array(
'callback'=>'mytheme_comment',
'style'=>'ol',
...
3
<?php
/*
Plugin Name: [RPC] XMLRPCless Blog
Plugin URI: http://earnestodev.com/
Description: Disable XMLRPC advertising/functionality blog-wide.
Version: 0.0.7
Author: EarnestoDev
Author URI: http://earnestodev.com/
*/
// Disable X-Pingback HTTP Header.
add_filter('wp_headers', function($headers, $wp_query){
if(isset($headers['X-Pingback'])){
...
2
The first you do: separate regular comments and pingbacks. In your comments.php set the type parameter for both:
<ol class="commentlist">
<?php
// show regular comments
wp_list_comments(
array (
'type' => 'comment',
'style' => 'ul'
)
);
?></ol>
<ol class="pinglist">
<?php
// show pingbacks and ...
1
This code was tested in a local testing Multisite. Seems ok, but found a minor glitch:
- after running it all drafts/pending posts disappear from the listing page, but appear again after a refresh, no idea why...
Although I believe it's pretty harmless, please backup your database before running this
/*
* Turn off trackback/pingbacks and comments on all ...
1
Since you're listing pings separately from comments, you probably need to filter get_comments_number to exclude pings. Here's how I do it:
<?php
function oenology_comment_count( $count ) {
// Only filter the comments number
// in the front-end display
if (
// WordPress conditional that returns true if
// the current page is in the WP-Admin back-end
! ...
1
It depends how you link the sites. Wordpress is very particular.
If you link it with http://... at the beginning, then Wordpress will generate a pingback. If you do a relative link, then Wordpress will nto generate a pingback.
Whether this applies to subdomains as much as to cross-domains, I can't say. But, try linking them with full liks (http://...) to ...
1
Technically, you could, but it wouldn't make sense to do this. A ping isn't a comment. Nobody wrote on your blog. It's simply notification from a ping-enabled site that shows that site linked to your post. The site that included your link might be a scrapper site, a spammer, or someone who legitimately refers to your post. Either way, they would never see ...
1
you may use this plugin :
http://wordpress.org/extend/plugins/disabler/
i found this function somewhere on the internet (but can't remember where...). it may do what you are looking for :
// Remove self pings
add_action( 'pre_ping', 'my_no_self_ping' );
function my_no_self_ping( &$links ) {
$home = get_option( 'home' );
foreach ( $links as $l ...
1
By default WordPress does not display an avatar for a pingback or a trackback - do they even contain an e-mail address? You can add these to the get_avatar_comment_types filter if you want to change this.
1
Q: Are pingbacks sent immediately when a post is published, or are they scheduled as a cron job? If the later is correct, how often does the job run and can I trigger it manually?
A: You can install core control (wordpress plugin) to find out more.
Q: Are there any other terms for PBs to be sent besides having "Attempt to notify any blogs linked to from ...
Only top voted, non community-wiki answers of a minimum length are eligible