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">
<?php if (have_posts()): ?>
<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(); ?>
</div>
<?php endif; ?>

View File

@ -42,7 +42,7 @@ Template Name: Comic Year Archive
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<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(); ?>
</div>
<?php endwhile; ?>

View File

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

View File

@ -81,6 +81,7 @@
<?php endif; ?>
<div class="clear">
</div>
</div>
</div>
<?php

View File

@ -2,7 +2,6 @@
<div id="sidebar-right">
<div class="sidebar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
<br />
<?php comicpress_comic_bookmark() ?>
<?php if (is_cp_theme_style('standard,v')) { ?>
@ -14,7 +13,6 @@
<?php } ?>
<ul>
<li>
<h2>Menu</h2>
<ul>
<?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_bookmarks() ?></ul>
<?php endif; ?>
</div>
</div>

View File

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

View File

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