Answer the question
In order to leave comments, you need to log in
Wordpress, creating demo data for a theme?
Good afternoon.
I am creating a theme for wordpress. For me, it works with shortcodes and a certain structure of categories and pages.
Tell me how to make it possible to install demo data after activating the theme. Met on some topics such. If I'm not mistaken, then when installing the theme, a plugin was automatically installed in which you could install demo data.
Answer the question
In order to leave comments, you need to log in
Import is already built into WP core. The simplest thing is to prepare an XML file for import and attach the deployment instructions.
Some premium themes use similar plugins to quickly import data
https://www.wordpress.org/plugins/one-click-demo-import/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question