From 53b87c20fdc53c5e04b4efc11a14fd9b881adc0d Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Sun, 5 Jul 2026 17:04:30 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8feature:=20Style=20single=20post=20tem?= =?UTF-8?q?plate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acf/group_60bfb84ae973c.json | 45 +++++++++++++++++++++++++++--- single.php | 54 +++++++++++------------------------- styles/base/misc.css | 13 +++++++++ 3 files changed, 70 insertions(+), 42 deletions(-) diff --git a/acf/group_60bfb84ae973c.json b/acf/group_60bfb84ae973c.json index 8381b54..29ea3d2 100644 --- a/acf/group_60bfb84ae973c.json +++ b/acf/group_60bfb84ae973c.json @@ -26,7 +26,9 @@ "ui": 0, "return_format": "value", "ajax": 0, - "placeholder": "" + "placeholder": "", + "create_options": 0, + "save_options": 0 }, { "key": "field_6478f669004aa", @@ -44,7 +46,10 @@ }, "default_value": "", "enable_opacity": 0, - "return_format": "string" + "return_format": "string", + "custom_palette_source": "", + "palette_colors": "", + "show_color_wheel": true }, { "key": "field_6478f68c004ab", @@ -94,6 +99,35 @@ "append": "", "maxlength": "" }, + { + "key": "field_6a4ad339f75b8", + "label": "Subtitle", + "name": "subtitle", + "aria-label": "", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_60bfda53dc0f2", + "operator": "!=", + "value": "none" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "allow_in_bindings": 1, + "placeholder": "", + "prepend": "", + "append": "" + }, { "key": "field_60bfb85a4a420", "label": "Intro", @@ -202,7 +236,7 @@ "name": "hero_vector", "aria-label": "", "type": "image", - "instructions": "Optional decorative linework/vector rendered on the right side of the hero.", + "instructions": "Optional decorative linework\/vector rendered on the right side of the hero.", "required": 0, "conditional_logic": [ [ @@ -256,5 +290,8 @@ "active": true, "description": "", "show_in_rest": 0, - "modified": 1782918111 + "display_title": "", + "allow_ai_access": false, + "ai_description": "", + "modified": 1783288661 } diff --git a/single.php b/single.php index dc5c480..4d14ab4 100644 --- a/single.php +++ b/single.php @@ -27,52 +27,30 @@ if ( hasSidebar() ) { the_post(); ?> +
+ + <?php the_title(); ?> + +
+
-

+

+ +
+ +
-
+ - + +
+ diff --git a/styles/base/misc.css b/styles/base/misc.css index 944390b..0895fd0 100644 --- a/styles/base/misc.css +++ b/styles/base/misc.css @@ -3,3 +3,16 @@ .social-icons svg { @apply bg-transparent fill-white rounded-full block; } + +.post-title h1 { + @apply mb-8 text-cwc-blue-01 leading-none; + + &::after { + background: var(--color-secondary); + content: ""; + display: block; + height: 4px; + margin-top: 0.45rem; + width: 3rem; + } +}