Theme Editor

Simple UI to create your own theme for Archives Calendar Widget.
No code knowledge needed.

Open theme editor    
The editor is an external tool and will be opened a new tab/window.



$css) { arcw_write_css($file, $css); } $update_message = __('Updated.') . $_POST["editor-tab"] . ''; add_settings_error('themer', 'ok', $update_message, 'updated'); return $args; } function arcw_write_css($file, $css) { global $wpdb; if ($css) { if (isMU()) { $old_blog = $wpdb->blogid; $blogids = $wpdb->get_results("SELECT blog_id FROM $wpdb->blogs"); foreach ($blogids as $blogid) { $blog_id = $blogid->blog_id; switch_to_blog($blog_id); $filename = '../wp-content/plugins/' . dirname(plugin_basename(__FILE__)) . '/themes/' . $file . '-' . $wpdb->blogid . '.css'; $themefile = fopen($filename, "w") or die("Unable to open file!"); fwrite($themefile, $css); fclose($themefile); } switch_to_blog($old_blog); } else { $filename = '../wp-content/plugins/' . dirname(plugin_basename(__FILE__)) . '/themes/' . $file . '.css'; $themefile = fopen($filename, "w") or die("Unable to open file!"); fwrite($themefile, $css); fclose($themefile); } } }