diff --git a/404.php b/404.php index daa1655..7c3e1d1 100644 --- a/404.php +++ b/404.php @@ -1,16 +1,22 @@ - + + comicpress_init(); + + ob_start(); + + ?>

Page Not Found

Click here to return to the home page or try a search:

-

+


- - - - - \ No newline at end of file + comicpress_options['layout']); +?> \ No newline at end of file diff --git a/archive.php b/archive.php index 0db27bd..ae6a436 100644 --- a/archive.php +++ b/archive.php @@ -1,7 +1,11 @@ - + - + } - - - - - \ 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/image.php b/image.php index dde48c2..1a6d149 100644 --- a/image.php +++ b/image.php @@ -1,69 +1,20 @@ - + + comicpress_init(); + + ob_start(); + + if (have_posts()) { + while (have_posts()) { + the_post(); + include_partial('image-post'); + } + } else { + include_partial('image-not-found'); + } - - -
-
-

- post_parent) ?> -

- - -
-
-
- -
-
- ‹ -
- -
- -
-
- -
-
- › -
- -
-
-
- -
-
-
- - - - - -
-
-

Sorry, no image matched your criteria.

-
-
-
- - - - - - - - \ 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/archive-header.inc b/partials/archive-header.inc index bb27ffe..c2ad8b1 100644 --- a/partials/archive-header.inc +++ b/partials/archive-header.inc @@ -1,9 +1,10 @@ +

Archive for ‘

- +

Posts Tagged ‘

Archive for

diff --git a/partials/image-not-found.inc b/partials/image-not-found.inc new file mode 100644 index 0000000..49adb52 --- /dev/null +++ b/partials/image-not-found.inc @@ -0,0 +1,6 @@ +
+
+

Sorry, no image matched your criteria.

+
+
+
diff --git a/partials/image-post.inc b/partials/image-post.inc new file mode 100644 index 0000000..a5d3978 --- /dev/null +++ b/partials/image-post.inc @@ -0,0 +1,46 @@ +
+
+

+ post_parent) ?> +

+ + +
+
+
+ +
+
+ ‹ +
+ +
+ +
+
+ +
+
+ › +
+ +
+
+
+ +
+
+
+ + \ No newline at end of file