To edit your template settings, update your wp_x_posts table and set the relevant (random) value for 'template' and 'stylesheet'.
Example:
update wp_1_posts set option_value = 'home' where option_name = 'template';
update wp_1_posts set option_value = 'home' where option_name = 'stylesheet';
Haven't tested this myself, but it's a start.
Yes, you can do both very elegantly with xmlrpc. Check the xmlrpc interface of wordpress (it is setoptions or so, don't remember) and write some lines of code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.