diff --git a/components/Templates/Templates.php b/components/Templates/Templates.php index 1886b9d219..eb80bcdbf4 100644 --- a/components/Templates/Templates.php +++ b/components/Templates/Templates.php @@ -646,6 +646,7 @@ public static function template( $template_name, $code = null, $obj = null, $dep } } elseif ( $template_name == trim( preg_replace( '/[^a-zA-Z0-9_\-\/]/', '', $template_name ), ' /-' ) ) { $default_templates = array( + 'pods/templates/' . $template_name, 'pods/' . $template_name, 'pods-' . $template_name, $template_name,