Download the Demo Content file for your theme from this website, and unzip the XML file to your computer. The XML file will be named something like: “accelerate.wordpress.####.xml”. This is the file you will upload/import to your site. The WP importer will not import from the the zip file you downloaded.
Login to wp-admin on your website and open Tools/Import.
Click on the Run Importer link at the bottom of the list. This will open the Importer and ask you to upload the file. You can drag it to the Browse button in most browsers, or you can click the Browse button and navigate to the file on your computer. Click the Upload file and import button to start the process.
The system will crunch the XML file and prompt you to assign an Author to the posts you are importing. Choose whichever admin/user to whom you wish to give credit… or not. MORE IMPORTANTLY, make sure to check the “Download and import file attachments” box! Otherwise your demo pages, posts and products will not have any images attached to them.
The system will start the import… DO NOT INTERRUPT this process. It may take a couple of minutes to import all the data and download the media. Congratulations, your site has content! But this is just the first step. You have to perform a few more tasks to bring your site up to speed with WooCommerce and AMP.
As with all WP themes, you will need to assign your navigation menus to the theme’s locations. Click on Appearance/Menus to open the editor. Next click on the Manage Locations tab. The demo content comes with Main and Footer menus, the mobile menu uses the Main menu by default. Choose Main from the drop-down for the Main Menu, and Footer from the drop-down for Footer Menu… or create and use your own menus as you see fit.
Another standard WP maneuver is to assign your Home (front) and Blog pages. Click on Settings/Reading to acces the editor. Under the first section labeled “Your homepage displays” you have options for assigning pages to act as your home and blog pages. By default WP displays your latest posts on the home page as if it were the blog. Choose Home form the drop-down for Homepage, and choose Blog from the drop-down for Posts page.
WooCommerce Page Assignment
Now that we have the basics out of the way it’s time to handle the WooCommerce pages. Click on WooCommerce/Settings to access the editor. Once it is open, click on the Products tab. Choose Store from the drop-down for Shop page and click the Save Changes button.
AMP Settings & Validation
Finally, it’s time to setup AMP. This why you’re here isn’t it? Our products are made to be compatible with the AMP plugin… but as with all things WP, there are steps to be made towards validation. Start by clicking AMP/General to open the editor. Under Template Mode, check the Native radio button. This enables the entire site (minus woo cart/checkout pages) to be AMP compliant. Be sure to click the Save Changes button.
After you enable Native AMP, you may see a warning about validation errors. This is the AMP plugin doing it’s job… almost.
Though they do have an “Auto-Approve” feature for validation what they call “errors” that the plugin fixes, it still always manages to require some interaction. These errors are mostly just normal website programming that doesn’t fit the AMP protocol, and their fixes are mostly filters that change them to be compliant. This sound simple, but believe me… it is not.
Despite the auto-approval setting, you may still have to approve the errors/fixes manually to make that final step towards validation. Click on AMP/Error Index to handle these approvals.
The easiest way to be sure you have the best start you can, I suggest you click the checkbox below the Bulk Actions drop-down to select all entries. Next choose Approve from the drop-down, and click Apply. Repeat this procedure on each page by clicking the navigation button at the top right of the table. Once you have approved all entries, you will be fully AMPed.
As you build your site, AMP will continue searching for and fixing the invalidations. You may need to check this page and approve any new errors that come up to keep your new pages/edits vaildating.