Merge branch 'master' of github.com:johnbintz/comicpress-2.8

This commit is contained in:
John Bintz 2009-12-19 21:26:09 -05:00
commit 1ed115dd20
14 changed files with 53 additions and 54 deletions

View File

@ -71,10 +71,10 @@ $month['12'] = array('month' => __('December','comicpress'), 'days' => '31');
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -10,10 +10,10 @@ Template Name: Month at a glance
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -10,10 +10,10 @@ Template Name: Comic Storyline with Thumbs
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -10,10 +10,10 @@ Template Name: Comic Storyline Archive
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -21,10 +21,10 @@ if (empty($archive_year) || $archive_year == '') $archive_year = date('Y');
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -10,10 +10,10 @@ Template Name: Comic Archive
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -21,10 +21,10 @@ Template Version: 2.14
<br />
<img src="<?php echo get_template_directory_uri(); ?>/images/paypal.png" alt="<?php _e('Powered by Paypal','comicpress'); ?>" /><br />
</div>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -1,6 +1,6 @@
<?php
// the_post_image('thumbnail/medium/full');
// the_post_thumbnail('thumbnail/medium/full');
if (function_exists('add_theme_support')) {
add_theme_support( 'post-thumbnails' );
}

View File

@ -31,10 +31,10 @@ function display_blog_post() {
</div>
<?php } ?>
<div class="post-text">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('has_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-image">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_post_image('full'); ?></a>
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_post_thumbnail('full'); ?></a>
</div>
<?php } else {?>
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

View File

@ -31,10 +31,10 @@ function display_comic_post() {
</div>
<?php } ?>
<div class="post-comic-text">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-comic-image">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_post_image('full'); ?></a>
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_post_thumbnail('full'); ?></a>
</div>
<?php } else {?>
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

View File

@ -5,10 +5,10 @@
<div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -18,10 +18,10 @@ Template Name: Links
<div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -5,10 +5,10 @@
<div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<?php if (function_exists('the_post_thumbnail')) {
if ( has_post_thumbnail() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
<?php the_post_thumbnail('full'); ?>
</div>
<?php } ?>
<?php } ?>

View File

@ -1,6 +1,5 @@
<?php global $comicpress_options;
if ($comicpress_options['disable_lrsidebars_frontpage'] && is_home()) {
} else { ?>
if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
<div id="sidebar-left">
<div class="sidebar-head"></div>
<div class="sidebar">