From bc8d93c91a130503b07e471464ed1f6f8cf06fbb Mon Sep 17 00:00:00 2001 From: AK Delfin Date: Sun, 10 Oct 2021 15:16:51 +0300 Subject: [PATCH] add page template --- blocks/archive.php | 2 +- blocks/search-form.php | 23 +++++++++++++++++++++++ footer.php | 16 ++++++++++++++++ header.php | 42 ++++++++++-------------------------------- search.php | 4 +++- single.php | 4 ++-- style.css | 39 ++++++++++++++++++++++++++++++--------- 7 files changed, 85 insertions(+), 45 deletions(-) create mode 100644 blocks/search-form.php diff --git a/blocks/archive.php b/blocks/archive.php index 4f65129..431009e 100644 --- a/blocks/archive.php +++ b/blocks/archive.php @@ -21,7 +21,7 @@ if( $posts ): ?>
- <?the_title();?> + <?the_title();?>
diff --git a/blocks/search-form.php b/blocks/search-form.php new file mode 100644 index 0000000..a57259b --- /dev/null +++ b/blocks/search-form.php @@ -0,0 +1,23 @@ +
+
+ +
+ +
+ + + + + + diff --git a/footer.php b/footer.php index 9db55f4..25dd87f 100644 --- a/footer.php +++ b/footer.php @@ -119,6 +119,22 @@ + + + + + diff --git a/header.php b/header.php index 1532eae..c501621 100644 --- a/header.php +++ b/header.php @@ -4,13 +4,20 @@ <?php wp_title('|', true, 'right');?> - + + + + +
- -
-
- -
- -
- - - @@ -58,23 +53,6 @@ ) ); ?> - - - - - -
diff --git a/search.php b/search.php index 4f5f0cd..bad9b1c 100644 --- a/search.php +++ b/search.php @@ -21,7 +21,7 @@ get_header();?> - +

По запросу «

+ + diff --git a/single.php b/single.php index d41de05..c44a4d7 100644 --- a/single.php +++ b/single.php @@ -15,7 +15,7 @@ ?>