2009-06-13 11:58:02 +00:00
|
|
|
<?php get_header() ?>
|
|
|
|
|
2009-07-01 00:02:33 +00:00
|
|
|
<div id="content" class="archive">
|
2009-07-15 22:36:40 +00:00
|
|
|
<?php
|
|
|
|
include(get_template_directory() . '/partials/search-results-count.inc');
|
2009-06-13 11:58:02 +00:00
|
|
|
|
2009-07-15 22:36:40 +00:00
|
|
|
if (have_posts()) {
|
|
|
|
query_posts($query_string . '&order=asc');
|
2009-06-30 23:53:35 +00:00
|
|
|
|
2009-07-15 22:36:40 +00:00
|
|
|
while (have_posts()) {
|
|
|
|
the_post();
|
2009-06-30 23:53:35 +00:00
|
|
|
|
2009-07-15 22:36:40 +00:00
|
|
|
if (in_comic_category()) {
|
|
|
|
include(get_template_directory() . '/partials/archive-comic-post.inc');
|
|
|
|
} else {
|
|
|
|
include(get_template_directory() . '/partials/archive-blog-post.inc');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
include(get_template_directory() . '/partials/archive-page-nav.inc');
|
|
|
|
} else {
|
|
|
|
include(get_template_directory() . '/partials/search-not-found.inc');
|
|
|
|
}
|
|
|
|
?>
|
2009-06-13 11:58:02 +00:00
|
|
|
</div>
|
|
|
|
|
2009-07-15 21:10:13 +00:00
|
|
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
2009-06-13 11:58:02 +00:00
|
|
|
|
|
|
|
<?php get_footer() ?>
|