.post-page .post and .post-comic their old location is now .post-content
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
79bffa7055
commit
24ccd0ab84
|
@ -76,7 +76,7 @@ $month['12'] = array('month' => __('December','comicpress'), 'days' => '31');
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<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");
|
||||||
foreach ( $years as $year ) {
|
foreach ( $years as $year ) {
|
||||||
|
|
|
@ -26,7 +26,7 @@ $posts = query_posts('&show_posts=-1&posts_per_page=-1&cat='.get_all_comic_categ
|
||||||
?>
|
?>
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<?php if (have_posts()) : while (have_posts()) : the_post() ?>
|
<?php if (have_posts()) : while (have_posts()) : the_post() ?>
|
||||||
|
|
||||||
<div class="comicthumbwrap">
|
<div class="comicthumbwrap">
|
||||||
|
|
|
@ -16,7 +16,7 @@ if (have_posts()) {
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<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) {
|
||||||
if (($result = get_option("comicpress-storyline-category-order")) !== false) {
|
if (($result = get_option("comicpress-storyline-category-order")) !== false) {
|
||||||
|
|
|
@ -16,7 +16,7 @@ if (have_posts()) {
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<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) {
|
||||||
if (($result = get_option("comicpress-storyline-category-order")) !== false) {
|
if (($result = get_option("comicpress-storyline-category-order")) !== false) {
|
||||||
|
|
|
@ -27,7 +27,7 @@ if (have_posts()) {
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<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");
|
||||||
foreach ( $years as $year ) {
|
foreach ( $years as $year ) {
|
||||||
|
|
|
@ -21,7 +21,7 @@ foreach ( $years as $year ) {
|
||||||
?>
|
?>
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<h3><?php echo $year ?></h3>
|
<h3><?php echo $year ?></h3>
|
||||||
<table class="month-table">
|
<table class="month-table">
|
||||||
<?php $comicArchive = new WP_Query(); $comicArchive->query('showposts=10000&cat='.get_all_comic_categories_as_cat_string().'&year='.$year);
|
<?php $comicArchive = new WP_Query(); $comicArchive->query('showposts=10000&cat='.get_all_comic_categories_as_cat_string().'&year='.$year);
|
||||||
|
|
|
@ -16,7 +16,7 @@ if (have_posts()) {
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<div id="archivepage">
|
<div id="archivepage">
|
||||||
<h2><?php _e('Archives by Month:','comicpress'); ?></h2>
|
<h2><?php _e('Archives by Month:','comicpress'); ?></h2>
|
||||||
<ul><?php wp_get_archives('type=monthly') ?></ul>
|
<ul><?php wp_get_archives('type=monthly') ?></ul>
|
||||||
|
@ -28,7 +28,7 @@ if (have_posts()) {
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<div id="archivepage">
|
<div id="archivepage">
|
||||||
<h2><?php _e('Archives by Subject:','comicpress'); ?></h2>
|
<h2><?php _e('Archives by Subject:','comicpress'); ?></h2>
|
||||||
<ul><?php wp_list_categories() ?></ul>
|
<ul><?php wp_list_categories() ?></ul>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<?php comicpress_display_post_thumbnail(); ?>
|
<?php comicpress_display_post_thumbnail(); ?>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<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)); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -19,7 +19,7 @@ Template Version: 2.14
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<?php comicpress_display_post_thumbnail(); ?>
|
<?php comicpress_display_post_thumbnail(); ?>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<?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>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
@ -100,7 +100,7 @@ Template Version: 2.14
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<?php comicpress_display_post_thumbnail(); ?>
|
<?php comicpress_display_post_thumbnail(); ?>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<?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>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<?php comicpress_display_post_thumbnail(); ?>
|
<?php comicpress_display_post_thumbnail(); ?>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page" id="post-<?php the_ID() ?>">
|
<div class="post-content" 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>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
<?php endwhile; else: ?>
|
<?php endwhile; else: ?>
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<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>
|
||||||
|
|
|
@ -24,7 +24,7 @@ $bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<div id="linkspage">
|
<div id="linkspage">
|
||||||
<ul>
|
<ul>
|
||||||
<?php echo $bookmarks; ?>
|
<?php echo $bookmarks; ?>
|
||||||
|
|
|
@ -10,7 +10,7 @@ $count = $tmp_search->post_count;
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<h2 class="pagetitle"><?php _e('Search for ‘','comicpress'); the_search_query(); _e('’','comicpress'); ?></h2>
|
<h2 class="pagetitle"><?php _e('Search for ‘','comicpress'); the_search_query(); _e('’','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>
|
||||||
</div>
|
</div>
|
||||||
|
@ -41,7 +41,7 @@ $count = $tmp_search->post_count;
|
||||||
else : ?>
|
else : ?>
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<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>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<h2 class="pagetitle"><?php _e('Search for ‘','comicpress'); the_search_query(); _e('’','comicpress'); ?></h2>
|
<h2 class="pagetitle"><?php _e('Search for ‘','comicpress'); the_search_query(); _e('’','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>
|
||||||
</div>
|
</div>
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
else : ?>
|
else : ?>
|
||||||
<div <?php post_class(); ?>>
|
<div <?php post_class(); ?>>
|
||||||
<div class="post-head"></div>
|
<div class="post-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-content">
|
||||||
<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>
|
||||||
|
|
Loading…
Reference in New Issue