Note: This is work in progress, when the editor is done, it will be announced here.
I’m coding a skin editor for the sandbox theme. The code will be gpl, so you can adjust it to other themes, but I will only support the sandbox theme.
Here’s a demo of the prototype: https://soderlind.no/demo/skineditor.php
v1.0 will:
- support both WordPress 2.x and MU
- have a preview
- allow you to save a style to a temporary file prior to publishing it (for testing)
- in MU, save the style to wp-content/blogs.dir/$wpdb->blogid/css
- filter the saved css to prevent xss
btw, if you don’t know the Sandbox theme, have a look here: https://www.plaintxt.org/themes/sandbox/. It is one of the easiest/best themes to use as a building block for creating your own themes using css.