'sidebar_post', 'description' => __('Posts with featured image', 'bloom-feminine')); parent::__construct('homepage-main3', __('Posts Grid 3', 'bloom-feminine'), $widget_ops); } function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base); $category = isset($instance['category']) ? $instance['category'] : ''; $tags = empty($instance['tags']) ? '' : $instance['tags']; $postcount = empty($instance['postcount']) ? '3' : $instance['postcount']; $offset = empty($instance['offset']) ? '' : $instance['offset']; $sticky = isset($instance['sticky']) ? $instance['sticky'] : 0; $random = isset($instance['random']) ? $instance['random'] : 0; $show_date = isset($instance['show_date']) ? $instance['show_date'] : 0; echo $before_widget; ?>
'', 'category' => '', 'tags' => '','sticky' => 0, 'offset' => 0, 'random'=>0,'postcount'=>3,'show_date'=>0); $instance = wp_parse_args((array) $instance, $defaults); ?>
/>
/>
/>