ComicBlogPostWidget.inc now defaults the title the posts title which is css'd.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
8f254211e5
commit
36a8a1a2b6
|
@ -32,7 +32,7 @@ class ComicPressComicBlogPostWidget extends WP_Widget {
|
|||
echo $before_widget;
|
||||
$temp_query = $wp_query->is_single;
|
||||
$wp_query->is_single = true;
|
||||
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
|
||||
$title = empty($instance['title']) ? the_title() : apply_filters('widget_title', $instance['title']);
|
||||
if ( !empty( $title ) ) { echo "<div class=\"comic-post-header\">".$title."</div>\r\n"; }
|
||||
the_content();
|
||||
$wp_query->is_single = $temp_query;
|
||||
|
|
Loading…
Reference in New Issue