'FB comment', 'description' => 'icon description', 'icon_class' => 'fa fa-facebook-square', 'container' => false, 'has_content' => false, 'defaults' => array(), ); parent::__construct($id_base, $name, $options); } function init(){ // $this->ready('ve_front.icon.start();'); $this->support('CssEditor'); } function element($instance,$content=''){ $instance=shortcode_atts( array( 'comment_url' => '', 'comment_width' => '', 'comment_count'=>'', ), $instance ); $url=$instance['comment_url'] == "" ? "http://allinonewpbuilder.com/" : $instance['icon_name']; $width=$instance['comment_width'] == "" ? "100%" : $instance['comment_width']; $count=$instance['comment_count']; //
echo ''; // echo ''; } function form($instance){ $instance=shortcode_atts( array( 'comment_url' => '', 'comment_width' => '', 'comment_count'=>'', ), $instance ); ?>