ID, $coauthor->user_nicename ); $i = 0; foreach ( $coauthors as $coauthor ) { $i++; ?>
description; ?>
__( 'Show avatars and names of the authors', 'widget-for-co-authors' ), ) ); } // Widget front-end public function widget( $args, $instance ) { $title = apply_filters( 'widget_title', $instance['title'] ); // before and after echo $args['before_widget']; if ( ! empty( $title ) ) echo $args['before_title'] . $title . $args['after_title']; // output blog_avatars(); echo $args['after_widget']; } // Widget backend public function form( $instance ) { if ( isset( $instance[ 'title' ] ) ) { $title = $instance[ 'title' ]; } else { $title = __( 'Written by', 'widget-for-co-authors' ); } // Widget form ?>