pagination shouldnt show the bar now if page is not paginated. CSS archive-drop fixes ?

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-28 03:21:07 -07:00
parent 3ad8f27036
commit ce242e6aee
3 changed files with 46 additions and 56 deletions

View File

@ -64,6 +64,7 @@
<table class="month-table"> <table class="month-table">
<?php while (have_posts()) : the_post() ?> <?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> <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; ?> <?php endwhile; ?>
</table> </table>
</ol> </ol>

View File

@ -2,8 +2,8 @@
function comicpress_pagination() { function comicpress_pagination() {
global $post, $wp_query; global $post, $wp_query;
if (is_paged()) { $paged = intval(get_query_var('paged'));
if(function_exists('wp_pagenavi')) { ?> if(function_exists('wp_pagenavi') && !empty($paged)) { ?>
<div id="wp-paginav"> <div id="wp-paginav">
<?php wp_pagenavi(); ?> <?php wp_pagenavi(); ?>
<div class="clear"></div> <div class="clear"></div>
@ -15,5 +15,6 @@ function comicpress_pagination() {
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<?php } <?php }
} }
} ?>
?>

View File

@ -807,17 +807,6 @@ ul.children {
list-style: none; list-style: none;
} }
.widget {
margin: 0 auto;
}
.widget_comicpress_comictitle {
font-size: 36px;
font-family: georgia;
letter-spacing: -2px;
text-align: center;
}
/* Sidebar Class */ /* Sidebar Class */
@ -865,28 +854,49 @@ ul.children {
/* WIDGETS */ /* WIDGETS */
.widget {
margin: 0 auto;
}
.widget_comicpress_comictitle {
font-size: 36px;
font-family: georgia;
letter-spacing: -2px;
text-align: center;
}
.random-comic-icon { .random-comic-icon {
padding: 0 5px; padding: 0 5px;
color: #fff; color: #fff;
background: #000; background: #000;
} }
.comic-bookmark { .comic-bookmark {
width: 185px; width: 185px;
margin: 0 auto; margin: 0 auto;
margin-bottom: 10px; margin-bottom: 10px;
} }
.archive-dropdown-wrap {
.archive-dropdown { background: url('images/browse-search.png') no-repeat;
max-width: 100%;
} }
.archive-dropdown-wrap:hover {
background-position: 0 -23px;
}
.archive-dropdown {
margin: 0;
padding: 0;
width: 166px;
height: 23px;
font-size: 12px;
font-family: 'Arial' , sans-serif;
border: none;
opacity: 0;
filter: alpha(opacity=0);
cursor: pointer;
}
/* CALENDAR */ /* CALENDAR */
@ -1000,28 +1010,6 @@ table#wp-calendar td {
padding: 5px; padding: 5px;
} }
.archive-dropdown-wrap {
background: url('images/browse-search.png') no-repeat;
}
.archive-dropdown-wrap:hover {
background-position: 0 -23px;
}
.archive-dropdown {
margin: 0;
padding: 0;
width: 166px;
height: 23px;
font-size: 12px;
font-family: 'Arial' , sans-serif;
border: none;
opacity: 0;
filter: alpha(opacity=0);
cursor: pointer;
}
/* GALLERY */ /* GALLERY */