Download the PHP package silbinarywolf/silverstripe-wordpressmigrationtools without Composer
On this page you can find all versions of the php package silbinarywolf/silverstripe-wordpressmigrationtools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silbinarywolf/silverstripe-wordpressmigrationtools
More information about silbinarywolf/silverstripe-wordpressmigrationtools
Files in silbinarywolf/silverstripe-wordpressmigrationtools
Package silverstripe-wordpressmigrationtools
Short Description A wordpress importer that handles various operations.
License BSD-3-Clause
Informations about the package silverstripe-wordpressmigrationtools
Wordpress Migration Tools
A Wordpress Importer that handles various operations:
- Import Pages (WordpressImportService::importPages)
- Update imported pages to have same Wordpress page hierarchy (WordpressImportService::updatePagesBasedOnHierarchy)
- Fix $Content or Elemental's ElementContent $HTML to point assets to local URLs or shortcodes as appropriate (WordpressImportService::fixPostContentURLs)
- Update Home page to match Wordpress home page (WordpressImportService::setHomepageToWordpressPageAndDeleteCurrentHomePage)
- Update imported pages to have match the provided Wordpress menu hierarchy (WordpressImportService::updatePagesBasedOnNavMenu)
- Import Gravity Forms data as UserDefinedForm pages (WordpressImportService::importGravityForms)
Quick Start
-
Configure WordpressImportBasicTask items in in YML
- Run "Wordpress Basic Import Task" from /dev/tasks
Modifying/Extending the importer
This Wordpress importer is designed to allow you to take the functionality you want to use specifically and then easily tack your own logic on top. The simplest way to do this is to create your own task that extends 'WordpressImportBasicTask' and override the 'runCustom' function. From here you can either choose to call 'parent::runCustom()' or copy-paste the seperate import function calls and comment out what you don't need.
All versions of silverstripe-wordpressmigrationtools with dependencies
silverstripe/framework Version ~3.2
silverstripe/cms Version ~3.2
php Version >=5.3.0