'blacklite_about_widget', 'description' => esc_html__('A widget displaying your information.', 'blacklite')); parent::__construct('blacklite_about_widget', esc_html__('ZThemes: About Me', 'blacklite'), $widget_ops); } function widget( $args, $instance ) { extract( $args ); /* Our variables from the widget settings. */ $title = apply_filters('widget_title', $instance['title'] ); $image = $instance['image']; $subtitle = $instance['subtitle']; $description = $instance['description']; $signing = $instance['signing']; /* Before widget (defined by themes). */ echo $before_widget; /* Display the widget title if one was input (before and after defined by themes). */ if ( $title ) echo $before_title . $title . $after_title; ?>
'About Me', 'image' => '', 'subtitle' => '', 'description' => '', 'signing' => ''); $instance = wp_parse_args( (array) $instance, $defaults ); ?>