-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive.php
More file actions
38 lines (33 loc) · 773 Bytes
/
Copy patharchive.php
File metadata and controls
38 lines (33 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* Template for displaying archive pages.
* Post type: post, custom post types
*
* @since 0.1.0
*/
// Exits if accessed directly.
if ( ! defined('ABSPATH')) {
exit;
}
get_header();
?>
<main id="content" class="content <?php
echo esc_attr(
apply_filters(
'bitski-wp-theme/class/container',
['container-xl'],
true
)
); ?> pt-4 pb-5">
<!-- Content header -->
<header class="content-header mb-4">
<h1 class="archive-title"><?php
the_archive_title(); ?></h1>
<p class="archive-description"><?php
the_archive_description(); ?></p>
</header>
<?php
get_template_part('templates/pages/archive/loop'); ?>
</main>
<?php
get_footer(); ?>