From 1aa7c404dae63c9518468fe9b579fad819f8d871 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 13 Sep 2026 18:32:43 +0000
Subject: [PATCH] =Single Event page setup done through the new Event block. Currently working on the Simple Calendar block setup
---
jvb.php | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/jvb.php b/jvb.php
index 1c7c522..078d964 100644
--- a/jvb.php
+++ b/jvb.php
@@ -15,6 +15,7 @@
use JVBase\admin\SEOAdmin;
use JVBase\base\SchemaHelper;
use JVBase\blocks\CustomBlocks;
+use JVBase\inc\rest\routes\OpenStreetMaps;
use JVBase\JVB;
use JVBase\managers\AdminPages;
use JVBase\managers\Approvals;
@@ -117,7 +118,7 @@
//const JVB_TESTING = false;
//if (!JVB_TESTING) {
-// add_filter('show_admin_bar', '__return_false');
+ add_filter('show_admin_bar', '__return_false');
//}
@@ -247,7 +248,7 @@
/**
* Utilities
*/
-//require(JVB_DIR . '/cleanup.php');
+require(JVB_DIR . '/cleanup.php');
require(JVB_DIR . '/inc/admin/_setup.php');
require(JVB_DIR . '/JVBase.php');
@@ -441,6 +442,8 @@
{
NewsRoutes::getInstance();
}
+
+ OpenStreetMaps::getInstance();
}
@@ -554,16 +557,10 @@
);
}
-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
{
return Registrar::maybeExcludeSingles($IDs);
}
+
--
Gitblit v1.10.0