body_classes.php stop it from doing some things if on is_page(); and text fix in postoptions.php

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-24 15:35:44 -08:00
parent 781b16dbf6
commit fb985a66e1
2 changed files with 9 additions and 15 deletions

View File

@ -1,17 +1,9 @@
<?php
/**
* Body Classes
* function function comicpress_body_class
*
* Author: Philip M. Hofer (Frumph)
* Author URI: http://frumph.net/ http://frumph.net/
* Version: 1.0.6
*
* This function adds the browser type as a class
* in the <body> tag where you can then do .ie #page and do things specific
* for each browser type as well as a few other classes that the normal body_class
* does not yet support.
*
* Author URI: http://frumph.net/
* Version: 1.0.7
*
*/
@ -35,11 +27,13 @@ function comicpress_body_class($classes = '') {
}
}
if (!is_page()) {
if (in_comic_category()) {
$classes[] = 'comic';
} else {
$classes[] = 'noncomic';
}
}
if($is_lynx) $classes[] = 'lynx';
elseif($is_gecko) $classes[] = 'gecko';

View File

@ -273,7 +273,7 @@
<input id="disable_page_titles" name="disable_page_titles" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_page_titles']); ?> />
</td>
<td>
<?php _e('If you disable the titles no pages you can add a post-page-image in the page editor.','comicpress'); ?>
<?php _e('If you disable the titles no pages you can still add a post-image in the page editor.','comicpress'); ?>
</td>
</tr>
</table>