From c4aa5cdb5e90ad4b420e22772797d16980232a2b Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 15 Apr 2026 18:38:55 +0000
Subject: [PATCH] =Updating custom tables to utilize CustomTable.php
---
jvb.php | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/jvb.php b/jvb.php
index 21bc092..3f2b76e 100644
--- a/jvb.php
+++ b/jvb.php
@@ -11,6 +11,7 @@
use JVBase\JVB;
use JVBase\managers\IconsManager;
+use JVBase\meta\Meta;
use JVBase\registrar\Registrar;
use JVBase\utility\Features;
@@ -76,15 +77,17 @@
}, 10, 3);
-const JVB_LOCAL = 'northeh.test';
-
function jvbIgnoredPostTypes():array
{
return [BASE.'directory', BASE.'dash', 'attachment', 'revision', 'nav_menu_item'];
}
-add_filter('show_admin_bar', '__return_false');
+
define('JVB_TESTING', str_contains(get_home_url(),'.test'));
+
+if (JVB_TESTING) {
+ add_filter('show_admin_bar', '__return_false');
+}
//if (JVB_TESTING) {
// error_log('In testing mode...');
//} else {
@@ -242,6 +245,8 @@
+
+
require(JVB_DIR . '/inc/blocks/_setup.php');
@@ -393,6 +398,10 @@
wp_enqueue_script('jvb-page-nav');
}
+ if (has_block('jvb/summaryBlock')) {
+ wp_enqueue_script('jvb-page-nav');
+ }
+
// Only load on single shop pages or other relevant pages
if (is_tax(BASE.'shop') ||
is_singular(BASE.'partner')) {
@@ -503,6 +512,7 @@
//add_action('wp_head', 'jvbDumpIt');
function jvbDumpIt()
{
+
}
add_action('after_setup_theme', 'jvbImageSize');
--
Gitblit v1.10.0