简体   繁体   中英

Create a WordPress installation Zip with theme and plugins installed

Is it possible to prepare a customized WordPress installation zip file which will include a custom default theme and a number of other plugins already installed?

If it is, I would appreciate a hint in the right direction since I've been banging my head against the wall on this for 2 days now :)

Thanks!

I think the cleanest solution is to just ship your theme with a list of plugins that it requires, which in turn will allow you to download and activate them all with a click. This means that the action would be done automatically.

To be able to require plugins to be downloaded and installed programatically, check out this compact library - TGM Plugin Activation .

It allows you to specify plugins that should be installed from Wordpress official respository, as well as your own local copies, which can ship with your theme's zip file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM