div fixes for ALL PAGES damnit
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
ce8793db96
commit
1d8aae13be
|
@ -3,8 +3,22 @@
|
|||
Template Name: Comic Calendar Archive
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('v3c,v')) { ?>
|
||||
<div id="content" class="narrowcolumn">
|
||||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
|
||||
|
@ -67,18 +81,6 @@ $month['11'] = array('month' => 'November', 'days' => '30');
|
|||
$month['12'] = array('month' => 'December', 'days' => '31');
|
||||
|
||||
?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('v3c,v')) { ?>
|
||||
<div id="content" class="narrowcolumn">
|
||||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
@ -161,17 +163,20 @@ foreach ( $years as $year ) {
|
|||
<?php if ('open' == $post->comment_status) {
|
||||
comments_template('', true);
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php get_footer() ?>
|
|
@ -3,7 +3,11 @@
|
|||
Template Name: Comic Storyline with Thumbs
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -12,9 +16,9 @@ Template Name: Comic Storyline with Thumbs
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -89,17 +93,20 @@ Template Name: Comic Storyline with Thumbs
|
|||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
|
@ -3,8 +3,11 @@
|
|||
Template Name: Comic Storyline Archive
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -13,9 +16,9 @@ Template Name: Comic Storyline Archive
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -92,16 +95,20 @@ Template Name: Comic Storyline Archive
|
|||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
|
@ -3,9 +3,7 @@
|
|||
Template Name: Comic Year Archive
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php
|
||||
<?
|
||||
if (isset($_GET['archive_year'])) {
|
||||
$archive_year = (int)$_GET['archive_year'];
|
||||
} else {
|
||||
|
@ -14,7 +12,11 @@ Template Name: Comic Year Archive
|
|||
}
|
||||
if (empty($archive_year)) $archive_year = date('Y');
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -23,9 +25,9 @@ Template Name: Comic Year Archive
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -66,17 +68,20 @@ Template Name: Comic Year Archive
|
|||
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php get_footer() ?>
|
|
@ -3,7 +3,11 @@
|
|||
Template Name: Comic Archive
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -12,9 +16,9 @@ Template Name: Comic Archive
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -52,18 +56,20 @@ Template Name: Comic Archive
|
|||
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
28
archive.php
28
archive.php
|
@ -1,4 +1,8 @@
|
|||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -7,9 +11,9 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -137,19 +141,21 @@
|
|||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php comicpress_pagination(); ?>
|
||||
|
||||
<?php comicpress_pagination(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
43
archives.php
43
archives.php
|
@ -3,8 +3,11 @@
|
|||
Template Name: Archives
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -13,9 +16,9 @@ Template Name: Archives
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -28,26 +31,30 @@ Template Name: Archives
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h2>Archives by Month:</h2>
|
||||
<ul><?php wp_get_archives('type=monthly') ?></ul>
|
||||
<h2>Archives by Subject:</h2>
|
||||
<ul><?php wp_list_categories() ?></ul>
|
||||
<br class="clear-margins" />
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h2>Archives by Month:</h2>
|
||||
<ul><?php wp_get_archives('type=monthly') ?></ul>
|
||||
<h2>Archives by Subject:</h2>
|
||||
<ul><?php wp_list_categories() ?></ul>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
121
author.php
121
author.php
|
@ -1,4 +1,8 @@
|
|||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -7,14 +11,16 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php get_sidebar('overblog'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,standard,3c')) { ?>
|
||||
|
@ -29,67 +35,66 @@
|
|||
} else {
|
||||
$curauth = get_userdata(get_query_var('author'));
|
||||
}
|
||||
if (empty($curauth)) { ?>
|
||||
<h2>No such author.</h2>
|
||||
<?php } else { ?>
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<div id="userpage">
|
||||
<div class="userpage-avatar">
|
||||
<?php echo str_replace("alt='", "alt='".wp_specialchars($curauth->display_name, 1)."' title='".wp_specialchars($curauth->display_name, 1), get_avatar($curauth->user_email, 64)); ?>
|
||||
</div>
|
||||
<div class="userpage-info">
|
||||
<div class="userpage-bio">
|
||||
<h2><?php echo $curauth->display_name; ?></h2>
|
||||
Registered on <?php echo date('l \\t\h\e jS \o\f M, Y',strtotime($curauth->user_registered)); ?><br />
|
||||
<br />
|
||||
<?php if (!empty($curauth->user_url)) { ?>Website: <a href="<?php echo $curauth->user_url; ?>" target="_blank"><?php echo $curauth->user_url; ?></a><br /><?php } ?>
|
||||
<?php if (!empty($curauth->aim)) { ?>AIM: <a href="<?php echo $curauth->user_aim; ?>" target="_blank"><?php echo $curauth->aim; ?></a><br /><?php } ?>
|
||||
<?php if (!empty($curauth->jabber)) { ?>Jabber/Google Talk: <a href="<?php echo $curauth->jabber; ?>" target="_blank"><?php echo $curauth->jabber; ?></a><br /><?php } ?>
|
||||
<?php if (!empty($curauth->yim)) { ?>Yahoo IM: <a href="<?php echo $curauth->jabber; ?>" target="_blank"><?php echo $curauth->jabber; ?></a><br /><?php } ?>
|
||||
if (empty($curauth)) { ?>
|
||||
<h2>No such author.</h2>
|
||||
<?php } else { ?>
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<div class="userpage-avatar">
|
||||
<?php echo str_replace("alt='", "alt='".wp_specialchars($curauth->display_name, 1)."' title='".wp_specialchars($curauth->display_name, 1), get_avatar($curauth->user_email, 64)); ?>
|
||||
</div>
|
||||
<div class="userpage-info">
|
||||
<div class="userpage-bio">
|
||||
<h2><?php echo $curauth->display_name; ?></h2>
|
||||
Registered on <?php echo date('l \\t\h\e jS \o\f M, Y',strtotime($curauth->user_registered)); ?><br />
|
||||
<br />
|
||||
<?php if (!empty($curauth->user_url)) { ?>Website: <a href="<?php echo $curauth->user_url; ?>" target="_blank"><?php echo $curauth->user_url; ?></a><br /><?php } ?>
|
||||
<?php if (!empty($curauth->aim)) { ?>AIM: <a href="<?php echo $curauth->user_aim; ?>" target="_blank"><?php echo $curauth->aim; ?></a><br /><?php } ?>
|
||||
<?php if (!empty($curauth->jabber)) { ?>Jabber/Google Talk: <a href="<?php echo $curauth->jabber; ?>" target="_blank"><?php echo $curauth->jabber; ?></a><br /><?php } ?>
|
||||
<?php if (!empty($curauth->yim)) { ?>Yahoo IM: <a href="<?php echo $curauth->jabber; ?>" target="_blank"><?php echo $curauth->jabber; ?></a><br /><?php } ?>
|
||||
|
||||
</div>
|
||||
<?php if (!empty($curauth->description)) { ?>
|
||||
<div class="userpage-desc">
|
||||
<?php echo $curauth->description; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="userpage-posts">
|
||||
<?php if (have_posts()) { ?>
|
||||
<h3>Posts by <?php echo $curauth->nickname; ?> (<?php echo get_usernumposts($curauth->ID); ?>) ¬</h3>
|
||||
<?php // this area is a loop that shows what posts the person has done. ?>
|
||||
<ol>
|
||||
<table class="month-table">
|
||||
<?php while (have_posts()) : the_post() ?>
|
||||
<tr><td class="archive-date" align="right"><?php the_time('M j, Y') ?></td><td class="archive-title"><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></td>
|
||||
|
||||
<?php endwhile; ?>
|
||||
</table>
|
||||
</ol>
|
||||
|
||||
<?php comicpress_pagination(); ?>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (!empty($curauth->description)) { ?>
|
||||
<div class="userpage-desc">
|
||||
<?php echo $curauth->description; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="userpage-posts">
|
||||
<?php if (have_posts()) { ?>
|
||||
<h3>Posts by <?php echo $curauth->nickname; ?> (<?php echo get_usernumposts($curauth->ID); ?>) ¬</h3>
|
||||
<?php // this area is a loop that shows what posts the person has done. ?>
|
||||
<ol>
|
||||
<table class="month-table">
|
||||
<?php while (have_posts()) : the_post() ?>
|
||||
<tr><td class="archive-date" align="right"><?php the_time('M j, Y') ?></td><td class="archive-title"><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></td>
|
||||
|
||||
<?php endwhile; ?>
|
||||
</table>
|
||||
</ol>
|
||||
|
||||
<?php comicpress_pagination(); ?>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="post-page-foot"></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php get_footer() ?>
|
26
blog.php
26
blog.php
|
@ -3,7 +3,11 @@
|
|||
Template Name: Blog
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -12,9 +16,9 @@ Template Name: Blog
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -42,18 +46,20 @@ Template Name: Blog
|
|||
|
||||
<?php endif; ?>
|
||||
<?php get_sidebar('underblog'); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
26
buystrip.php
26
buystrip.php
|
@ -7,8 +7,11 @@ Templete Author Email: philip@frumph.net
|
|||
*/
|
||||
if (isset($_REQUEST['comic'])) $comicnum = (int)$_REQUEST['comic'];
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -17,9 +20,9 @@ Templete Author Email: philip@frumph.net
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -120,17 +123,20 @@ Templete Author Email: philip@frumph.net
|
|||
<div class="post-page-foot"></div>
|
||||
<?php endwhile; endif; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php get_footer() ?>
|
||||
|
|
27
image.php
27
image.php
|
@ -1,4 +1,8 @@
|
|||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -7,9 +11,9 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -82,19 +86,20 @@
|
|||
<div class="post-page-foot"></div>
|
||||
|
||||
<?php endif; ?>
|
||||
<div class="clear">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
Binary file not shown.
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 8.6 KiB |
43
index.php
43
index.php
|
@ -1,5 +1,9 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('v3c,v')) { ?>
|
||||
|
@ -7,16 +11,16 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!(is_paged())) { ?>
|
||||
|
||||
<?php if ($disable_comic_frontpage != 'yes') { ?>
|
||||
|
||||
<?php $wp_query ->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string());
|
||||
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
|
||||
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
|
||||
|
||||
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
||||
<?php get_sidebar('comicleft'); ?>
|
||||
|
@ -56,23 +60,25 @@
|
|||
} else { ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php get_sidebar('overblog'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,standard,3c')) { ?>
|
||||
<div id="content" class="narrowcolumn">
|
||||
<div class="column">
|
||||
<div id="content" class="narrowcolumn">
|
||||
<div class="column">
|
||||
<?php }
|
||||
}
|
||||
|
||||
if (function_exists('the_project_wonderful_ad')) { ?>
|
||||
<div class="blogpwad">
|
||||
<center>
|
||||
<?php the_project_wonderful_ad('blog'); ?>
|
||||
</center>
|
||||
</div>
|
||||
<div class="blogpwad">
|
||||
<center>
|
||||
<?php the_project_wonderful_ad('blog'); ?>
|
||||
</center>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
get_sidebar('blog');
|
||||
|
@ -92,18 +98,21 @@ if ($disable_blog_frontpage != 'yes') {
|
|||
comicpress_pagination();
|
||||
}
|
||||
} ?>
|
||||
|
||||
<?php get_sidebar('underblog'); ?>
|
||||
<?php get_sidebar('underblog'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
38
links.php
38
links.php
|
@ -3,7 +3,11 @@
|
|||
Template Name: Links
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -12,9 +16,9 @@ Template Name: Links
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -30,8 +34,10 @@ Template Name: Links
|
|||
$bookmarks = preg_replace('#<li ([^>]*)>#', '<li>', $bookmarks);
|
||||
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
||||
?>
|
||||
<div class="post-page-head">
|
||||
|
||||
<?php while (have_posts()) : the_post() ?>
|
||||
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h2 class="pagetitle"><?php the_title() ?></h2>
|
||||
<div id="linkspage">
|
||||
|
@ -41,22 +47,24 @@ Template Name: Links
|
|||
</div>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<div class="post-page-foot"></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
33
page.php
33
page.php
|
@ -1,4 +1,8 @@
|
|||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -7,14 +11,16 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php get_sidebar('overblog'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,standard,3c')) { ?>
|
||||
|
@ -37,19 +43,16 @@
|
|||
<?php if ('open' == $post->comment_status) {
|
||||
comments_template('', true);
|
||||
} ?>
|
||||
<?php endwhile; endif; ?>
|
||||
<div class="clear"></div>
|
||||
<?php endwhile; endif; ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
<div class="clear"></div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php get_footer() ?>
|
|
@ -1,4 +1,8 @@
|
|||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -7,23 +11,23 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php get_sidebar('overblog'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,standard,3c')) { ?>
|
||||
<div id="content" class="narrowcolumn">
|
||||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
|
||||
<?php
|
||||
$tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_page=-1');
|
||||
$count = $tmp_search->post_count;
|
||||
|
@ -121,20 +125,21 @@ $count = $tmp_search->post_count;
|
|||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php comicpress_pagination(); ?>
|
||||
|
||||
<?php comicpress_pagination(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
160
search.php
160
search.php
|
@ -1,4 +1,8 @@
|
|||
<?php get_header(); ?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
|
@ -7,14 +11,16 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php get_sidebar('overblog'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,standard,3c')) { ?>
|
||||
|
@ -22,15 +28,13 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<?php
|
||||
$tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_page=-1');
|
||||
$count = $tmp_search->post_count;
|
||||
?>
|
||||
<?php if (!$count) $count = "no"; ?>
|
||||
<div class="searchresults">Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.</div>
|
||||
<h2 class="pagetitle">Search for ‘<?php the_search_query() ?>’</h2>
|
||||
<h2 class="pagetitle">Search for ‘<?php the_search_query() ?>’</h2>
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
|
@ -39,69 +43,69 @@ $count = $tmp_search->post_count;
|
|||
|
||||
<?php global $archive_comic_width; if (in_comic_category()) { ?>
|
||||
|
||||
<div class="post-comic-head"></div>
|
||||
<div class="post-comic">
|
||||
<div class="post-info">
|
||||
<?php if ($enable_comic_post_author_gravatar == 'yes') { ?>
|
||||
<div class="post-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('comicpress_show_mood_in_post')) comicpress_show_mood_in_post(); ?>
|
||||
<?php if ($enable_comic_post_calendar == 'yes') { ?>
|
||||
<div class="post-date">
|
||||
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br />
|
||||
<div class="post-comic-head"></div>
|
||||
<div class="post-comic">
|
||||
<div class="post-info">
|
||||
<?php if ($enable_comic_post_author_gravatar == 'yes') { ?>
|
||||
<div class="post-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('comicpress_show_mood_in_post')) comicpress_show_mood_in_post(); ?>
|
||||
<?php if ($enable_comic_post_calendar == 'yes') { ?>
|
||||
<div class="post-date">
|
||||
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br />
|
||||
</div>
|
||||
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;">
|
||||
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /></a><br />
|
||||
</div>
|
||||
<br class="clear-margins" />
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="post-comic-foot"></div>
|
||||
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;">
|
||||
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /></a><br />
|
||||
</div>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-comic-foot"></div>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<div class="post-head"></div>
|
||||
<div class="post">
|
||||
<div class="post-info">
|
||||
<?php if ($enable_post_author_gravatar == 'yes') { ?>
|
||||
<div class="post-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('comicpress_show_mood_in_post')) comicpress_show_mood_in_post(); ?>
|
||||
<?php if ($enable_post_calendar == 'yes') { ?>
|
||||
<div class="post-date">
|
||||
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br />
|
||||
<?php if ($disable_categories_in_posts != 'yes') { ?>
|
||||
<?php if (is_page()) { ?>
|
||||
<small>This is a page.</small><break />
|
||||
<?php } else { ?>
|
||||
<small> Posted In: <?php the_category(','); ?></small><br />
|
||||
<?php } ?>
|
||||
<div class="post-head"></div>
|
||||
<div class="post">
|
||||
<div class="post-info">
|
||||
<?php if ($enable_post_author_gravatar == 'yes') { ?>
|
||||
<div class="post-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('comicpress_show_mood_in_post')) comicpress_show_mood_in_post(); ?>
|
||||
<?php if ($enable_post_calendar == 'yes') { ?>
|
||||
<div class="post-date">
|
||||
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br />
|
||||
<?php if ($disable_categories_in_posts != 'yes') { ?>
|
||||
<?php if (is_page()) { ?>
|
||||
<small>This is a page.</small><break />
|
||||
<?php } else { ?>
|
||||
<small> Posted In: <?php the_category(','); ?></small><br />
|
||||
<?php } ?>
|
||||
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<?php the_excerpt() ?>
|
||||
<br class="clear-margins" />
|
||||
<div class="post-extras">
|
||||
<div class="tags">
|
||||
<?php the_tags('└ Tags: ',',','<br />');?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<?php } ?>
|
||||
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
||||
<?php the_excerpt() ?>
|
||||
<br class="clear-margins" />
|
||||
<div class="post-extras">
|
||||
<div class="tags">
|
||||
<?php the_tags('└ Tags: ',',','<br />');?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
@ -109,30 +113,32 @@ $count = $tmp_search->post_count;
|
|||
|
||||
<?php else : ?>
|
||||
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h3>No entries found.</h3>
|
||||
<p>Try another search?</p>
|
||||
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h3>No entries found.</h3>
|
||||
<p>Try another search?</p>
|
||||
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-page-foot"></div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php comicpress_pagination(); ?>
|
||||
<?php comicpress_pagination(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
|
@ -1,20 +1,22 @@
|
|||
<?php global $disable_lrsidebars_frontpage;
|
||||
if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
|
||||
} else { ?>
|
||||
<div id="sidebar-left-top"></div>
|
||||
<div id="sidebar-left">
|
||||
<div class="sidebar">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?>
|
||||
<ul>
|
||||
<li>
|
||||
<?php $default_image = get_bloginfo('stylesheet_directory').'/images/cal/default.png'; ?>
|
||||
<?php comicpress_calendar(array('thumbnail' => $default_image)) ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php comicpress_archive_dropdown(); ?>
|
||||
<?php comicpress_latest_comics() ?>
|
||||
<?php endif; ?>
|
||||
<div class="sidebar-top"></div>
|
||||
<div class="sidebar-content">
|
||||
<div class="sidebar">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?>
|
||||
<ul>
|
||||
<li>
|
||||
<?php $default_image = get_bloginfo('stylesheet_directory').'/images/cal/default.png'; ?>
|
||||
<?php comicpress_calendar(array('thumbnail' => $default_image)) ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php comicpress_archive_dropdown(); ?>
|
||||
<?php comicpress_latest_comics() ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sidebar-bottom"></div>
|
||||
</div>
|
||||
<div id="sidebar-left-bottom"></div>
|
||||
<?php } ?>
|
|
@ -1,33 +1,35 @@
|
|||
<?php global $disable_lrsidebars_frontpage;
|
||||
if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
|
||||
} else { ?>
|
||||
<div id="sidebar-right-top"></div>
|
||||
<div id="sidebar-right">
|
||||
<div class="sidebar">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
|
||||
<?php comicpress_comic_bookmark() ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,v')) { ?>
|
||||
<ul>
|
||||
<li>
|
||||
<?php $default_image = get_bloginfo('stylesheet_directory').'/images/cal/default.png'; ?>
|
||||
<?php comicpress_calendar(array('thumbnail' => $default_image)) ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
<ul>
|
||||
<li>
|
||||
<h2>Menu</h2>
|
||||
<ul>
|
||||
<?php wp_list_pages('title_li=') ?>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="sidebar-top"></div>
|
||||
<div class="sidebar-content">
|
||||
<div class="sidebar">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
|
||||
<?php comicpress_comic_bookmark() ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,v')) { ?>
|
||||
<ul>
|
||||
<li>
|
||||
<?php $default_image = get_bloginfo('stylesheet_directory').'/images/cal/default.png'; ?>
|
||||
<?php comicpress_calendar(array('thumbnail' => $default_image)) ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
<ul>
|
||||
<li>
|
||||
<h2>Menu</h2>
|
||||
<ul>
|
||||
<?php wp_list_pages('title_li=') ?>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul><?php wp_list_categories('title_li=<h2>Categories</h2>') ?></ul>
|
||||
<ul><?php wp_list_categories('title_li=<h2>Categories</h2>') ?></ul>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sidebar-bottom"></div>
|
||||
</div>
|
||||
<div id="sidebar-right-bottom"></div>
|
||||
<?php } ?>
|
49
single.php
49
single.php
|
@ -1,5 +1,9 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
||||
<div id="content-wrapper">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
||||
|
||||
<?php if (is_cp_theme_style('v3c,v')) { ?>
|
||||
|
@ -7,20 +11,21 @@
|
|||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
<div id="pagewrap-right">
|
||||
<?php } ?>
|
||||
|
||||
<?php while (have_posts()) : the_post(); if (in_comic_category()) { ?>
|
||||
<?php while (have_posts()) : the_post();
|
||||
if (in_comic_category()) { ?>
|
||||
|
||||
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
||||
<?php get_sidebar('comicleft'); ?>
|
||||
<div id="comic">
|
||||
<?php display_comic(); ?>
|
||||
</div>
|
||||
<?php get_sidebar('comicright'); ?>
|
||||
<div class="clear"></div>
|
||||
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
||||
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
||||
<?php get_sidebar('comicleft'); ?>
|
||||
<div id="comic">
|
||||
<?php display_comic(); ?>
|
||||
</div>
|
||||
<?php get_sidebar('comicright'); ?>
|
||||
<div class="clear"></div>
|
||||
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
||||
|
||||
<?php } endwhile; ?>
|
||||
|
||||
|
@ -65,22 +70,24 @@
|
|||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
||||
<center>
|
||||
<?php get_sidebar('underblog'); ?>
|
||||
</center>
|
||||
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php get_sidebar('underblog'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
||||
get_sidebar('right');
|
||||
} ?>
|
||||
get_sidebar('right'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('gn')) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div> <!-- end pageright-wrapper / content-wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_footer() ?>
|
Loading…
Reference in New Issue