__CLASS__, 'description' => __('Displays the comic blog post. (used within the comic sidebar areas)','comicpress') ); $this->WP_Widget(__CLASS__, __('ComicPress Comic Blog Post','comicpress'), $widget_ops); } } function widget($args, $instance) { global $post, $wp_query; if (!is_home() && $instance['onlyhome']) return; if (is_page() || is_search() || is_archive()) return; extract($args, EXTR_SKIP); if (!empty($post->post_content)) { echo $before_widget; $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); if ( !empty( $title ) ) { echo "