-
-
-
-
-
+
@@ -56,30 +29,12 @@
'&paged=' .
$paged
);
-
+
while ($wp_query->have_posts()) {
- $wp_query->the_post() ?>
-
-
-
-
-
-
- - ', multiple) ?>
- -
-
-
-
-
-
-
- comment_status) { comments_popup_link('“Comment”', '“1 Comment”', '“% Comments”'); } ?>
-
- -
-
-
-
-
+ $wp_query->the_post();
+ include(dirname(__FILE__) . '/partials/index-blog-post.inc');
+ }
+?>
- -
-
-
-
-
-
-
-
-
- comment_status) { comments_popup_link(__('“Comment”', 'comicpress'), __('“1 Comment”', 'comicpress'), __('“% Comments”', 'comicpress')); } ?>
-
-
diff --git a/partials/index-blog-post.inc b/partials/index-blog-post.inc
new file mode 100644
index 0000000..f46f584
--- /dev/null
+++ b/partials/index-blog-post.inc
@@ -0,0 +1,20 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/partials/index-comic-post.inc b/partials/index-comic-post.inc
new file mode 100644
index 0000000..71625cf
--- /dev/null
+++ b/partials/index-comic-post.inc
@@ -0,0 +1,26 @@
+
++ +
+
+
+
+
+
+
+
+
+ comment_status) { comments_popup_link(__('“Comment”', 'comicpress'), __('“1 Comment”', 'comicpress'), __('“% Comments”', 'comicpress')); } ?>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/partials/nav.inc b/partials/nav.inc
new file mode 100644
index 0000000..b9d88a9
--- /dev/null
+++ b/partials/nav.inc
@@ -0,0 +1,26 @@
+
diff --git a/partials/single-blog-post.inc b/partials/single-blog-post.inc
new file mode 100644
index 0000000..886fce6
--- /dev/null
+++ b/partials/single-blog-post.inc
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+ - ', multiple) ?>
+ +
+
+
+
+
+
+
+ comment_status) { comments_popup_link('“Comment”', '“1 Comment”', '“% Comments”'); } ?>
+
+ +
+
+
+
diff --git a/partials/single-comic-post.inc b/partials/single-comic-post.inc
new file mode 100644
index 0000000..e8b2279
--- /dev/null
+++ b/partials/single-comic-post.inc
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+ 'Pages: ', 'after' => '
', 'next_or_number' => 'number')) ?> ++
+
+
+
diff --git a/single.php b/single.php
index f2fdaa4..f31f5fe 100644
--- a/single.php
+++ b/single.php
@@ -17,68 +17,26 @@
?>
+
+
+
+
+ - ', 'multiple') ?>
+
+
+
+
+ 'Pages: ', 'after' => '
', 'next_or_number' => 'number')) ?> ++
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - ', 'multiple') ?>
-
-
-
-
- 'Pages: ', 'after' => '
', 'next_or_number' => 'number')) ?> --
-
-
-
+
-
-
-
+ comments_template();
+ }
+ } else { ?>
+
+
-
-
-
-
-
-
-
-
- 'Pages: ', 'after' => '
', 'next_or_number' => 'number')) ?> --
+
+
+
-
-
- Sorry, no posts matched your criteria.
++
-
-
-
-
-
-
+ ?>
Sorry, no posts matched your criteria.
--