'tmc_wavespell_widget_class', 'description'=> __('Show the daily 13-moon kin wavespell', 'tmc_wavespell_widget_desc'), ); $this->WP_Widget('tmc_wavespell_widget', __('13 Moon Wavespell', 'tmc_wavespell_widget'), $widget_options); } // widget form creation function form($instance) { // Check values if( $instance) { $title = esc_attr($instance['title']); $display_onload = esc_attr($instance['display_onload']); $display_decoder = esc_textarea($instance['display_decoder']); $this_kin_bg_color_hex = esc_textarea($instance['this_kin_bg_color_hex']); } else { $title = '13 Moon Wavespell'; $display_onload = 'off'; $display_decoder = 'on'; $this_kin_bg_color_hex = 'afa'; } ?>

Start With Info Expanded - ()
Display Decoder - () This Kin background color value (hex): #

More Customize 13-moon Settings '; // Check if title is set if ( $title ) { echo $before_title . $title . $after_title; } // Include output $tmc_content = start_new_wavespell($instance); // Pass over some vars echo '
'.$tmc_content.'
'; echo ''; echo $after_widget; } } // register widget add_action('widgets_init', create_function('', 'return register_widget("tmc_wavespell_widget");'));