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:
parent
781b16dbf6
commit
fb985a66e1
|
@ -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,10 +27,12 @@ function comicpress_body_class($classes = '') {
|
|||
}
|
||||
}
|
||||
|
||||
if (in_comic_category()) {
|
||||
$classes[] = 'comic';
|
||||
} else {
|
||||
$classes[] = 'noncomic';
|
||||
if (!is_page()) {
|
||||
if (in_comic_category()) {
|
||||
$classes[] = 'comic';
|
||||
} else {
|
||||
$classes[] = 'noncomic';
|
||||
}
|
||||
}
|
||||
|
||||
if($is_lynx) $classes[] = 'lynx';
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue