Fix for the turning default nav off and comic bookmark style change and just moved the global in the footer up some.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
fc0775b03c
commit
94e4257010
|
@ -1,3 +1,4 @@
|
|||
<?php global $wpmu_version, $comicpress_options; ?>
|
||||
<div id="footer">
|
||||
<?php if (function_exists('the_project_wonderful_ad')) { ?>
|
||||
<div class="footerpwad">
|
||||
|
@ -7,7 +8,7 @@
|
|||
</div>
|
||||
<?php } ?>
|
||||
<?php get_sidebar('footer'); ?>
|
||||
<?php global $wpmu_version, $comicpress_options; if (!$comicpress_options['disable_footer_text']) { ?>
|
||||
<?php if (!$comicpress_options['disable_footer_text']) { ?>
|
||||
<p>
|
||||
<span class="footer-copyright">
|
||||
<?php echo comicpress_copyright(); ?>
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
function display_comic_post() {
|
||||
global $post, $wp_query, $authordata, $comicpress_options;
|
||||
$first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink();
|
||||
?>
|
||||
if (!$comicpress_options['disable_default_comic_nav']) { ?>
|
||||
<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>
|
||||
<?php } ?>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-comic-head"></div>
|
||||
<div class="post-comic" id="post-comic-<?php the_ID() ?>">
|
||||
|
|
Loading…
Reference in New Issue