removing unecesary file
This commit is contained in:
parent
2d9a3cc0cd
commit
d844782924
|
|
@ -1,49 +0,0 @@
|
|||
<?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());
|
||||
echo '<pre>';
|
||||
print_r($file);
|
||||
echo '</pre>';
|
||||
|
||||
?>
|
||||
|
||||
<?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