Handling Dynamic Sections titles
This commit is contained in:
parent
cc87bcc259
commit
772c481cce
|
|
@ -156,9 +156,11 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
-----------------*/ ?>
|
||||
<section class="brochures-archives">
|
||||
<div class="section_titling section_titling--left">
|
||||
|
||||
<h2 class="section_titling__title"><?php echo __("Nos Brochures thématiques", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?></h2>
|
||||
<p class="section_titling__subtitle">Curabitur eleifend neque eu erat lacinia tincidunt</p>
|
||||
<?php
|
||||
$sectionBrochureDatas = get_field('section_brochure_datas', $current_page_id);
|
||||
?>
|
||||
<h2 class="section_titling__title"><?php echo $sectionBrochureDatas['title'] ?></h2>
|
||||
<p class="section_titling__subtitle"><?php echo $sectionBrochureDatas['subtitle'] ?></p>
|
||||
</div>
|
||||
|
||||
<!-- BROCHURES GRID -->
|
||||
|
|
@ -186,8 +188,11 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
------------------*/ ?>
|
||||
<section class="fiches-infos-archives">
|
||||
<div class="section_titling section_titling--left">
|
||||
<h2 class="section_titling__title"><?php echo __("Nos Fiches infos", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?></h2>
|
||||
<p class="section_titling__subtitle">Phasellus elit turpis, viverra id porta gravida</p>
|
||||
<?php
|
||||
$sectionFichesInfosDatas = get_field('section_fiches_infos_datas', $current_page_id);
|
||||
?>
|
||||
<h2 class="section_titling__title"><?php echo $sectionFichesInfosDatas['title'] ?></h2>
|
||||
<p class="section_titling__subtitle"><?php echo $sectionFichesInfosDatas['subtitle'] ?></p>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -211,8 +216,11 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
-----------------------*/ ?>
|
||||
<section class="videos-webinaires-archives">
|
||||
<div class="section_titling section_titling--left">
|
||||
<h2 class="section_titling__title"><?php echo __("Nos vidéos et webinaires", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?></h2>
|
||||
<p class="section_titling__subtitle">Phasellus elit turpis, viverra id porta gravida</p>
|
||||
<?php
|
||||
$sectionWebinairesDatas = get_field('section_webinaires_datas', $current_page_id);
|
||||
?>
|
||||
<h2 class="section_titling__title"><?php echo $sectionWebinairesDatas['title'] ?></h2>
|
||||
<p class="section_titling__subtitle"><?php echo $sectionWebinairesDatas['subtitle'] ?></p>
|
||||
</div>
|
||||
<?php
|
||||
$highlightedWebinaire = get_field('highlighted_webinaire', $current_page_id) ?? null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user