This is a beta/temporary version of Themer for the widget. It is fully functional but in future I'd like to make it (if I have enough time) more accessible for people who have difficulties with CSS.
This is a new feature and these custom themes will remain even after the plugin update.
You can use the editor below or your favorite IDE (LESS is easier) and then copy/paste your CSS in the editor. (this editor do not convert LESS to CSS)




Please note that you have to add the calss "arw-theme1" to the .calendar-archives for the Theme 1 and "arw-theme2" for the Theme 2. Without it the theme will be applied to all widgets on the page. (e.g.: .calendar-archives.arw-theme1{} )

$css){ arcw_write_css($file, $css); } $update_message = __('Updated.').''; 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 ); } } }