diff --git a/template-empty-parent.php b/template-empty-parent.php index eb3e748..6023b9e 100644 --- a/template-empty-parent.php +++ b/template-empty-parent.php @@ -14,7 +14,7 @@ $thematiqueColorSlug = $mainThematique->slug; post_parent !== 0 ? get_post($currentPage->post_parent) : null; - $grandParentPage = $parentPag && $parentPage->post_parent ? get_post($parentPage->post_parent) : null; + $grandParentPage = $parentPage && $parentPage->post_parent ? get_post($parentPage->post_parent) : null; $args = array( 'posts_per_page' => -1,