afasdf
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
bd1fea1de6
commit
d4c79f109b
|
@ -18,8 +18,7 @@ class widget_comicpress_comic_blog_post extends WP_Widget {
|
|||
|
||||
function widget($args, $instance) {
|
||||
global $post, $wp_query;
|
||||
extract($args, EXTR_SKIP);
|
||||
if (have_posts()) : while (have_posts()) : the_post();
|
||||
extract($args, EXTR_SKIP);
|
||||
if (!empty($post->post_content)) {
|
||||
echo $before_widget;
|
||||
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
|
||||
|
@ -28,8 +27,6 @@ class widget_comicpress_comic_blog_post extends WP_Widget {
|
|||
display_comic_post();
|
||||
echo $after_widget;
|
||||
}
|
||||
endwhile;
|
||||
endif;
|
||||
}
|
||||
|
||||
function update($new_instance, $old_instance) {
|
||||
|
|
Loading…
Reference in New Issue