Plugin Directory

Changeset 388457


Ignore:
Timestamp:
05/24/2011 09:27:48 AM (15 years ago)
Author:
nkuttler
Message:

formatting and add docs on how to autostart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wordpress-importer-extended/trunk/readme.txt

    r388456 r388457  
    5656
    5757Upload the plugin. Then you have to set
     58`<?php
    5859define( 'WP_LOAD_IMPORTERS', true );
     60?>`
    5961in your wp-config.php file. To specify which files to import use for example
     62`<?php
    6063define('WORDPRESS_IMPORTER_EXTENDED_AUTO', 'wp-content/test-data.2011-01-17.xml');
    61 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 to autostart.
     64?>`
     65Then 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:
     66`<?php
     67define( 'WORDPRESS_RESET_REACTIVATE_PLUGINS', 'wordpress-reset/wordpress-reset.php,wordpress-importer/wordpress-importer.php,wordpress-importer-extended/wordpress-importer-extended.php' );
     68?>`
    6269If you wish to download the attachments specify define('WORDPRESS_IMPORTER_EXTENDED_FETCH_ATTACHMENTS', true);
    6370
Note: See TracChangeset for help on using the changeset viewer.