REFACTOR The folder structure witch a post-type subfolder
This commit is contained in:
parent
ed7cb381b5
commit
f25803a972
18
template-parts/post-types/actualites/archive-header.php
Normal file
18
template-parts/post-types/actualites/archive-header.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
$block_content = '<!-- wp:front-header/front-header -->
|
||||
<section class="wp-block-front-header-front-header alignfull block-front-header"><div class="front-header__innerblocks"><!-- wp:carhop-blocks/heading -->
|
||||
<div class="wp-block-carhop-blocks-heading carhop-heading carhop-heading--hierarchy-classic"><div class="carhop-heading__innerblocks"><!-- wp:heading {"textAlign":"center","level":1,"style":{"elements":{"link":{"color":{"text":"var:preset|color|light"}}}},"textColor":"light"} -->
|
||||
<h1 class="wp-block-heading has-text-align-center has-light-color has-text-color has-link-color">historique</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|light"}}}},"textColor":"light"} -->
|
||||
<p class="has-text-align-center has-light-color has-text-color has-link-color">Des origines militantes à la mémoire collective</p>
|
||||
<!-- /wp:paragraph --></div></div>
|
||||
<!-- /wp:carhop-blocks/heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">L’équipe du CARHOP réunit des professionnel·le·s aux compétences variées – archivistique, recherche, animation, édition, informatique, administration – qui travaillent ensemble pour collecter, préserver et valoriser la mémoire ouvrière et sociale.</p>
|
||||
<!-- /wp:paragraph --></div></section>
|
||||
<!-- /wp:front-header/front-header -->';
|
||||
echo do_blocks($block_content);
|
||||
Loading…
Reference in New Issue
Block a user