From 46d681c6b825d21b3f698d793c4e630c687d90ad Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 21 May 2026 21:41:53 +0000
Subject: [PATCH] =Major CustomBlocks.php overhaul, expanding block support and customization from the editor. theme.json should now be updated on new themes to set brand colours, etc. Also note: major change to .col vs .row alignment: simplifying it to .top .bottom vs the confusion of the differences for .col/.row .start and .a-start

---
 build/summary/render.php |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/build/summary/render.php b/build/summary/render.php
index f0e00c7..c2c35fb 100644
--- a/build/summary/render.php
+++ b/build/summary/render.php
@@ -3,6 +3,7 @@
 use JVBase\managers\Cache;
 use JVBase\meta\Meta;
 use JVBase\meta\Render;
+use JVBase\registrar\Registrar;
 
 if (!defined('ABSPATH')) {
     exit; // Exit if accessed directly
@@ -44,7 +45,12 @@
     $meta = Meta::forPost($current->ID);
     $artist = jvbContentFromUser((int)$current->post_author);
 
-	$sections = JVB_CONTENT[jvbNoBase($current->post_type)]['sections']??[];
+	$registrar = Registrar::getInstance($current->post_type));
+	$sections = [];
+	if ($registrar) {
+		$sections = $registrar->getSections();
+	}
+
 
 
 
@@ -114,7 +120,7 @@
     </header>
     <section>
         <details class="bio-info">
-            <summary class="row btw">
+            <summary class="row x-btw">
                 <h2>About <?= ($artist['name'] !== '') ? $artist['name'] : strtok($artist['display_name'], ' ')?></h2>
             </summary>
             <div class="columns stack-small">
@@ -236,7 +242,7 @@
     </header>
     <section>
         <details class="bio-info">
-            <summary class="row btw">
+            <summary class="row x-btw">
                 <h2>Learn More About <?=$current->name?></h2>
             </summary>
             <div class="map">
@@ -300,7 +306,7 @@
     }
 
     $meta = Meta::forTerm($current->ID);
-    $fields = JVB_TAXONOMY[$tax]['fields']??[];
+    $fields = $meta->getAll();
 
     ?>
     <header id="top">

--
Gitblit v1.10.0