fix some layout stuff
This commit is contained in:
parent
89f01867cc
commit
db1778a6bb
|
@ -4,6 +4,7 @@
|
|||
comicpress_init();
|
||||
|
||||
$nav_comics = $comicpress->get_nav_comics();
|
||||
$t = $post;
|
||||
$post = $nav_comics['last'];
|
||||
|
||||
ob_start();
|
||||
|
@ -23,6 +24,7 @@
|
|||
}
|
||||
|
||||
$content = ob_get_clean();
|
||||
$post = $t;
|
||||
|
||||
include(get_template_directory() . '/layouts/classic.php');
|
||||
?>
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
/*
|
||||
Layout Name: Classic
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php get_header() ?>
|
||||
|
||||
<?php echo $comic ?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
<?php echo $content ?>
|
||||
</div>
|
||||
|
||||
<?php get_sidebar() ?>
|
||||
|
||||
<?php get_footer() ?>
|
Loading…
Reference in New Issue