'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; ?>
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' ); ?>"/>