From d80347ac2cafa7ee423cff17394c3d6ec3c7eb10 Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Fri, 15 Sep 2023 17:35:44 +0200 Subject: [PATCH 1/7] created template --- templates/single-portfolio.html | 30 ++++++++++++++++++++++++++++++ theme.json | 7 +++++++ 2 files changed, 37 insertions(+) create mode 100644 templates/single-portfolio.html diff --git a/templates/single-portfolio.html b/templates/single-portfolio.html new file mode 100644 index 00000000..abc59b75 --- /dev/null +++ b/templates/single-portfolio.html @@ -0,0 +1,30 @@ + +
+ +
+ + + +
+ + + + + + + + + + +
+
+ + + +
+
+ +
+ + + diff --git a/theme.json b/theme.json index 1139d0d4..fd2eabfa 100644 --- a/theme.json +++ b/theme.json @@ -973,6 +973,13 @@ ], "title": "Page Portfolio" }, + { + "name": "single-portfolio", + "postTypes": [ + "post" + ], + "title": "Single Portfolio" + }, { "name": "single-writer", "postTypes": [ From 0a9afe4fef6d4973c5557d0b15da45386f77ed54 Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Fri, 15 Sep 2023 17:39:38 +0200 Subject: [PATCH 2/7] fix footer slug --- templates/single-portfolio.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/single-portfolio.html b/templates/single-portfolio.html index abc59b75..1d7f2578 100644 --- a/templates/single-portfolio.html +++ b/templates/single-portfolio.html @@ -27,4 +27,4 @@ - + From 0be464359f35d459460b5941bb26d2f04913badf Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Fri, 15 Sep 2023 17:40:12 +0200 Subject: [PATCH 3/7] add spacer at the end --- templates/single-portfolio.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/single-portfolio.html b/templates/single-portfolio.html index 1d7f2578..e7f4882c 100644 --- a/templates/single-portfolio.html +++ b/templates/single-portfolio.html @@ -24,6 +24,11 @@
+ + + + + From 9c8464f1437ab3734ddfae0d46439add8550e12a Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Fri, 15 Sep 2023 17:40:56 +0200 Subject: [PATCH 4/7] add margin instead of spacer for the featured image --- templates/single-portfolio.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/templates/single-portfolio.html b/templates/single-portfolio.html index e7f4882c..de09af25 100644 --- a/templates/single-portfolio.html +++ b/templates/single-portfolio.html @@ -9,11 +9,7 @@ - - - - - +
From 4b5fb2391823df4866b9f58d40156da13c511c1a Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Fri, 15 Sep 2023 17:48:17 +0200 Subject: [PATCH 5/7] fixed wrong markup --- templates/single-portfolio.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/single-portfolio.html b/templates/single-portfolio.html index de09af25..1c9474b5 100644 --- a/templates/single-portfolio.html +++ b/templates/single-portfolio.html @@ -9,15 +9,15 @@ - +
-
+
-
+
From 216a35328ae31d3ab96f245089ce2b2f15eccb12 Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Tue, 19 Sep 2023 13:12:49 +0200 Subject: [PATCH 6/7] turned into a pattern --- .../template-single-portfolio.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) rename templates/single-portfolio.html => patterns/template-single-portfolio.php (83%) diff --git a/templates/single-portfolio.html b/patterns/template-single-portfolio.php similarity index 83% rename from templates/single-portfolio.html rename to patterns/template-single-portfolio.php index 1c9474b5..81942d84 100644 --- a/templates/single-portfolio.html +++ b/patterns/template-single-portfolio.php @@ -1,6 +1,16 @@ + +
- +
From cbf4e4716071bd85a32856a36a7d412588921ae8 Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Tue, 19 Sep 2023 13:13:42 +0200 Subject: [PATCH 7/7] removed from theme.json --- theme.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/theme.json b/theme.json index fd2eabfa..1139d0d4 100644 --- a/theme.json +++ b/theme.json @@ -973,13 +973,6 @@ ], "title": "Page Portfolio" }, - { - "name": "single-portfolio", - "postTypes": [ - "post" - ], - "title": "Single Portfolio" - }, { "name": "single-writer", "postTypes": [