From 7bf8a829ff68a816594e95b7ce28bd82c743e096 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 24 Jan 2024 15:34:20 +0100 Subject: [PATCH] fixing grandparent mispelling --- template-empty-parent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,