forked from VCUarts/VCUarts-bones
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
33 lines (23 loc) · 747 Bytes
/
index.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
/**
* Author: Cody Whitby
* URL: https://github.com/streeetlamp/bare-wp
*
* @package Bare_WP_Theme
*/
get_template_part( 'library/templates/the-header' );
if ( ! have_posts() ) :
get_template_part( 'library/templates/not-found' );
endif;
while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="article-header">
<h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
</header>
<section class="entry-content">
<?php the_content(); ?>
</section>
</article>
<?php endwhile; ?>
<?php bare_page_navi(); ?>
<?php get_template_part( 'library/templates/the-footer' );