Permalink
Browse files

Always load template tags and shortcodes.

  • Loading branch information...
1 parent 9e6e167 commit 53dc2d9d6498208f29e5cba7857a245c2a1d804e Michael Sisk committed Sep 19, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 webcomic.php
View
7 webcomic.php
@@ -160,11 +160,10 @@ public function __construct() {
add_action( 'the_content', array( $this, 'the_content' ), 10, 1 );
add_action( 'pre_get_posts', array( $this, 'pre_get_posts' ), 10, 1 );
}
-
- require_once self::$dir . '-/php/tags.php';
- require_once self::$dir . '-/php/shortcodes.php'; new WebcomicShortcode;
}
-
+
+ require_once self::$dir . '-/php/tags.php';
+ require_once self::$dir . '-/php/shortcodes.php'; new WebcomicShortcode;
require_once self::$dir . '-/php/widgets.php'; new WebcomicWidgets;
}
}

0 comments on commit 53dc2d9

Please sign in to comment.