From 67b1164383578b04198f4065918feded7d0f1111 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Wed, 21 Oct 2009 19:43:48 -0700 Subject: [PATCH] asdf Signed-off-by: Philip M. Hofer (Frumph) --- widgets/graphical-navigation.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/widgets/graphical-navigation.php b/widgets/graphical-navigation.php index c4c0468..181c7b8 100644 --- a/widgets/graphical-navigation.php +++ b/widgets/graphical-navigation.php @@ -67,7 +67,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget { $ok = !empty($instance['archive_path']); break; } - + ob_start(); switch ($which) { case 'first': @@ -75,9 +75,9 @@ class widget_comicpress_graphical_navigation extends WP_Widget { case 'previous': case 'story_prev': case 'story_next': + $link = get_permalink($target); case 'next': - $link = get_permalink($target->ID); - if (($which == 'next') && ($instance['nextgohome'] == 'on')) { $link = get_bloginfo('url'); } + if ($instance['nextgohome'] == 'on') { $link = get_bloginfo('url'); } if ($ok) { ?>get_post_nav($post); $storyline_to_nav_mapping = array( - 'story_prev' => 'storyline-chapter-previous', - 'story_next' => 'storyline-chapter-next' + 'story_prev' => 'storyline-previous', + 'story_next' => 'storyline-next' ); $nav_links = array();