From 32ce5c542c90be348895328078e392dde2052957 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 04 Sep 2026 19:15:16 +0000
Subject: [PATCH] =Working at adding defined fields to a dedicated panel in the gutenberg editor. Registrar now has AddCustomFields.php, which currently only supports post fields. Added a @wordpress/plugins base _meta/fields in /build and /src that successfully creates a panel. Next steps: determine sections and fields, group fields by section (each section to a panel), and save output
---
jvb.php | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/jvb.php b/jvb.php
index 1c7c522..cd08de1 100644
--- a/jvb.php
+++ b/jvb.php
@@ -117,7 +117,7 @@
//const JVB_TESTING = false;
//if (!JVB_TESTING) {
-// add_filter('show_admin_bar', '__return_false');
+ add_filter('show_admin_bar', '__return_false');
//}
@@ -247,7 +247,7 @@
/**
* Utilities
*/
-//require(JVB_DIR . '/cleanup.php');
+require(JVB_DIR . '/cleanup.php');
require(JVB_DIR . '/inc/admin/_setup.php');
require(JVB_DIR . '/JVBase.php');
@@ -554,13 +554,6 @@
);
}
-add_action( 'doing_it_wrong_run', function ( $function_name ) {
- if ( '_load_textdomain_just_in_time' === $function_name ) {
- // This will print the full execution path to your screen or log
- debug_print_backtrace();
- }
-} );
-
add_filter('the_seo_framework_sitemap_exclude_ids', 'jvb_maybe_exclude_singles', 8, 1);
function jvb_maybe_exclude_singles(array $IDs):array
--
Gitblit v1.10.0