'widget-post-author', 'description' => esc_html__( 'Displays Author info.', 'blog-personal' ), ); parent::__construct( 'Blog_Personal_Author',esc_html__( 'Blog: Author', 'blog-personal' ), $widget_ops, $control_ops ); } /** * Outputs the widget settings form. * * @since 1.0.0 * * @param array $instance Current settings. */ function form( $instance ) { // Defaults. $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'description' => '', 'image_url' => '', 'layout' => 'v1', 'author_facebook' => '', 'author_twitter' => '', 'author_linkedin' => '', 'author_instagram' => '', 'author_pinterest' => '', 'author_youtube' => '', ) ); $image_url = ''; $image_url = esc_url( $instance[ 'image_url' ] ); ?>



> <?php esc_attr_e( 'Preview', 'blog-personal' ); ?>