'archives', 'description' => _a("Archives of your site's posts")); $this->WP_Widget('atom-archives', _a('Archives'), $widget_ops); } function widget($args, $instance){ extract($args); $instance = wp_parse_args($instance, $this->defaults()); $title = apply_filters('widget_title', $instance['title'], $instance, $this->id_base); $query_args = array( 'type' => $instance['type'], 'limit' => intval($instance['limit']), 'show_post_count' => $instance['count'] ? '1' : '0'); echo $before_widget; if ($title) echo $before_title.$title.$after_title; ?>
id="get_field_id('count'); ?>" name="get_field_name('count'); ?>" />
id="get_field_id('dropdown'); ?>" name="get_field_name('dropdown'); ?>" />