diff --git a/src/Theme/Theme.php b/src/Theme/Theme.php index 9f1931a..2fadb0b 100644 --- a/src/Theme/Theme.php +++ b/src/Theme/Theme.php @@ -140,10 +140,10 @@ public function partial( $partial, $child = '', $context = [] ) { $templates = []; if ( $child ) { - $templates[] = "view-partials/${partial}-${child}.php"; + $templates[] = "views/partials/${partial}-${child}.php"; } - $templates[] = "view-partials/${partial}.php"; + $templates[] = "views/partials/${partial}.php"; \WPEmerge\render( $templates, $context ); }