diff --git a/functions/displaycomicpost.php b/functions/displaycomicpost.php
index 6b2ced5..45128e1 100644
--- a/functions/displaycomicpost.php
+++ b/functions/displaycomicpost.php
@@ -10,7 +10,7 @@ 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; ?>
-
id="post-comic-">
+
diff --git a/widgets/graphical-navigation-orig.php b/widgets/graphical-navigation-orig.php
index 04d6f6d..94309bb 100644
--- a/widgets/graphical-navigation-orig.php
+++ b/widgets/graphical-navigation-orig.php
@@ -81,7 +81,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
+ if (($next_comic == $latest_comic) && $instance['lastgohome'] == 'on') { ?>
@@ -99,7 +99,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
}
if ($instance['last'] == 'on') {
if (!empty($last_comic) && ($last_comic != $this_permalink)) {
- if ($instance['nextgohome'] == 'on') { ?>
+ if ($instance['lastgohome'] == 'on') { ?>
@@ -130,7 +130,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
$instance['archive_path'] = strip_tags($new_instance['archive_path']);
$instance['buyprint'] = $new_instance['buyprint'];
$instance['comictitle'] = $new_instance['comictitle'];
- $instance['nextgohome'] = $new_instance['nextgohome'];
+ $instance['lastgohome'] = $new_instance['lastgohome'];
$instance['first_title'] = strip_tags($new_instance['first_title']);
$instance['last_title'] = strip_tags($new_instance['last_title']);
@@ -169,7 +169,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
'next_title' => 'Next',
'buyprint_title' => 'Buy Print',
'comictitle' => 'off',
- 'nextgohome' => 'off',
+ 'lastgohome' => 'off',
) );
$first = $instance['first']; if (empty($first)) $first = 'on';
$last = $instance['last']; if (empty($last)) $last = 'on';
@@ -183,7 +183,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
$next = $instance['next']; if (empty($next)) $next = 'on';
$buyprint = $instance['buyprint']; if (empty($buyprint)) $buyprint = 'off';
$comictitle = $instance['comictitle']; if (empty($comictitle)) $comictitle = 'off';
- $nextgohome = $instance['nextgohome']; if (empty($nextgohome)) $nextgohome = 'off';
+ $lastgohome = $instance['lastgohome']; if (empty($lastgohome)) $lastgohome = 'off';
$first_title = $instance['first_title'];
@@ -268,7 +268,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
- />On />Off
+ />On />Off
ID); - if (($which == 'next') && ($instance['nextgohome'] == 'on')) { $link = get_bloginfo('url'); } + if (($which == 'last') && ($instance['lastgohome'] == 'on')) { $link = get_bloginfo('url'); } if ($ok) { ?>" @@ -280,7 +280,7 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget { $all_fields = array( 'first', 'story_prev', 'story_next', 'story_prev_in', 'story_next_in', 'previous', 'random', 'archives', - 'comments', 'next', 'last', 'buyprint', 'comictitle', 'nextgohome', + 'comments', 'next', 'last', 'buyprint', 'comictitle', 'lastgohome', 'story_prev_acts_as_prev_in' ); @@ -312,7 +312,7 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget { 'archive_path' => '', 'buyprint' => 'off', 'comictitle' => 'off', - 'nextgohome' => 'off', + 'lastgohome' => 'off', 'story_prev_acts_as_prev_in' => 'on' ); @@ -379,12 +379,12 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget { value="" />
+ case "last": ?>
- />On />Off
+ />On />Off
ID); - if (($which == 'next') && ($instance['nextgohome'] == 'on')) { $link = get_bloginfo('url'); } + if (($which == 'last') && ($instance['lastgohome'] == 'on')) { $link = get_bloginfo('url'); } if ($ok) { ?>" @@ -280,7 +280,7 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget { $all_fields = array( 'first', 'story_prev', 'story_next', 'story_prev_in', 'story_next_in', 'previous', 'random', 'archives', - 'comments', 'next', 'last', 'buyprint', 'comictitle', 'nextgohome', + 'comments', 'next', 'last', 'buyprint', 'comictitle', 'lastgohome', 'story_prev_acts_as_prev_in' ); @@ -312,7 +312,7 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget { 'archive_path' => '', 'buyprint' => 'off', 'comictitle' => 'off', - 'nextgohome' => 'off', + 'lastgohome' => 'off', 'story_prev_acts_as_prev_in' => 'on' ); @@ -379,12 +379,12 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget { value="" />