Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-09-19 20:33:56 -07:00
parent ccabf178ee
commit d8c0e1aa82
4 changed files with 6 additions and 7 deletions

View File

@ -762,8 +762,7 @@ function comicpress_check_themepack_file($filename = '') {
global $themepack_directory;
if (empty($filename)) return false;
if ( ($themepack_directory != 'none' && !empty($themepack_directory) ) && file_exists(get_template_directory() . '/themepack/'.$themepack_directory.'/'.$filename) ) {
$uhohkay = include(get_template_directory() . '/themepack/' .$themepack_directory. '/'.$filename);
echo "got here".$uhohkay;
@include(get_template_directory() . '/themepack/' .$themepack_directory. '/'.$filename);
return true;
}
return false;

View File

@ -28,9 +28,9 @@ function comicpress_body_class($classes = '') {
}
if (comicpress_is_member()) {
$classes[] = 'member';
$classes[] = 'sitemember';
} else {
$classes[] = 'non-member';
$classes[] = 'non-sitemember';
}
if($is_lynx) $classes[] = 'lynx';

View File

@ -56,7 +56,7 @@ function display_blog_post() {
if (comicpress_check_themepack_file('commentlink.php') == false) { ?>
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> No Comments ', '<span class="comment-balloon">1</span> Comment ', '<span class="comment-balloon">%</span> Comments '); ?></div>
<?php }
}
}
} ?>
<div class="clear"></div>
<?php if ($enable_related_posts == 'yes') echo related_posts_shortcode(); ?>

View File

@ -1,3 +1,3 @@
<?php global $post; if ($post->comment_status != 'closed') { ?>
<div class="comment-link">[ <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> ]</div><?php } ?>
}
<div class="comment-link">[ <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> ]</div>
<?php } ?>