From c19264ac916707096fe294d996a1b7fb85206b34 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 08 Mar 2026 19:55:31 +0000
Subject: [PATCH] =Furthering along the complete refactor. Added some basic setup for is_content taxonomies, including a page for an archive of the terms.
---
jvb.php | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/jvb.php b/jvb.php
index 21bc092..6bbe5ef 100644
--- a/jvb.php
+++ b/jvb.php
@@ -82,9 +82,13 @@
{
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 {
--
Gitblit v1.10.0