cleaning lineskips
This commit is contained in:
parent
8bad741204
commit
8fb3f3f593
|
|
@ -6,9 +6,6 @@
|
||||||
$currentThematique = get_the_terms(get_the_ID(), 'thematiques')[0];
|
$currentThematique = get_the_terms(get_the_ID(), 'thematiques')[0];
|
||||||
$mainThematique = getMainThematique($currentThematique);
|
$mainThematique = getMainThematique($currentThematique);
|
||||||
$thematiqueColorSlug = $mainThematique->slug;
|
$thematiqueColorSlug = $mainThematique->slug;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="homegrade-page-container template-empty-parent">
|
<div class="homegrade-page-container template-empty-parent">
|
||||||
|
|
@ -17,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 = $parentPage->post_parent ? get_post($parentPage->post_parent) : null;
|
$grandParentPage = $parentPag && $parentPage->post_parent ? get_post($parentPage->post_parent) : null;
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'posts_per_page' => -1,
|
'posts_per_page' => -1,
|
||||||
|
|
@ -28,9 +25,6 @@ $thematiqueColorSlug = $mainThematique->slug;
|
||||||
);
|
);
|
||||||
|
|
||||||
$childrenPages = get_children($args);
|
$childrenPages = get_children($args);
|
||||||
// echo '<pre>';
|
|
||||||
// print_r($childrens);
|
|
||||||
// echo '</pre>';
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
|
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
|
||||||
|
|
@ -56,9 +50,9 @@ $thematiqueColorSlug = $mainThematique->slug;
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
get_template_part("template-components/heading-box", null, array(
|
get_template_part("template-components/heading-box", null, array(
|
||||||
"pageIcon" => $pageIcon,
|
|
||||||
"title" => $currentPage->post_title,
|
"title" => $currentPage->post_title,
|
||||||
"description" => get_the_excerpt(),
|
"description" => get_the_excerpt(),
|
||||||
|
// "pageIcon" => $pageIcon,
|
||||||
"pageIcon" => get_field('page_icon', $currentPage->ID),
|
"pageIcon" => get_field('page_icon', $currentPage->ID),
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user