'evolve_tabs', 'description' => __( 'Popular posts, recent posts and comments.', 'evolve' ), ) // Args ); } function widget( $args, $instance ) { global $data, $post; extract( $args ); if ( ! empty( $instance['posts'] ) ) { $posts = $instance['posts']; } if ( ! empty( $instance['comments'] ) ) { $number = $instance['comments']; } if ( ! empty( $instance['tags'] ) ) { $tags_count = $instance['tags']; } if ( ! empty( $instance['orderby'] ) ) { $orderby = $instance['orderby']; } $show_popular_posts = isset( $instance['show_popular_posts'] ) ? 'true' : 'false'; $show_recent_posts = isset( $instance['show_recent_posts'] ) ? 'true' : 'false'; $show_comments = isset( $instance['show_comments'] ) ? 'true' : 'false'; echo $before_widget; ?>
have_posts() ): ?>
'3', 'comments' => '3', 'tags' => '3', 'show_popular_posts' => 'on', 'show_recent_posts' => 'on', 'show_comments' => 'on', 'show_tags' => 'on', 'orderby' => 'Highest Comments' ); $instance = wp_parse_args( (array) $instance, $defaults ); ?>

id="get_field_id( 'show_popular_posts' ); ?>" name="get_field_name( 'show_popular_posts' ); ?>"/>
id="get_field_id( 'show_recent_posts' ); ?>" name="get_field_name( 'show_recent_posts' ); ?>"/>
id="get_field_id( 'show_comments' ); ?>" name="get_field_name( 'show_comments' ); ?>"/>