fixing css classes inside files to remove .post-page and .post-comic

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-24 15:15:30 -08:00
parent 67a1a155aa
commit 79bffa7055
14 changed files with 54 additions and 58 deletions

View File

@ -74,8 +74,8 @@ $month['12'] = array('month' => __('December','comicpress'), 'days' => '31');
<?php endwhile; ?> <?php endwhile; ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<div class="archive-yearlist">| <div class="archive-yearlist">|
<?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC"); <?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");
@ -153,7 +153,7 @@ foreach ( $years as $year ) {
<?php } ?> <?php } ?>
</div> </div>
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php if ('open' == $post->comment_status) { comments_template('', true); } ?> <?php if ('open' == $post->comment_status) { comments_template('', true); } ?>

View File

@ -24,8 +24,8 @@ add_filter('posts_where', 'filter_where');
$posts = query_posts('&show_posts=-1&posts_per_page=-1&cat='.get_all_comic_categories_as_cat_string()); $posts = query_posts('&show_posts=-1&posts_per_page=-1&cat='.get_all_comic_categories_as_cat_string());
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<?php if (have_posts()) : while (have_posts()) : the_post() ?> <?php if (have_posts()) : while (have_posts()) : the_post() ?>
@ -38,7 +38,7 @@ $posts = query_posts('&show_posts=-1&posts_per_page=-1&cat='.get_all_comic_categ
<?php endwhile; endif; ?> <?php endwhile; endif; ?>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>

View File

@ -14,8 +14,8 @@ if (have_posts()) {
} }
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<ul id="storyline" class="level-0"> <ul id="storyline" class="level-0">
<?php if (get_option('comicpress-enable-storyline-support') == 1) { <?php if (get_option('comicpress-enable-storyline-support') == 1) {
@ -70,7 +70,7 @@ if (have_posts()) {
</ul> </ul>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php if ('open' == $post->comment_status) { comments_template('', true); } ?> <?php if ('open' == $post->comment_status) { comments_template('', true); } ?>

View File

@ -14,8 +14,8 @@ if (have_posts()) {
} }
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<ul id="storyline" class="level-0"> <ul id="storyline" class="level-0">
<?php if (get_option('comicpress-enable-storyline-support') == 1) { <?php if (get_option('comicpress-enable-storyline-support') == 1) {
@ -72,7 +72,7 @@ if (have_posts()) {
</ul> </ul>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php if ('open' == $post->comment_status) { comments_template('', true); } ?> <?php if ('open' == $post->comment_status) { comments_template('', true); } ?>

View File

@ -25,8 +25,8 @@ if (have_posts()) {
} }
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<div class="archive-yearlist">| <div class="archive-yearlist">|
<?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC"); <?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");
@ -44,7 +44,7 @@ if (have_posts()) {
</table> </table>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php if ('open' == $post->comment_status) { comments_template('', true); } ?> <?php if ('open' == $post->comment_status) { comments_template('', true); } ?>

View File

@ -19,8 +19,8 @@ $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE
foreach ( $years as $year ) { foreach ( $years as $year ) {
if ($year != (0) ) { if ($year != (0) ) {
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<h3><?php echo $year ?></h3> <h3><?php echo $year ?></h3>
<table class="month-table"> <table class="month-table">
@ -31,7 +31,7 @@ foreach ( $years as $year ) {
</table> </table>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php } <?php }
} ?> } ?>

View File

@ -14,8 +14,8 @@ if (have_posts()) {
} }
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<div id="archivepage"> <div id="archivepage">
<h2><?php _e('Archives by Month:','comicpress'); ?></h2> <h2><?php _e('Archives by Month:','comicpress'); ?></h2>
@ -23,11 +23,11 @@ if (have_posts()) {
</div> </div>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<div id="archivepage"> <div id="archivepage">
<h2><?php _e('Archives by Subject:','comicpress'); ?></h2> <h2><?php _e('Archives by Subject:','comicpress'); ?></h2>
@ -35,7 +35,7 @@ if (have_posts()) {
</div> </div>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php if ('open' == $post->comment_status) { comments_template('', true); } ?> <?php if ('open' == $post->comment_status) { comments_template('', true); } ?>

View File

@ -11,9 +11,9 @@
if (empty($curauth)) { ?> if (empty($curauth)) { ?>
<h2><?php _e('No such author.','comicpress'); ?></h2> <h2><?php _e('No such author.','comicpress'); ?></h2>
<?php } else { ?> <?php } else { ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<?php comicpress_display_post_thumbnail(); ?> <?php comicpress_display_post_thumbnail(); ?>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<div class="userpage-avatar"> <div class="userpage-avatar">
<?php echo str_replace("alt='", "alt='".wp_specialchars($curauth->display_name, 1)."' title='".wp_specialchars($curauth->display_name, 1), comicpress_get_avatar($curauth->user_email, 64)); ?> <?php echo str_replace("alt='", "alt='".wp_specialchars($curauth->display_name, 1)."' title='".wp_specialchars($curauth->display_name, 1), comicpress_get_avatar($curauth->user_email, 64)); ?>
@ -63,7 +63,7 @@
<?php } ?> <?php } ?>
</div> </div>
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -16,9 +16,9 @@ Template Version: 2.14
$temppost = $post; $temppost = $post;
$post = & get_post( $comicnum ); $post = & get_post( $comicnum );
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<?php comicpress_display_post_thumbnail(); ?> <?php comicpress_display_post_thumbnail(); ?>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<?php if (!$comicpress_options['disable_page_titles']) { ?> <?php if (!$comicpress_options['disable_page_titles']) { ?>
<h2 class="pagetitle"><?php the_title() ?></h2> <h2 class="pagetitle"><?php the_title() ?></h2>
@ -90,16 +90,16 @@ Template Version: 2.14
<?php $post = $temppost; ?> <?php $post = $temppost; ?>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php else: ?> <?php else: ?>
<?php while (have_posts()) : the_post() ?> <?php while (have_posts()) : the_post() ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<?php comicpress_display_post_thumbnail(); ?> <?php comicpress_display_post_thumbnail(); ?>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<?php if (!$comicpress_options['disable_page_titles']) { ?> <?php if (!$comicpress_options['disable_page_titles']) { ?>
<h2 class="pagetitle"><?php the_title() ?></h2> <h2 class="pagetitle"><?php the_title() ?></h2>
@ -110,7 +110,7 @@ Template Version: 2.14
<br class="clear-margins" /> <br class="clear-margins" />
<?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?> <?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?>
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php endwhile; ?> <?php endwhile; ?>

View File

@ -2,9 +2,9 @@
<?php include(get_template_directory() . '/layout-head.php'); ?> <?php include(get_template_directory() . '/layout-head.php'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post() ?> <?php if (have_posts()) : while (have_posts()) : the_post() ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<?php comicpress_display_post_thumbnail(); ?> <?php comicpress_display_post_thumbnail(); ?>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>"> <div class="post-page" id="post-<?php the_ID() ?>">
<?php if (!$comicpress_options['disable_page_titles']) { ?> <?php if (!$comicpress_options['disable_page_titles']) { ?>
<h2 class="pagetitle"><?php the_title() ?></h2> <h2 class="pagetitle"><?php the_title() ?></h2>
@ -49,16 +49,16 @@
<?php if ('open' == $post->comment_status) { comments_template('', true); } ?> <?php if ('open' == $post->comment_status) { comments_template('', true); } ?>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php endwhile; else: ?> <?php endwhile; else: ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<p><?php _e('Sorry, no image matched your criteria.','comicpress'); ?></p> <p><?php _e('Sorry, no image matched your criteria.','comicpress'); ?></p>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -22,8 +22,8 @@ $bookmarks = preg_replace('#<li ([^>]*)>#', '<li>', $bookmarks);
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks); $bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<div id="linkspage"> <div id="linkspage">
<ul> <ul>
@ -32,7 +32,7 @@ $bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php include(get_template_directory() . '/layout-foot.php'); ?> <?php include(get_template_directory() . '/layout-foot.php'); ?>

View File

@ -8,8 +8,8 @@ $count = $tmp_search->post_count;
?> ?>
<?php if (!$count) $count = "no"; ?> <?php if (!$count) $count = "no"; ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<h2 class="pagetitle"><?php _e('Search for &lsquo;','comicpress'); the_search_query(); _e('&rsquo;','comicpress'); ?></h2> <h2 class="pagetitle"><?php _e('Search for &lsquo;','comicpress'); the_search_query(); _e('&rsquo;','comicpress'); ?></h2>
<div class="searchresults"><?php printf(__ngettext("%d item.", "%d items.", $count,'comicpress'),$count); ?></div> <div class="searchresults"><?php printf(__ngettext("%d item.", "%d items.", $count,'comicpress'),$count); ?></div>
@ -39,14 +39,14 @@ $count = $tmp_search->post_count;
endwhile; endwhile;
else : ?> else : ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<h3><?php _e('No transcripts found.','comicpress'); ?></h3> <h3><?php _e('No transcripts found.','comicpress'); ?></h3>
<p><?php _e('Try another search?','comicpress'); ?></p> <p><?php _e('Try another search?','comicpress'); ?></p>
<p><?php include(get_template_directory() . '/searchform-transcript.php') ?></p> <p><?php include(get_template_directory() . '/searchform-transcript.php') ?></p>
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -8,8 +8,8 @@
?> ?>
<?php if (!$count) $count = "no"; ?> <?php if (!$count) $count = "no"; ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<h2 class="pagetitle"><?php _e('Search for &lsquo;','comicpress'); the_search_query(); _e('&rsquo;','comicpress'); ?></h2> <h2 class="pagetitle"><?php _e('Search for &lsquo;','comicpress'); the_search_query(); _e('&rsquo;','comicpress'); ?></h2>
<div class="searchresults"><?php printf(__ngettext("%d item.", "%d items.", $count,'comicpress'),$count); ?></div> <div class="searchresults"><?php printf(__ngettext("%d item.", "%d items.", $count,'comicpress'),$count); ?></div>
@ -28,24 +28,20 @@
</div> </div>
</div> </div>
<?php } else { ?> <?php } else {
<?php if (in_comic_category()) {
comicpress_display_post(); comicpress_display_post();
} else {
comicpress_display_post();
}
} }
endwhile; endwhile;
else : ?> else : ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-page-head"></div> <div class="post-head"></div>
<div class="post-page"> <div class="post-page">
<h3><?php _e('No entries found.','comicpress'); ?></h3> <h3><?php _e('No entries found.','comicpress'); ?></h3>
<p><?php _e('Try another search?','comicpress'); ?></p> <p><?php _e('Try another search?','comicpress'); ?></p>
<p><?php the_widget('WP_Widget_Search'); ?></p> <p><?php the_widget('WP_Widget_Search'); ?></p>
</div> </div>
<div class="post-page-foot"></div> <div class="post-foot"></div>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -79,7 +79,7 @@ if (have_posts()) : while (have_posts()) : the_post();
<?php else: ?> <?php else: ?>
<?php get_sidebar('underblog'); ?> <?php get_sidebar('underblog'); ?>
<div class="<?php comicpress_post_class(); ?>"> <div <?php post_class(); ?>>
<div class="post-head"></div> <div class="post-head"></div>
<div class="post"> <div class="post">
<p><?php _e('Sorry, no posts matched your criteria.','comicpress'); ?></p> <p><?php _e('Sorry, no posts matched your criteria.','comicpress'); ?></p>