__( 'Bittumb: About Me', 'bittumb' ), 'classname' => 'about-me-widget', 'description' => __( 'About Me widgets', 'bittumb' ), 'fields' => array( array( 'id' => 'btm_about_title', 'type' => 'text', 'title' => __( 'Title', 'bittumb' ), ), array( 'id' => 'btm_about_image', 'type' => 'media', 'title' => __( 'Photo', 'bittumb' ), ), array( 'id' => 'btm_about_bio', 'type' => 'textarea', 'title' => __( 'Bio', 'bittumb' ), ), array( 'id' => 'btm_about_btn_label', 'type' => 'text', 'title' => __( 'Button Text', 'bittumb' ), 'default' => __( 'Get in Touch', 'bittumb' ) ), array( 'id' => 'btm_about_btn_link', 'type' => 'text', 'title' => __( 'Button Link', 'bittumb' ), 'default' => __( '#', 'bittumb' ) ), ) ) ); // Front end if( ! function_exists( 'btm_about_me' ) ) { function btm_about_me( $args, $instance ) { echo $args['before_widget']; if ( ! empty( $instance['title'] ) ) { echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title']; } ?>