lotsa fixes per tyler

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-27 08:57:50 -07:00
parent 93d6998ee8
commit 4e6f8b8e44
7 changed files with 20 additions and 24 deletions

View File

@ -94,7 +94,7 @@ $month['12'] = array('month' => 'December', 'days' => '31');
<div class="post-page"> <div class="post-page">
<?php if (have_posts()): ?> <?php if (have_posts()): ?>
<div class="entry"> <div class="entry">
<h2 class="pagetitle"><?php the_title() ?></h2> <h2 class="pagetitle"><?php the_title() ?> <span class="page-archive-year"> <?php echo $archive_year; ?></span></h2>
<?php the_content(); ?> <?php the_content(); ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -42,7 +42,7 @@ Template Name: Comic Year Archive
<div class="post-page"> <div class="post-page">
<?php while (have_posts()) : the_post() ?> <?php while (have_posts()) : the_post() ?>
<div class="entry"> <div class="entry">
<h2 class="pagetitle"><?php the_title(); ?></h2> <h2 class="pagetitle"><?php the_title() ?> <span class="page-archive-year"> <?php echo $archive_year; ?></span></h2>
<?php the_content(); ?> <?php the_content(); ?>
</div> </div>
<?php endwhile; ?> <?php endwhile; ?>

View File

@ -36,7 +36,6 @@
<body <?php if (function_exists('body_class')) { body_class(); } ?>> <body <?php if (function_exists('body_class')) { body_class(); } ?>>
<?php do_action('comicpress-header'); ?> <?php do_action('comicpress-header'); ?>
<?php get_sidebar('above'); ?> <?php get_sidebar('above'); ?>
<?php if ($disable_page_restraints != 'yes') { <?php if ($disable_page_restraints != 'yes') {

View File

@ -82,6 +82,7 @@
<div class="clear"> <div class="clear">
</div> </div>
</div> </div>
</div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_style('3c,v3c,gn,standard,v')) {

View File

@ -2,7 +2,6 @@
<div id="sidebar-right"> <div id="sidebar-right">
<div class="sidebar"> <div class="sidebar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
<br />
<?php comicpress_comic_bookmark() ?> <?php comicpress_comic_bookmark() ?>
<?php if (is_cp_theme_style('standard,v')) { ?> <?php if (is_cp_theme_style('standard,v')) { ?>
@ -14,7 +13,6 @@
<?php } ?> <?php } ?>
<ul> <ul>
<li> <li>
<h2>Menu</h2> <h2>Menu</h2>
<ul> <ul>
<?php wp_list_pages('title_li=') ?> <?php wp_list_pages('title_li=') ?>
@ -24,8 +22,6 @@
<ul><?php wp_list_categories('title_li=<h2>Categories</h2>') ?></ul> <ul><?php wp_list_categories('title_li=<h2>Categories</h2>') ?></ul>
<ul><?php wp_list_bookmarks() ?></ul>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div> </div>

View File

@ -494,6 +494,10 @@ h3, h3 a {
.post-head, .post-page-head, .post-comic-head { .post-head, .post-page-head, .post-comic-head {
} }
.post-head, .post-page-head {
padding:10px 0 0 0;
}
.post-foot, .post-comic-foot, .post-page-foot { .post-foot, .post-comic-foot, .post-page-foot {
} }
@ -1128,22 +1132,17 @@ ul.children {
/* TRANSCRIPT */ /* TRANSCRIPT */
a.transcript-title {
}
.transcript-border {border-color:#555;}
#transcript {border-color:#333;}
#transcript { #transcript {
padding: 0 10px; padding: 0 10px;
font-size: 11px; font-size: 11px;
border-left: 4px dotted #000; border-left: 4px dotted #333;
border-right: 4px dotted #000; border-right: 4px dotted #333;
} }
.transcript-border { .transcript-border {
padding: 0 5px; padding: 0 5px;
margin: 15px 0; margin: 15px 0;
border: 1px solid #000; border: 1px solid #555;
background: #fff; background: #fff;
clear: both; clear: both;
} }
@ -1154,14 +1153,13 @@ a.transcript-title {
display: block; display: block;
font-family: 'Georgia' , serif; font-family: 'Georgia' , serif;
font-style: italic; font-style: italic;
border-bottom: 1px dashed #000;
font-size: 12px; font-size: 12px;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 1px; letter-spacing: 1px;
line-height: 2em; line-height: 2em;
border-color: #777; border-bottom: 1px dashed #777;
} }
#transcript-content { #transcript-content {

View File

@ -119,14 +119,16 @@ class widget_comicpress_bookmark extends WP_Widget {
} }
function widget($args, $instance) { function widget($args, $instance) {
global $post, $wp_query;
extract($args, EXTR_SKIP); extract($args, EXTR_SKIP);
if (!is_home() && !is_page() && !is_single()) {
echo $before_widget; echo $before_widget;
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }; if ( !empty( $title ) ) { echo $before_title . $title . $after_title; };
comicpress_comic_bookmark(); comicpress_comic_bookmark();
echo $after_widget; echo $after_widget;
} }
}
function update($new_instance, $old_instance) { function update($new_instance, $old_instance) {
$instance = $old_instance; $instance = $old_instance;