fix some layout stuff

This commit is contained in:
John Bintz 2009-07-20 18:27:05 -04:00
parent 89f01867cc
commit db1778a6bb
2 changed files with 20 additions and 1 deletions

View File

@ -4,6 +4,7 @@
comicpress_init(); comicpress_init();
$nav_comics = $comicpress->get_nav_comics(); $nav_comics = $comicpress->get_nav_comics();
$t = $post;
$post = $nav_comics['last']; $post = $nav_comics['last'];
ob_start(); ob_start();
@ -23,6 +24,7 @@
} }
$content = ob_get_clean(); $content = ob_get_clean();
$post = $t;
include(get_template_directory() . '/layouts/classic.php'); include(get_template_directory() . '/layouts/classic.php');
?> ?>

17
layouts/classic.php Normal file
View File

@ -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() ?>