asfd
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
ccabf178ee
commit
d8c0e1aa82
|
@ -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;
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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"> </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(); ?>
|
||||
|
|
|
@ -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 } ?>
|
||||
|
|
Loading…
Reference in New Issue