Wordpress Webmention Plugin

From IndieWeb
(Redirected from Webmention Plugin)
Jump to: navigation, search

The Wordpress Webmention Plugin is a WordPress plugin that adds webmention support to WordPress.

Incoming webmentions are added as comments to the original post and webmentions are sent when a post is published/updated.

Contents

Installation

The WordPress Webmentions plugin is available in the WordPress.org repository. The development version is available on Github.

Configuration

While the plugin has no specific settings, for it to work, you must enable link notifications.

  • Go to the Settings => Discussion page in your WordPress admin, and check the "Allow link notifications from other blogs (pingbacks and trackbacks)" and "Allow people to post comments on new articles" checkboxes.

Automatically approving

Webmentions often get caught in moderation and/or flagged as spam by Akismet and other spam filter plugins. To prevent this, add this PHP snippet to your theme's functions.php file:

function unspam_webmentions($approved, $commentdata) {
  return $commentdata['comment_type'] == 'webmention' ? 1 : $approved;
}

add_filter('pre_comment_approved', 'unspam_webmentions', '99', 2);

Related Plugins


WordPress
Topics Getting Started on WordPressPluginsThemesExamplesDevelopmentDataSecurity
Plugins Wordpress Webmention PluginSemantic LinkbacksPost Kinds Plugin
Assistance WordPress Outreach Club


See Also

  • ...
Personal tools
Namespaces
Variants
Actions
Recent & Upcoming
Resources
Toolbox