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

WordPress Importer Extended

描述

Well, the WordPress importer is kinda flawed, but as a developer I use it quite often. One of the more annoying things is that you can’t simply import a file that’s on the server. This plugin makes this possible. Please make a full backup of your WordPress install before attemting such an import.

Another feature is the auto-import of files during the plugin activation. This is especially useful in combination with the WordPress Reset plugin. Just reset the blog and auto-import all the content you need. Right now you’ll need my patched version of the reset plugin that you can download from the plugin page on my site.

More recommended developer tools:

Other plugins I wrote

安装

You have to install the normal WordPress Importer plugin before you can do anything with this one.

For manual import

  1. Make a full backup of your WordPress install.
  2. Unzip
  3. Upload to your plugins directory
  4. Enable the plugin
  5. Add define(‘WP_LOAD_IMPORTERS’, true); to your wp-config.php file. Remember to disable this after the import has finished.
  6. Add define(‘WORDPRESS_IMPORTER_EXTENDED_FETCH_ATTACHMENTS’, true); to your wp-config.php file if you with to download the attachments.
  7. Go to Tools->WordPress Importer Extended and enter the path to your WXR file (relative from the WordPress root directory).

For automatic import on activation

Upload the plugin. Then you have to set

in your wp-config.php file. To specify which files to import use for example

Then you just need to activate the plugin to start the import. The recommended method is to use the WordPress Reset plugin and to configure this plugin and the normal WordPress Import to autostart by adding this to your wp-config.php:

If you wish to download the attachments specify define(‘WORDPRESS_IMPORTER_EXTENDED_FETCH_ATTACHMENTS’, true);

常见问题

None yet.

评价

2016年9月3日
It didn't work first and didn't throw an error message. Reading the instructions again that come with the plugins' readme I added define('WP_LOAD_IMPORTERS', true); to my wp-config.php and it worked like a charm. Make sure to add define('WORDPRESS_IMPORTER_EXTENDED_FETCH_ATTACHMENTS', true); if you'd like to import attachments as well.
阅读所有3条评价

贡献者及开发者

“WordPress Importer Extended” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.3 ( 2011-05-24 )

  • Update documentation

0.2 ( 2011-05-23 )

  • Misc bugfixes
  • Allow importing of attachments
  • First public release

0.1 ( 2011-05-22 )

  • Autoimport on activation works
  • Manual import works