WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Couldn't find this on Google...

Is there any handy way of fully (or partially) configuring a Wordpress site (plugins and all) using XML/JSON/YAML/etc? In general, I'm looking for a highly-readable, declarative way of setting up Wordpress and to minimize having to deal with PHP.

share|improve this question

I created a build script using Phing which has an XML based configure syntax (build.properties), which is based on Apache Ant (Java).

It currently supports:

Installing WordPress and DB
Installing any plugins and themes from external urls (zip or gzip format)
Adding config details like site title, login name/pass, email (more can be added if your write php)
Adding custom detials to run or during install (must be written in php or phing syntax).
+ more stuff

It's not really a "config" file that you are probably looking for since it is run from the command line and requires phing to be installed and not directly read from WordPress, but it sure makes installing faster.

You can also have a look at :

share|improve this answer

If you are looking for something like Joomla's templateDetails.xml, for example (but possibly more elaborate), there is nothing built in like that that I have ever seen.

There might be plugins that allow that kind of configuration, but not any that I can name.

What configuration you can do is by defining some constants in wp-config.php but that is PHP, and you can't install/activate plugins that way, or themes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.