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
|
||||
-----------------*/ ?>
|
||||
<?php
|
||||
|
||||
$receivePrintedPublicationsDatas = get_field('section_share_publications', $current_page_id) ?? null;
|
||||
get_template_part("template-components/heading-box", null, array(
|
||||
"pageIcon" => $pageIcon,
|
||||
"title" => get_the_title(get_queried_object_id()),
|
||||
"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
|
||||
-----------------------*/ ?>
|
||||
<div id="highlighted-document" class="highlighted-publication">
|
||||
|
||||
<?php
|
||||
$highlightedDocumentDatas = get_field('highlighted_document', $current_page_id) ?? null;
|
||||
$documentThumbnail = get_field('brochure_cover_image', $highlightedDocumentDatas['document']['ID']);
|
||||
|
|
@ -276,8 +282,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
</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>
|
||||
<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