comicpress-core/page.php

19 lines
340 B
PHP

<?php
global $comicpress;
comicpress_init();
ob_start();
if (have_posts()) {
while (have_posts()) {
the_post();
include_partial('page-post');
}
}
comments_template();
$content = ob_get_clean();
include(get_template_directory() . '/layouts/' . $comicpress->comicpress_options['layout']);
?>