Pages: ', 'after' => '
', 'next_or_number' => 'number')) ?> -
-
+
+
-
-
-
-
- -
-
-
-
+
+
-
-
+
+
\ No newline at end of file
+$content = ob_get_clean();
+
+include(get_template_directory() . '/layouts/' . $comicpress->comicpress_options['layout']);
+?>
\ No newline at end of file
diff --git a/page.php b/page.php
index 91fb57c..d60555a 100644
--- a/page.php
+++ b/page.php
@@ -1,22 +1,19 @@
-
-
--
+
+
-
-
-
-
-
-
-
\ No newline at end of file
+comicpress_options['layout']);
+?>
\ No newline at end of file
diff --git a/partials/page-post.inc b/partials/page-post.inc
new file mode 100644
index 0000000..51f8311
--- /dev/null
+++ b/partials/page-post.inc
@@ -0,0 +1,11 @@
+
+
-
-
-
-
-
-
-
-
- '
- ', '') ?>
- -
+
+
+
+
diff --git a/partials/search-comic-post.inc b/partials/search-comic-post.inc
index 9506a51..2b7d85f 100644
--- a/partials/search-comic-post.inc
+++ b/partials/search-comic-post.inc
@@ -1,7 +1,7 @@
+
+ '
+ ', '') ?>
+ Pages: ', 'after' => '
', 'next_or_number' => 'number')) ?> ++
-
+
+ include_partial('search-page-nav', 'archive-page-nav');
+ } else {
+ include_partial('search-not-found');
+ }
-
-
-
\ No newline at end of file
+ $content = ob_get_clean();
+
+ include(get_template_directory() . '/layouts/' . $comicpress->comicpress_options['layout']);
+?>
\ No newline at end of file
-
+ diff --git a/partials/search-transcript-comic-post.inc b/partials/search-transcript-comic-post.inc new file mode 100644 index 0000000..84b118b --- /dev/null +++ b/partials/search-transcript-comic-post.inc @@ -0,0 +1,10 @@ + +
-
-
-
-
\ No newline at end of file
+ $content = ob_get_clean();
+
+ include(get_template_directory() . '/layouts/' . $comicpress->comicpress_options['layout']);
+?>
diff --git a/search.php b/search.php
index f4511a7..d876abb 100644
--- a/search.php
+++ b/search.php
@@ -1,29 +1,29 @@
-
+
-
-+ diff --git a/partials/search-transcript-comic-post.inc b/partials/search-transcript-comic-post.inc new file mode 100644 index 0000000..84b118b --- /dev/null +++ b/partials/search-transcript-comic-post.inc @@ -0,0 +1,10 @@ + +
+
+
+
diff --git a/partials/search-transcript-not-found.inc b/partials/search-transcript-not-found.inc
new file mode 100644
index 0000000..0e6dacd
--- /dev/null
+++ b/partials/search-transcript-not-found.inc
@@ -0,0 +1,7 @@
+
+
+
+ + +
+ + + +
+
+
+
+
+
+
diff --git a/partials/search-transcript-results-count.inc b/partials/search-transcript-results-count.inc
new file mode 100644
index 0000000..8a469ba
--- /dev/null
+++ b/partials/search-transcript-results-count.inc
@@ -0,0 +1,7 @@
+
+
+ post_count; ?>
+
+
diff --git a/search-transcript.php b/search-transcript.php
index 67b0dc5..84c1c33 100644
--- a/search-transcript.php
+++ b/search-transcript.php
@@ -1,74 +1,32 @@
-
+
+ comicpress_init();
-
- Transcript search for ‘’
+ Found result. +
- post_count;
- ?>
-
-
+ ob_start();
+
+ include_partial('search-transcript-results-count');
+
+ if (have_posts()) {
+ query_posts($query_string.'&order=asc');
+
+ while (have_posts()) {
+ the_post();
-
+ if (in_comic_category()) {
+ include_partial('search-transcript-comic-post', 'search-comic-post', 'archive-comic-post');
+ } else {
+ include_partial('search-transcript-blog-post', 'search-blog-post', 'archive-blog-post');
+ }
+ }
+
+ include_partial('search-transcript-page-nav', 'search-page-nav', 'archive-page-nav');
-
+ } else {
+ include_partial('search-transcript-not-found');
+ }
-
-
-
- Transcript search for ‘’
- Found result. -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -
- - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-No transcripts found.
-Try another search?
- --