Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-10-20 21:13:57 -07:00
parent dc916d1121
commit 5f7e260d43
5 changed files with 16 additions and 9 deletions

View File

@ -35,6 +35,12 @@ function comicpress_body_class($classes = '') {
} }
} }
if (in_comic_category()) {
$classes[] = 'comic';
} else {
$classes[] = 'noncomic';
}
if($is_lynx) $classes[] = 'lynx'; if($is_lynx) $classes[] = 'lynx';
elseif($is_gecko) $classes[] = 'gecko'; elseif($is_gecko) $classes[] = 'gecko';
elseif($is_opera) $classes[] = 'opera'; elseif($is_opera) $classes[] = 'opera';

View File

@ -33,11 +33,11 @@ function display_blog_post() {
<?php } ?> <?php } ?>
<div class="post-text"> <div class="post-text">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></small><br /> <div class="post-author"> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></div>
<?php if ($disable_categories_in_posts != 'yes') { ?> <?php if ($disable_categories_in_posts != 'yes') { ?>
<small><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br /> <div class="post-cat"><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></div>
<?php } ?> <?php } ?>
<small><?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></small> <div class="post-edit"><?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
@ -49,7 +49,7 @@ function display_blog_post() {
</div> </div>
<div class="post-extras"> <div class="post-extras">
<?php if ($disable_tags_in_posts != 'yes') { ?> <?php if ($disable_tags_in_posts != 'yes') { ?>
<div class="tags"> <div class="post-tags">
<?php the_tags(__('&#9492; Tags: ','comicpress'), ', ', '<br />'); ?> <?php the_tags(__('&#9492; Tags: ','comicpress'), ', ', '<br />'); ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -33,14 +33,15 @@ function display_comic_post() {
<?php } ?> <?php } ?>
<div class="post-text"> <div class="post-text">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></small><br /> <div class="post-author"> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></div>
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?> <?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', multiple) ?></li></ul> <ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', multiple) ?></li></ul>
<?php } else { ?> <?php } else { ?>
<?php if ($disable_categories_in_posts != 'yes') { ?> <?php if ($disable_categories_in_posts != 'yes') { ?>
<small><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br /> <div class="post-cat"><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></div>
<?php } ?> <?php } ?>
<?php } ?> <?php } ?>
<div class="post-edit"><?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
@ -53,7 +54,7 @@ function display_comic_post() {
<?php if ($transcript_in_posts == 'yes') the_transcript('styled'); ?> <?php if ($transcript_in_posts == 'yes') the_transcript('styled'); ?>
<div class="post-extras"> <div class="post-extras">
<?php if ($disable_tags_in_posts != 'yes') { ?> <?php if ($disable_tags_in_posts != 'yes') { ?>
<div class="tags"> <div class="post-tags">
<?php the_tags(__('&#9492; Tags: ','comicpress'), ', ', '<br />'); ?> <?php the_tags(__('&#9492; Tags: ','comicpress'), ', ', '<br />'); ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -8,7 +8,7 @@
switch ( $value['type'] ) { switch ( $value['type'] ) {
case "comicpress-members_post_category": ?> case "comicpress-members_post_category": ?>
<tr> <tr>
<th scope="row"><strong>Members Category</strong><br /><br />The category that is disignated to show members only content.<br /><br /></th> <th scope="row"><strong>Members Category</strong><br /><br />The category that is designated to show members only content.<br /><br /></th>
<td valign="top"> <td valign="top">
<label> <label>
<?php <?php

View File

@ -556,7 +556,7 @@ a.navi-comments:hover span {
clear: both; clear: both;
} }
.tags { .post-tags {
font-size: 11px; font-size: 11px;
} }