From b1e6d6bbadb5a36c0f08c1415075a53ab9d0dd39 Mon Sep 17 00:00:00 2001 From: skycel Date: Wed, 5 Feb 2025 02:07:55 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20-=20Chargement=20du=20TemplateLoade?= =?UTF-8?q?r=20en=20priorit=C3=A9=20dans=20CustomThemeTree.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CustomThemeTree.php | 4 ++++ includes/functions.inc.php | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CustomThemeTree.php b/CustomThemeTree.php index 72204eb..cb6e03d 100644 --- a/CustomThemeTree.php +++ b/CustomThemeTree.php @@ -5,6 +5,10 @@ namespace Skycel\CustomTree; use WP_Theme; use Error; + +// Load Template Loader first +require_once __DIR__ . '/TemplateLoader.php'; + /** * Class for managing custom theme directory structures and settings. * Provides functionality for initializing themes, creating custom directories, diff --git a/includes/functions.inc.php b/includes/functions.inc.php index 0cd943d..c6809bc 100644 --- a/includes/functions.inc.php +++ b/includes/functions.inc.php @@ -1,6 +1,5 @@