Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

if diable_blog_frontpage is enabled allow comments to show on home pa…

…ge (if comic post is still enabled)

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
  • Loading branch information...
commit e143398f7c71e2d6a699635ded3a1898eb6a0f61 1 parent b2330fe
Philip M. Hofer (Frumph) authored
Showing with 5 additions and 0 deletions.
  1. +1 −0  changelog.txt
  2. +4 −0 index.php
View
1  changelog.txt
@@ -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
View
4 index.php
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.