From 1e981179fc999d873000683b869aef01284827af Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 10 Feb 2026 20:25:11 +0000
Subject: [PATCH] =jakevan latest
---
content/_setup.php | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/content/setup.php b/content/_setup.php
similarity index 91%
rename from content/setup.php
rename to content/_setup.php
index 069e0d3..04aafb0 100644
--- a/content/setup.php
+++ b/content/_setup.php
@@ -46,4 +46,12 @@
'writing' => ajv_writing(),
'support' => ajv_support(),
];
+}
+
+add_filter('wp_footer', 'ajv_gallery_output');
+function ajv_gallery_output():void
+{
+ if (is_singular(array_map(function($item) { return BASE.$item; }, array_keys(JVB_CONTENT)))) {
+ jvbRenderGallery();
+ }
}
\ No newline at end of file
--
Gitblit v1.10.0