From 2b5736ac313624870a254d02fa142eaf22c954dd Mon Sep 17 00:00:00 2001 From: Ionut Neagu Date: Tue, 30 Jun 2026 11:00:20 +0200 Subject: [PATCH 1/2] feat: enrich Default starter content (process, pricing) + section polish Home: - Add icons to the hero pills (Business/Portfolio/Blog/Shop) and to the brand strip, with thin column dividers between brand names. - New "How we work" 4-step process section and a "Plans that scale with you" pricing teaser linking to the new Pricing page. New Pricing page: - inc/compatibility/starter-content/pricing.php: 3 tiers (Professional featured), FAQ, CTA. Registered in starter_content.php (const, posts, is_starter_page_slug, primary + footer nav between Services and Work). Palette unchanged (nv-light-bg stays #f1f5f9). Verified on wp-env: PHP lint clean, 0 invalid blocks on home + pricing, no horizontal overflow. A hero blue backdrop was explored to match screenshot.png but dropped: it reads fine at a controlled screenshot width yet leaves an awkward empty blue area on wide live viewports. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01JPYaucAnAxbxPXho4ADBBG --- .../starter-content/custom-css.php | 21 ++ inc/compatibility/starter-content/home.php | 220 ++++++++++++- inc/compatibility/starter-content/pricing.php | 291 ++++++++++++++++++ inc/compatibility/starter_content.php | 15 +- 4 files changed, 529 insertions(+), 18 deletions(-) create mode 100644 inc/compatibility/starter-content/pricing.php diff --git a/inc/compatibility/starter-content/custom-css.php b/inc/compatibility/starter-content/custom-css.php index 54dffc0ef9..e6a8082b4b 100644 --- a/inc/compatibility/starter-content/custom-css.php +++ b/inc/compatibility/starter-content/custom-css.php @@ -92,6 +92,27 @@ /* Generic image rounding inside starter pages */ .folio-round img{border-radius:16px} +/* Hero pills: icon + label */ +.folio-pills .wp-block-button__link{display:inline-flex;align-items:center;gap:6px} +.folio-pills .folio-pill-ico{display:inline-flex;line-height:0;color:var(--nv-c-2,#6B7280)} +.folio-pills .folio-pill-ico svg{display:block} + +/* Brand strip: icon + name, with thin column dividers */ +.folio-brand-ico{display:inline-flex;line-height:0;color:var(--nv-text-color,#111827);opacity:.55;flex:0 0 auto} +.folio-brand-ico svg{display:block} +.folio-brand .wp-block-column + .wp-block-column{border-left:1px solid rgba(107,114,128,.16)} +@media(max-width:782px){.folio-brand .wp-block-column + .wp-block-column{border-left:none}} + +/* Process steps */ +.folio-step{height:auto;background:var(--nv-site-bg,#fff);transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 1px 2px rgba(15,23,42,.04)} +.folio-step:hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(15,23,42,.10)} +.folio-step-num{display:block;font-size:30px;font-weight:800;color:var(--nv-primary-accent,#2563EB);line-height:1;margin-bottom:4px} +@media(min-width:783px){.folio-step{height:100%}} + +/* Pricing cards */ +.folio-pricing-featured{box-shadow:0 24px 50px rgba(37,99,235,.18)} +.folio-pricing-featured .folio-btn-outline .wp-block-button__link{border-color:rgba(255,255,255,.5)} + /* ---- Block editor only ---- */ /* The editor renders core/html previews in a sandboxed iframe whose box stretches to the available width, which breaks flex rows (squeezed labels) and centering. diff --git a/inc/compatibility/starter-content/home.php b/inc/compatibility/starter-content/home.php index aaaea99a50..cf56a12a3f 100644 --- a/inc/compatibility/starter-content/home.php +++ b/inc/compatibility/starter-content/home.php @@ -41,19 +41,19 @@ @@ -87,41 +87,77 @@

Brands we have worked with

- +
-
-

Northwind

+
+
+ + + + +

Northwind

+
-
-

APEX

+
+
+ + + + +

APEX

+
-
-

Coastal Co.

+
+
+ + + + +

Coastal Co.

+
-
-

Helix Group

+
+
+ + + + +

Helix Group

+
-
-

Solaris

+
+
+ + + + +

Solaris

+
-
-

VANTAGE

+
+
+ + + + +

VANTAGE

+
@@ -218,6 +254,156 @@
+ +
+

Our Process

+ + + +

How we work

+ + + +

A clear, collaborative process that turns ideas into results.

+ + + +
+
+
+01 + + + +

Discover

+ + + +

We listen, ask the right questions, and map your goals, audience, and opportunities.

+
+
+ + + +
+
+02 + + + +

Design

+ + + +

We craft wireframes and polished designs, refined together until every detail feels right.

+
+
+ + + +
+
+03 + + + +

Build

+ + + +

We develop with clean, fast, responsive code, keeping you in the loop at every milestone.

+
+
+ + + +
+
+04 + + + +

Launch

+ + + +

We deploy, test thoroughly, and provide ongoing support so your project keeps growing.

+
+
+
+
+ + + +
+

Pricing

+ + + +

Plans that scale with you

+ + + +

Straightforward pricing for every stage. See the full breakdown on our pricing page.

+ + + +
+
+
+

Starter

+ + + +

$19 /mo

+ + + +

For small projects getting started online.

+
+
+ + + +
+ +
+ + + +
+
+

Enterprise

+ + + +

Custom

+ + + +

For large-scale projects with custom needs.

+
+
+
+ + + + +
+ +

Selected projects

diff --git a/inc/compatibility/starter-content/pricing.php b/inc/compatibility/starter-content/pricing.php new file mode 100644 index 0000000000..d4d6a2857a --- /dev/null +++ b/inc/compatibility/starter-content/pricing.php @@ -0,0 +1,291 @@ +'; + +$post_content = <<<'HTML' + +
+

Pricing

+ + + +

Simple, transparent pricing

+ + + +

Choose the plan that fits your project. Every tier includes ongoing support and a dedicated point of contact.

+
+ + + +
+
+
+
+

Starter

+ + + +

$19 /mo

+ + + +

Perfect for small projects and getting your presence online.

+ + + +
+
+$check$ + + + +

Up to 5 pages

+
+ + + +
+$check$ + + + +

Mobile responsive

+
+ + + +
+$check$ + + + +

Email support

+
+ + + +
+$check$ + + + +

Basic SEO setup

+
+
+ + + + +
+
+ + + +
+ +
+ + + +
+
+

Enterprise

+ + + +

Custom

+ + + +

For large-scale projects with complex needs and a dedicated team.

+ + + +
+
+$check$ + + + +

Everything in Professional

+
+ + + +
+$check$ + + + +

Dedicated team

+
+ + + +
+$check$ + + + +

Custom integrations

+
+ + + +
+$check$ + + + +

SLA & account manager

+
+
+ + + + +
+
+
+
+ + + +
+

Frequently asked questions

+ + + +
+
Can I change my plan later? +

Absolutely. You can upgrade or downgrade at any time, and changes take effect at the start of your next billing cycle with prorated adjustments.

+
+ + + +
What payment methods do you accept? +

We accept all major credit cards and PayPal, plus wire transfers for enterprise accounts. Every payment is processed securely.

+
+ + + +
Is there a setup fee? +

No setup fees on any plan. Enterprise engagements may include a one-time onboarding service depending on scope, agreed up front.

+
+ + + +
Do you offer a discount for annual billing? +

Yes. Annual billing saves you roughly 20% compared with paying monthly. Reach out for enterprise and custom arrangements.

+
+
+
+ + + + + +HTML; + +$post_content = str_replace( '$check$', $check, $post_content ); + +return [ + 'post_type' => 'page', + 'post_name' => 'pricing', + 'post_title' => _x( 'Pricing', 'Theme starter content', 'neve' ), + 'post_content' => str_replace( + [ '{{theme_uri}}', '{{home_url}}' ], + [ trailingslashit( get_template_directory_uri() ), trailingslashit( home_url() ) ], + $post_content + ), +]; diff --git a/inc/compatibility/starter_content.php b/inc/compatibility/starter_content.php index 1f184e967b..fba3334d21 100644 --- a/inc/compatibility/starter_content.php +++ b/inc/compatibility/starter_content.php @@ -18,6 +18,7 @@ class Starter_Content { const ABOUT_SLUG = 'about'; const CONTACT = 'contact'; const SERVICES_SLUG = 'services'; + const PRICING_SLUG = 'pricing'; const WORK_SLUG = 'work'; @@ -112,7 +113,7 @@ public function starter_meta( $value, $post_id, $meta_key ) { private function is_starter_page_slug( $slug ) { return in_array( $slug, - [ self::HOME_SLUG, self::BLOG_SLUG, self::ABOUT_SLUG, self::CONTACT, self::SERVICES_SLUG, self::WORK_SLUG ], + [ self::HOME_SLUG, self::BLOG_SLUG, self::ABOUT_SLUG, self::CONTACT, self::SERVICES_SLUG, self::PRICING_SLUG, self::WORK_SLUG ], true ); } @@ -395,6 +396,12 @@ public function get() { // context (from the previous starter content), so no new strings are added. 'title' => _x( 'Services', 'Theme starter content', 'neve' ), ], + 'page_pricing' => [ + 'type' => 'post_type', + 'object' => 'page', + 'object_id' => '{{' . self::PRICING_SLUG . '}}', + 'title' => _x( 'Pricing', 'Theme starter content', 'neve' ), + ], 'page_work' => [ 'type' => 'post_type', 'object' => 'page', @@ -436,6 +443,11 @@ public function get() { 'object' => 'page', 'object_id' => '{{' . self::ABOUT_SLUG . '}}', ], + 'page_pricing' => [ + 'type' => 'post_type', + 'object' => 'page', + 'object_id' => '{{' . self::PRICING_SLUG . '}}', + ], 'page_contact' => [ 'type' => 'post_type', 'object' => 'page', @@ -475,6 +487,7 @@ public function get() { self::HOME_SLUG => require __DIR__ . '/starter-content/home.php', self::ABOUT_SLUG => require __DIR__ . '/starter-content/about.php', self::SERVICES_SLUG => require __DIR__ . '/starter-content/services.php', + self::PRICING_SLUG => require __DIR__ . '/starter-content/pricing.php', self::WORK_SLUG => require __DIR__ . '/starter-content/work.php', self::CONTACT => require __DIR__ . '/starter-content/contact.php', self::BLOG_SLUG => require __DIR__ . '/starter-content/blog.php', From 8b517c84c451aeebab35ca3dbe4db4ee6c92d77c Mon Sep 17 00:00:00 2001 From: Ionut Neagu Date: Tue, 30 Jun 2026 11:58:12 +0200 Subject: [PATCH 2/2] fix: drop editor-fragile pill/brand icons; render process step number natively The inline-SVG pill icons (inside core/button RichText) don't render in the block editor and can be stripped on edit; the brand-strip icons (core/html in a flex row) squeezed the labels in the editor sandbox. Revert both to the clean original (plain pills + plain brand names) and render the process step number as a core/paragraph instead of core/html. Front end + block editor both verified clean on wp-env. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01JPYaucAnAxbxPXho4ADBBG --- .../starter-content/custom-css.php | 13 +-- inc/compatibility/starter-content/home.php | 94 ++++++------------- 2 files changed, 30 insertions(+), 77 deletions(-) diff --git a/inc/compatibility/starter-content/custom-css.php b/inc/compatibility/starter-content/custom-css.php index e6a8082b4b..a3c96c8b87 100644 --- a/inc/compatibility/starter-content/custom-css.php +++ b/inc/compatibility/starter-content/custom-css.php @@ -92,21 +92,10 @@ /* Generic image rounding inside starter pages */ .folio-round img{border-radius:16px} -/* Hero pills: icon + label */ -.folio-pills .wp-block-button__link{display:inline-flex;align-items:center;gap:6px} -.folio-pills .folio-pill-ico{display:inline-flex;line-height:0;color:var(--nv-c-2,#6B7280)} -.folio-pills .folio-pill-ico svg{display:block} - -/* Brand strip: icon + name, with thin column dividers */ -.folio-brand-ico{display:inline-flex;line-height:0;color:var(--nv-text-color,#111827);opacity:.55;flex:0 0 auto} -.folio-brand-ico svg{display:block} -.folio-brand .wp-block-column + .wp-block-column{border-left:1px solid rgba(107,114,128,.16)} -@media(max-width:782px){.folio-brand .wp-block-column + .wp-block-column{border-left:none}} - /* Process steps */ .folio-step{height:auto;background:var(--nv-site-bg,#fff);transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 1px 2px rgba(15,23,42,.04)} .folio-step:hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(15,23,42,.10)} -.folio-step-num{display:block;font-size:30px;font-weight:800;color:var(--nv-primary-accent,#2563EB);line-height:1;margin-bottom:4px} +.folio-step-num{display:block;font-size:30px;font-weight:800;color:var(--nv-primary-accent,#2563EB);line-height:1;margin:0 0 4px} @media(min-width:783px){.folio-step{height:100%}} /* Pricing cards */ diff --git a/inc/compatibility/starter-content/home.php b/inc/compatibility/starter-content/home.php index cf56a12a3f..854765ad52 100644 --- a/inc/compatibility/starter-content/home.php +++ b/inc/compatibility/starter-content/home.php @@ -41,19 +41,19 @@
@@ -87,77 +87,41 @@

Brands we have worked with

- +
-
-
- - - - -

Northwind

+
+

Northwind

-
-
-
- - - - -

APEX

+
+

APEX

-
-
-
- - - - -

Coastal Co.

+
+

Coastal Co.

-
-
-
- - - - -

Helix Group

+
+

Helix Group

-
-
-
- - - - -

Solaris

+
+

Solaris

-
-
-
- - - - -

VANTAGE

+
+

VANTAGE

-
@@ -270,9 +234,9 @@
-
-01 - +
+

01

+

Discover

@@ -286,9 +250,9 @@
-
-02 - +
+

02

+

Design

@@ -302,9 +266,9 @@
-
-03 - +
+

03

+

Build

@@ -318,9 +282,9 @@
-
-04 - +
+

04

+

Launch