From 2072b30918e7eea18a5556481f81d06d8cf71496 Mon Sep 17 00:00:00 2001 From: alexsomeoddpilot Date: Thu, 30 Oct 2014 09:47:00 -0500 Subject: [PATCH] Declaring properties on Roots_Wrapping --- lib/wrapper.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/wrapper.php b/lib/wrapper.php index c5bd4b1..1e033ec 100644 --- a/lib/wrapper.php +++ b/lib/wrapper.php @@ -15,7 +15,13 @@ function roots_sidebar_path() { class Roots_Wrapping { // Stores the full path to the main template file - static $main_template; + public static $main_template; + + // basename of template file + public $slug; + + // array of templates + public $templates; // Stores the base name of the template file; e.g. 'page' for 'page.php' etc. static $base;