'Display your most recent articles.', 'classname' => 'quidus_recent_posts') );; } public function widget($args, $instance) { extract( $args ); $instance['title']?NULL:$instance['title']=''; $title = apply_filters('widget_title',$instance['title']); $output = $before_widget."\n"; if($title) $output .= $before_title.$title.$after_title; ob_start(); ?> array( 'post' ), 'showposts' => $instance['posts_num'], 'cat' => $instance['posts_cat_id'], 'ignore_sticky_posts' => true, 'orderby' => $instance['posts_orderby'], 'order' => 'dsc', 'date_query' => array( array( 'after' => $instance['posts_time'], ), ), ) ); ?> '', // Posts 'posts_thumb' => 1, 'posts_category' => 1, 'posts_date' => 1, 'posts_num' => '4', 'posts_cat_id' => '0', 'posts_orderby' => 'date', 'posts_time' => '0', ); $instance = wp_parse_args( (array) $instance, $defaults ); ?>

" />

Category

$this->get_field_name("posts_cat_id"), 'selected' => $instance["posts_cat_id"], 'show_option_all' => 'All', 'show_count' => true ) ); ?>

Ordering

Time Range


>

" name="get_field_name("posts_num"); ?>" type="text" value="" size='3' />


Post Meta

>

>