public function div_color($attribs, $innercontent = '') { $attribs = \Core\Shortcode::shortcodeAtts(array('textcolor' => "#cc0000"), $attribs); $html = '<div style="color:' . $attribs['textcolor'] . '">' . $innercontent . '</div>'; return $html; }