'Recent Posts', 'posts_number' => '5', 'order_by' => 'none', 'display_content' => 'true', 'display_title' => 'true', 'display_date' => 'true', 'display_featured_image' => 'true', 'excerpt_length' => '120', 'filter' => 'recent', 'filter_cats' => '', 'filter_tags' => '' ); class Posts extends WP_Widget { function __construct() { $widget_options = array('description' => 'Advanced widget for displaying the recent posts or posts from the selected categories or tags.'); $control_options = array( 'width' => 400); $this->WP_Widget('posts', '» Posts with Images', $widget_options, $control_options); } function widget($args, $instance){ global $post; extract( $args ); $title = apply_filters('widget_title', $instance['title']); ?>
')."