forked from creativecommons/creativecommons-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
33 lines (33 loc) · 775 Bytes
/
archive.php
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
<?php get_header(); ?>
<section class="main-content">
<header class="page-header">
<div class="container">
<div class="columns is-centered">
<div class="column">
<h2><?php echo CC_Site::page_title(); ?></h2>
<?php
if ( function_exists( 'yoast_breadcrumb' ) ) {
yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
}
?>
</div>
</div>
</div>
</header>
<div class="container">
<div class="columns padding-vertical-larger">
<div class="column is-8">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
echo Components::simple_entry( get_the_ID(), true, true );
endwhile;
the_posts_pagination();
endif;
?>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>