forked from ahmadawais/Advanced-Gulp-WordPress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive.php
More file actions
43 lines (27 loc) · 797 Bytes
/
archive.php
File metadata and controls
43 lines (27 loc) · 797 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
39
40
41
42
43
<?php
/**
* The template for displaying archive pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Neat
*/
get_header(); ?>
<div class="aa_wrap">
<?php if ( have_posts() ) : ?>
<header class="aa_headerblock">
<h1 class="aa_h1"> <?php the_archive_title();?> </h1>
<div class="aa_dsc"> <?php the_archive_description(); ?> </div>
</header>
<!-- /.aa_headerblock -->
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'assets/views/content', get_post_format() ); ?>
<?php endwhile; ?>
<?php the_posts_navigation(); ?>
<?php else : ?>
<?php get_template_part( 'assets/views/content', 'none' ); ?>
<?php endif; ?>
</div>
<!-- /.aa_wrap -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>