From 3a2c99444f8d1951fa370dd6db5a47ccb0e02ed4 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 25 Nov 2009 12:57:09 -0500 Subject: [PATCH] FS#138 --- widgets/graphical-navigation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/graphical-navigation.php b/widgets/graphical-navigation.php index 30dd1a8..2b6b14f 100644 --- a/widgets/graphical-navigation.php +++ b/widgets/graphical-navigation.php @@ -235,6 +235,8 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget { * Render the widget. */ function widget($args, $instance) { + global $post; + if (is_home() || is_single()) { $post_nav = $this->set_up_post_nav($instance);