dtbaker / envato-wp-theme-setup-wizard

A step by step setup wizard that runs after a ThemeForest theme has been activated.
GNU General Public License v2.0
202 stars 66 forks source link

Issue with import Pages #19

Closed vinnc closed 8 years ago

vinnc commented 8 years ago

Hello

We try to import a pages with your installer but get an error "Error"

We also noticed that in the class Envato_Theme_Setup_Wizard there is no import function for pages

_content_install_pages

Also, there is no function to import from xml as you have written in the Readme

return $this->_import_wordpress_xml_file(DIR ."/content/all.xml");

dtbaker commented 8 years ago

_content_install_pages and xml import have been removed and replaced with the better json format (you'll see it's commented out)

https://github.com/dtbaker/envato-wp-theme-setup-wizard/blob/master/envato_setup/envato_setup.php#L980

_content_install_type handles all the different media types.