该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP.com Cross-Post

描述

WP.com Cross-Post is a free plugin that syncs your WordPress.com blog with your self-hosted WordPress site automatically, every day.

It creates posts on your self-hosted WordPress site by fetching them from WordPress.com through the API and publishes them automatically.

Customization

This plugin is customizable via filters. The available filters are:

  • wpcom_crosspost_author_email: Pass the email address of the user to use as author of the cross-posts;
  • wpcom_crosspost_post_data: Filter the data before to create the cross-post;
  • wpcom_crosspost_sync_frequency: Change the frequency of the scheduled event to check for new posts;
  • wpcom_crosspost_api_call_params: Filter the data sent to WordPress.com via API to retrieve posts;
  • wpcom_crosspost_sinc_from: Change the “from” date to retrieve posts from WordPress.com. Default “yesterday”.

Google Duplicated Content

This plugin is compatible with Yoast SEO to prevent duplicated content. Make sure to have Yoast SEO installed and active, the plugin will automatically filter the post URL and set the canonical cross-domain URL pointing to its original WordPress.com permalink.

安装

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “WP.com Cross-Post” and click Search Plugins. Once you’ve found the plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

Configuration

Go to Settings > WP.com X-Post and fill in the Client ID and Secret. If you don’t have them, click on the button “Create WordPress.com App” to create an app on WordPress.com.

Save the changes. The button “Connect to WordPress.com” will appear. Click on it to connect your self-hosted site to WordPress.com and choose the blog you want to sync with.

One hour after the first activation there will be the first sync.

评价

此插件暂无评价。

贡献者及开发者

「WP.com Cross-Post」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「WP.com Cross-Post」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「WP.com Cross-Post」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • First release