handling big red button
This commit is contained in:
parent
df4d309cb2
commit
4a48559add
|
|
@ -88,10 +88,17 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
||||||
HEADING BOX
|
HEADING BOX
|
||||||
-----------------*/ ?>
|
-----------------*/ ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$receivePrintedPublicationsDatas = get_field('section_share_publications', $current_page_id) ?? null;
|
||||||
get_template_part("template-components/heading-box", null, array(
|
get_template_part("template-components/heading-box", null, array(
|
||||||
"pageIcon" => $pageIcon,
|
"pageIcon" => $pageIcon,
|
||||||
"title" => get_the_title(get_queried_object_id()),
|
"title" => get_the_title(get_queried_object_id()),
|
||||||
"description" => __("Découvrez toutes nos publications et outils en ligne", "homegrade-theme__texte-fonctionnel"),
|
"description" => __("Découvrez toutes nos publications et outils en ligne", "homegrade-theme__texte-fonctionnel"),
|
||||||
|
"ctaSecondary" => array(
|
||||||
|
"title" => $receivePrintedPublicationsDatas['cta_title'] ?? null,
|
||||||
|
"url" => $receivePrintedPublicationsDatas['cta_document']['url'] ?? null,
|
||||||
|
"target" => "_blank",
|
||||||
|
),
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -191,7 +198,6 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
||||||
HIGHLIGHTED BROCHURE
|
HIGHLIGHTED BROCHURE
|
||||||
-----------------------*/ ?>
|
-----------------------*/ ?>
|
||||||
<div id="highlighted-document" class="highlighted-publication">
|
<div id="highlighted-document" class="highlighted-publication">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$highlightedDocumentDatas = get_field('highlighted_document', $current_page_id) ?? null;
|
$highlightedDocumentDatas = get_field('highlighted_document', $current_page_id) ?? null;
|
||||||
$documentThumbnail = get_field('brochure_cover_image', $highlightedDocumentDatas['document']['ID']);
|
$documentThumbnail = get_field('brochure_cover_image', $highlightedDocumentDatas['document']['ID']);
|
||||||
|
|
@ -276,8 +282,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="highlighted-publication__comment"><?php echo $sharePublications['text_content'] ?></div>
|
<div class="highlighted-publication__comment"><?php echo $sharePublications['text_content'] ?></div>
|
||||||
<a class="cta cta--secondary cta--button" href="" target="_blank"><?php echo __("Remplir le formulaire", "homegrade-theme__texte-fonctionnel__archive-publications") ?></a>
|
@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<img class="highlighted-share-publication__cover" src="<?php echo get_template_directory_uri() . '/resources/img/illustrations/homegrade_brochure-impression-domicile.svg' ?>" />
|
<img class="highlighted-share-publication__cover" src="<?php echo get_template_directory_uri() . '/resources/img/illustrations/homegrade_brochure-impression-domicile.svg' ?>" />
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user