diff --git a/template-empty-parent.php b/template-empty-parent.php new file mode 100644 index 0000000..5eae1e2 --- /dev/null +++ b/template-empty-parent.php @@ -0,0 +1,82 @@ + + + + +slug; + + + +?> + +
'; + // print_r($childrens); + // echo ''; + + ?> + + + $pageIcon, + "title" => $currentPage->post_title, + "description" => the_excerpt(), + "coverIllustration" => get_field('page_illustration', $currentPage->ID), + )); + ?> + + $subPage->post_title, + "excerpt" => get_the_excerpt($subPage->ID), + "permalink" => get_the_permalink($subPage->ID), + "coverIllustration" => get_field($subPage->ID), + )); + ?> + + + + + + + + +