Tag Info

Hot answers tagged

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 ...


5

<?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'])){ ...


5

Add topsy.com/trackback (or whatever they are using for those links now) to Settings > Discussion > Comment Blacklist.


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

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 ...


3

On what posts did you expect a trackback? SimpleX should support trackbacks, but displays them in a separate box.


2

The comment handling is somewhat difficult to follow in code. My educated guess is that you have comment whitelist enabled (Comment author must have previously approved comment), but since pingbacks are not identifiable by author they are treated as requiring moderation.


2

Have you marked their comments as spam? Akismet is supposed to learn from comments you mark as spam. Try that, it should start being marked as spam eventually.


2

Put this in a network activated plugin. add_filter('pings_open','__return_false'); No more incoming pings.


2

To make this more WP-ish: function wpse_delete_trackbacks() { global $wpdb; $wpdb->query( $wpdb->prepare( " DELETE FROM %s WHERE `comment_type` = 'trackback' ", "{$wpdb->prefix}comments" ) ); }


2

It's "Pingback" What is Pingback? Pingbacks (also known as trackbacks) are a form of automated comment for a page or post, created when another WordPress blog links to that page or post. When you publish a new blog post, WordPress attempts to ‘ping‘ all the sites that were linked to in your post. i.e. Your WordPress website is informing other websites ...


2

For pingbacks, it seems only the linked page/post and the page/post it linked from are sent. Check out the pingback() function, specifically this line: $client->query( 'pingback.ping', $pagelinkedfrom, $pagelinkedto ); ... where $client is an instance of WP_HTTP_IXR_Client. The query method uses IXR_Request to package up a simple XML document: ...


2

The plugin you mentioned is only a single function so it shouldn't be too heavy on your setup. It uses the comments_template filter to inject the pingbacks/trackbacks list into your page. But the plugin is using an extra manual SQL query and the template is constructed by hand, so there's a room for improvements/simplifications. A simple demo plugin with ...


1

This will display them before the DISQUS comment form but not the count add_filter( 'comments_template', function( $pings_before_dsq_comments) { if( !function_exists( 'dsq_is_installed' ) || !dsq_is_installed() ) return $pings_before_dsq_comments; wp_list_comments( array( 'style' => 'ul', 'type' => 'pings' )); ...


1

Pingbacks and trackbacks are useful because they create two-way connection between similar pages and users can browse relevant articles. IMHO, two-ways linking is the main idea of the internet and why it was build. Install Akismet or similar plugin if you are afraid of spam.


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

I gave up on finding an elegant solution and just used a MySQL sledgehammer to banish the spam: DELETE FROM `wp_comments` WHERE `comment_type`="trackback"


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

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

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

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

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 ...


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.



Only top voted, non community-wiki answers of a minimum length are eligible