Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/SilentComics/Strip
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentComics committed Oct 2, 2018
2 parents aacfacf + 7984eae commit f8c9c57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions single-comic.php
Expand Up @@ -6,7 +6,7 @@
* @subpackage Strip
*/

if ( post_type_exists( $post_type ) && is_single() ) {
if ( post_type_exists( $comic ) ) {
get_header( 'lite' );
} else {
get_header();
Expand Down Expand Up @@ -36,7 +36,7 @@
<nav class="nav-last"><a href="<?php echo esc_url( last_comic_link() ); ?>"><?php esc_html_e( 'Last', 'strip' ); ?></a></nav>
</div><!-- .wrap -->

<?php set_transient( 'story', $post_type );?>
<?php set_transient( 'story', $comic );?>

</div><!-- #entry-comic -->

Expand Down

0 comments on commit f8c9c57

Please sign in to comment.