renaming before deleting
This commit is contained in:
parent
88683ab8d6
commit
79ad9f8091
46
_____archive-brochures.php
Normal file
46
_____archive-brochures.php
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
<?php
|
||||||
|
get_header();
|
||||||
|
?>
|
||||||
|
|
||||||
|
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
||||||
|
<ol>
|
||||||
|
<li><a href="<?php echo home_url() ?>">Home</a></li>
|
||||||
|
<li><a href="<?php echo get_post_type_archive_link('brochures') ?>" aria-current='location'>Publications</a></li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<section class="archives-brochures-header">
|
||||||
|
|
||||||
|
<h1>
|
||||||
|
<?php echo __("Nos publications", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?>
|
||||||
|
</h1>
|
||||||
|
<p>
|
||||||
|
<?php echo __("Découvrez toutes nos publications et outils en ligne", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="brochures-grid">
|
||||||
|
|
||||||
|
<?php if (have_posts()) : ?>
|
||||||
|
<?php
|
||||||
|
while (have_posts()) :
|
||||||
|
the_post();
|
||||||
|
$brochure_file = get_field('brochure_pdf', get_the_ID());
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php if ($brochure_file) : ?>
|
||||||
|
<article>
|
||||||
|
<p><?php echo $brochure_file['title'] ?></p>
|
||||||
|
</article>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php endwhile; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<?php
|
||||||
|
get_footer();
|
||||||
Loading…
Reference in New Issue
Block a user