This commit is contained in:
John Bintz 2009-11-25 12:57:09 -05:00
parent 94e4257010
commit 3a2c99444f
1 changed files with 2 additions and 0 deletions

View File

@ -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);