'magee-countdowns', 'class' =>'', 'topicon' => '', 'fontcolor' => '', 'backgroundcolor' => '', 'endtime' => date('Y-m-d H:i:s',strtotime(' 1 month')), 'nowtime' => '', 'type' => 'normal', 'day_field_text' => __('Days','magee-shortcodes-pro' ), 'hours_field_text' => __('Hours','magee-shortcodes-pro' ), 'minutes_field_text' => __('Minutes','magee-shortcodes-pro' ), 'seconds_field_text' => __('Seconds','magee-shortcodes-pro' ), 'google_fonts' => '', 'circle_type_day_color' => '', 'circle_type_hours_color' => '', 'circle_type_minutes_color' => '', 'circle_type_seconds_color' => '', ), $args ); extract( $defaults ); self::$args = $defaults; $countdownsID = uniqid('countdowns'); $addclass = uniqid('countdown'); $class .= ' '.$addclass; $css_style = ''; $boxed = ''; $html = ''; switch($type){ case 'normal': if( $backgroundcolor ) $css_style .= '#'.$countdownsID.' .magee-counter-box{background-color:'.$backgroundcolor.';}'; $boxed = 'boxed'; if( $fontcolor) $css_style .= '#'.$countdownsID.' .magee-counter-box h3.counter-title{color:'.$fontcolor.'; }'; $css_style .= '#'.$countdownsID.' .magee-counter-box{color:'.$fontcolor.';}'; $html .= ''; $html .= '