REMOVE Delete the archive template for the dbmod post type
This commit is contained in:
parent
47cb2ad272
commit
596f442b66
|
|
@ -1,42 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* The template for displaying archive pages for the dbmod post type
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h1 class="archive-title"><?php echo post_type_archive_title('', false); ?></h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<?php if (have_posts()) : ?>
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<div class="col-md-4 mb-4">
|
||||
<?php get_template_part('template-parts/content', 'dbmod'); ?>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="col-12">
|
||||
<?php
|
||||
the_posts_pagination(array(
|
||||
'mid_size' => 2,
|
||||
'prev_text' => __('Précédent', 'carhop'),
|
||||
'next_text' => __('Suivant', 'carhop'),
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
<div class="col-12">
|
||||
<?php get_template_part('template-parts/content', 'none'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Loading…
Reference in New Issue
Block a user