Compare commits
3 Commits
8062b003c1
...
bc7b23cc1b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc7b23cc1b | ||
|
|
81aff259e9 | ||
|
|
be7887da94 |
|
|
@ -49,14 +49,7 @@ echo do_blocks($block_content);
|
||||||
|
|
||||||
|
|
||||||
<!-- #### INFOLETTRE #### -->
|
<!-- #### INFOLETTRE #### -->
|
||||||
<?php
|
<?php get_template_part('template-parts/components/subscribe-infolettre'); ?>
|
||||||
$block_content = '<!-- wp:carhop-blocks/subscribe-infolettre {"title":"Restez connectés à l’histoire sociale","className":"wp-block-carhop-blocks-subscribe-infolettre subscribe-infolettre"} -->
|
|
||||||
<!-- wp:paragraph {"placeholder":"Description","className":"subscribe-infolettre__description"} -->
|
|
||||||
<p class="subscribe-infolettre__description">Recevez les dernières actualités du CARHOP directement dans votre boîte mail. Abonnez-vous et surveillez votre boîte : un mail de confirmation vous attend !</p>
|
|
||||||
<!-- /wp:paragraph -->
|
|
||||||
<!-- /wp:carhop-blocks/subscribe-infolettre -->';
|
|
||||||
echo do_blocks($block_content);
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
||||||
|
|
@ -47,8 +47,8 @@ $articles = get_field('articles', $current_issue->ID);
|
||||||
|
|
||||||
<div class="content-area">
|
<div class="content-area">
|
||||||
|
|
||||||
|
<?php if (has_excerpt()) : ?>
|
||||||
<details class="edito" open="true">
|
<details class="edito">
|
||||||
<summary>
|
<summary>
|
||||||
<h2 class="edito__title">
|
<h2 class="edito__title">
|
||||||
Edito
|
Edito
|
||||||
|
|
@ -67,7 +67,7 @@ $articles = get_field('articles', $current_issue->ID);
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
|
<?php endif; ?>
|
||||||
<?php get_template_part('template-parts/revues/revue-authors', null, array(
|
<?php get_template_part('template-parts/revues/revue-authors', null, array(
|
||||||
'postId' => get_the_ID()
|
'postId' => get_the_ID()
|
||||||
)); ?>
|
)); ?>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$block_content = '<!-- wp:carhop-blocks/subscribe-infolettre {"title":"Restez connectés à l’histoire sociale","className":"wp-block-carhop-blocks-subscribe-infolettre subscribe-infolettre"} -->
|
$block_content = '<!-- wp:carhop-blocks/subscribe-infolettre {"title":"Restez connectés à l’histoire sociale","className":"wp-block-carhop-blocks-subscribe-infolettre subscribe-infolettre"} -->
|
||||||
<!-- wp:paragraph {"placeholder":"Description","className":"subscribe-infolettre__description"} -->
|
<!-- wp:paragraph {"placeholder":"Description","className":"subscribe-infolettre__description"} -->
|
||||||
<p class="subscribe-infolettre__description">Recevez les dernières actualités du CARHOP directement dans votre boîte mail. Abonnez-vous et surveillez votre boîte : un mail de confirmation vous attend !</p>
|
<p class="subscribe-infolettre__description">Recevez les dernières actualités du CARHOP et la revue Dynamiques directement dans votre boîte mail. Abonnez-vous et surveillez votre boîte : un mail de confirmation vous attend ! </p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
<!-- /wp:carhop-blocks/subscribe-infolettre -->';
|
<!-- /wp:carhop-blocks/subscribe-infolettre -->';
|
||||||
echo do_blocks($block_content);
|
echo do_blocks($block_content);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user