diff --git a/sidebar-left.php b/sidebar-left.php index 1d57cb9..a68c7e3 100644 --- a/sidebar-left.php +++ b/sidebar-left.php @@ -9,7 +9,7 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?> the_widget('ComicPressCalendarWidget'); the_widget('ComicPressArchiveDropdownWidget','mode=monthly_archive'); } -// the_widget('ComicPressLatestComicsWidget'); + the_widget('ComicPressLatestComicsWidget'); endif; ?> diff --git a/widgets/LatestComicsWidget.inc b/widgets/LatestComicsWidget.inc index adce3fb..995e053 100644 --- a/widgets/LatestComicsWidget.inc +++ b/widgets/LatestComicsWidget.inc @@ -20,7 +20,7 @@ class ComicPressLatestComicsWidget extends WP_Widget { 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; }; @@ -30,7 +30,10 @@ class ComicPressLatestComicsWidget extends WP_Widget {