From 5a410d70271a347d5fc143cf89624c67f81e8bd0 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 15 Jan 2016 15:25:50 -0500 Subject: [PATCH] View file location within theme option If the theme has a folder called glm-employment then it will use the theme files for the from from there. --- controllers/front.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/front.php b/controllers/front.php index 43d022b..db843e6 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -71,6 +71,9 @@ class glm_employment_front */ public function setThemeSettings() { + if ( is_dir( get_template_directory() . '/glm-employment' ) ) { + $this->frontViewDir = get_template_directory() . '/glm-employment'; + } if ( file_exists( get_template_directory() . '/glm-emp-config/application.ini' ) ) { $theme_settings = parse_ini_file( get_template_directory() . '/glm-emp-config/application.ini', -- 2.17.1