'Displaying recent posts.' ); parent::WP_Widget( false, __( 'Buzz - Tabs', 'buzz' ), $widget_ops ); } function widget( $args, $instance ) { $settings = $this->buzz_get_settings(); extract( $args, EXTR_SKIP ); $instance = wp_parse_args( $instance, $settings ); extract( $instance, EXTR_SKIP ); ?> id_base ) . $after_title; } ?>
have_posts()){ $query->the_post(); ?>

$post_count, 'post_id' => get_the_ID(), // use post_id, not post_ID ); $comments = get_comments($args); foreach($comments as $comment) : echo('
' . $comment->comment_author . '

' . $comment->comment_content . '

'); endforeach; ?>
settings, '' ); return $settings; } function form( $instance ) { $instance = wp_parse_args( $instance, $this->buzz_get_settings() ); extract( $instance, EXTR_SKIP ); ?>