S
S
Sergey Krivosheev2018-03-16 11:27:49
WordPress
Sergey Krivosheev, 2018-03-16 11:27:49

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

2 answer(s)
Z
zorca, 2018-03-16
@zorca

Import is already built into WP core. The simplest thing is to prepare an XML file for import and attach the deployment instructions.

O
Orkhan Hasanli, 2018-03-16
@azerphoenix

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 question

Ask a Question

731 491 924 answers to any question