__CLASS__, 'description' => __('Display a list of the latest comics available.','comicpress') ); $this->WP_Widget(__CLASS__, __('ComicPress Latest Comics','comicpress'), $widget_ops); } } function widget($args, $instance) { global $post; extract($args, EXTR_SKIP); Protect(); echo $before_widget; $title = empty($instance['title']) ? __('Latest Comics','comicpress') : apply_filters('widget_title', $instance['title']); if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }; $latestcomics = get_posts('numberposts=5&category='.get_all_comic_categories_as_cat_string()); ?>
'' ) ); $title = strip_tags($instance['title']); ?>