Permalink
Browse files

Add collection archive template.

  • Loading branch information...
1 parent da56393 commit 75710495082cefaf0609092cd4031d3f275eda02 Michael Sisk committed Mar 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 webcomic.php
View
@@ -1412,7 +1412,7 @@ public function template_include( $template ) {
$template = array( 'webcomic/' . ( false !== strpos( $object->taxonomy, 'storyline' ) ? 'storyline' : 'character' ) . '.php', 'webcomic/taxonomy.php', 'taxonomy.php', 'webcomic/archive.php', $template );
}
} elseif ( is_post_type_archive() and false === strpos( $template, $collection ) ) {
- $template = array( 'webcomic/archive.php', $template );
+ $template = array( 'webcomic/collection.php', 'webcomic/archive.php', $template );
}
} elseif ( is_front_page() and is_home() ) {
$template = array( 'webcomic/home.php', $template );

0 comments on commit 7571049

Please sign in to comment.