fixing grandparent mispelling
This commit is contained in:
parent
a3653210a0
commit
7bf8a829ff
|
|
@ -14,7 +14,7 @@ $thematiqueColorSlug = $mainThematique->slug;
|
||||||
<?php
|
<?php
|
||||||
$currentPage = get_post();
|
$currentPage = get_post();
|
||||||
$parentPage = $currentPage->post_parent !== 0 ? get_post($currentPage->post_parent) : null;
|
$parentPage = $currentPage->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(
|
$args = array(
|
||||||
'posts_per_page' => -1,
|
'posts_per_page' => -1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user