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">
<?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>

View File

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

View File

@ -807,17 +807,6 @@ ul.children {
list-style: none;
}
.widget {
margin: 0 auto;
}
.widget_comicpress_comictitle {
font-size: 36px;
font-family: georgia;
letter-spacing: -2px;
text-align: center;
}
/* Sidebar Class */
@ -865,28 +854,49 @@ ul.children {
/* WIDGETS */
.widget {
margin: 0 auto;
}
.widget_comicpress_comictitle {
font-size: 36px;
font-family: georgia;
letter-spacing: -2px;
text-align: center;
}
.random-comic-icon {
padding: 0 5px;
color: #fff;
background: #000;
}
.comic-bookmark {
width: 185px;
margin: 0 auto;
margin-bottom: 10px;
}
.archive-dropdown {
max-width: 100%;
.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;
}
/* CALENDAR */
@ -1000,28 +1010,6 @@ table#wp-calendar td {
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 */