Skip to content

Commit

Permalink
if diable_blog_frontpage is enabled allow comments to show on home pa…
Browse files Browse the repository at this point in the history
…ge (if comic post is still enabled)

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
  • Loading branch information
Philip M. Hofer (Frumph) committed Feb 12, 2011
1 parent b2330fe commit e143398
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Expand Up @@ -14,6 +14,7 @@ started creating a proper readme.txt file
added option to show first comic on the home page
added s at the end of comments for multiple comics in the comments widget
added setup_postdata in the comments widget to properly access data
if disable_blog_frontpage is enabled, allow comments to be displayed on comic posts on home page if comic post is shown

2.9.2.29.1
$is_comic needed to be set in the archive.php before hand, was giving notice
Expand Down
4 changes: 4 additions & 0 deletions index.php
Expand Up @@ -7,6 +7,10 @@
$comicFrontpage->query('showposts=1&order='.$order.'&cat='.comicpress_all_comic_categories_string());
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post();
comicpress_display_post();
if (comicpress_themeinfo('disable_blog_frontpage')) {
$withcomments = 1;
comments_template('', true);
}
endwhile;
}

Expand Down

0 comments on commit e143398

Please sign in to comment.