static function handle_shortcode($atts) { self::$add_script = true; extract(shortcode_atts(array('key' => false), $atts, 'sms')); ob_start(); ?> <div class="phone-share mode-closed" data-key="<?php echo $key; ?> "> <input class="phone-box" type="text" placeholder="(918) 555-4422"/> <span class="inner-button"></span> <span class="front-button" data-message="Share to Phone"></span> </div> <?php $content = ob_get_clean(); return $content; }