From: Steve Sutton Date: Fri, 15 Jan 2016 20:25:50 +0000 (-0500) Subject: View file location within theme option X-Git-Tag: v2.0.0^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=5a410d70271a347d5fc143cf89624c67f81e8bd0;p=WP-Plugins%2Fglm-employment.git 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. --- 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',