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) {
|
function widget($args, $instance) {
|
||||||
global $post, $wp_query;
|
global $post, $wp_query;
|
||||||
extract($args, EXTR_SKIP);
|
extract($args, EXTR_SKIP);
|
||||||
if (have_posts()) : while (have_posts()) : the_post();
|
|
||||||
if (!empty($post->post_content)) {
|
if (!empty($post->post_content)) {
|
||||||
echo $before_widget;
|
echo $before_widget;
|
||||||
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
|
$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();
|
display_comic_post();
|
||||||
echo $after_widget;
|
echo $after_widget;
|
||||||
}
|
}
|
||||||
endwhile;
|
|
||||||
endif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function update($new_instance, $old_instance) {
|
function update($new_instance, $old_instance) {
|
||||||
|
|
Loading…
Reference in New Issue