Removed .blognav and .nav forever and ever and ever and ever. .. well for now. Removed style.css styling for them as well.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
8778c3c569
commit
2958ba0f2e
|
@ -8,15 +8,6 @@
|
|||
|
||||
function display_blog_post() {
|
||||
global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar, $disable_categories_in_posts, $disable_tags_in_posts; ?>
|
||||
<?php if (is_single()) { ?>
|
||||
<div class="blognav">
|
||||
<div class="nav-single">
|
||||
<?php previous_post_link('%link',__(' ‹ Previous ','comicpress'), TRUE); ?>
|
||||
<?php next_post_link('%link',__('| Next › ','comicpress'), TRUE); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clear"></div>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-head"></div>
|
||||
<div class="post" id="post-<?php the_ID() ?>">
|
||||
|
|
|
@ -10,12 +10,6 @@ function display_comic_post() {
|
|||
global $post, $wp_query, $authordata, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar, $disable_categories_in_posts, $disable_tags_in_posts;
|
||||
$first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink();
|
||||
?>
|
||||
<div class="nav">
|
||||
<?php if ( get_permalink() != $first_comic ) { ?><div class="nav-first"><a href="<?php echo $first_comic ?>"><?php _e('‹‹ First','comicpress'); ?></a></div><?php } ?>
|
||||
<div class="nav-previous"><?php $temp_query = $wp_query->is_single; $wp_query->is_single = true; previous_comic_link('%link', __('‹ Previous','comicpress')); $wp_query->is_single = $temp_query;$temp_query = null; ?></div>
|
||||
<div class="nav-next"><?php next_comic_link('%link', __('Next ›','comicpress')) ?></div>
|
||||
<?php if ( get_permalink() != $last_comic ) { ?><div class="nav-last"><a href="<?php echo $last_comic ?>"><?php _e('Last ››','comicpress'); ?></a></div><?php } ?>
|
||||
</div>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-comic-head"></div>
|
||||
<div class="post-comic" id="post-comic-<?php the_ID() ?>">
|
||||
|
|
35
style.css
35
style.css
|
@ -345,41 +345,6 @@ h3, h3 a {
|
|||
|
||||
/* NAVIGATION */
|
||||
|
||||
.nav,.blognav {
|
||||
float: right;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.nav-first{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav-previous {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav-previous a {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.nav-next {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav-next a {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.nav-last {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav-last a {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.pagenav, .commentnav {
|
||||
height: 25px;
|
||||
color: #000;
|
||||
|
|
Loading…
Reference in New Issue