-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfront-page.php
41 lines (36 loc) · 1.53 KB
/
front-page.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
34
35
36
37
38
39
40
41
<?php get_header(); ?>
<div class="container">
<div class="row">
<div class="col-lg-12">
<?php include(get_stylesheet_directory() . '/inc/carousel.php'); ?>
</div>
</div>
<div class="row">
<div id="main" class="col-lg-9">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> itemscope itemtype="http://schema.org/BlogPosting">
<header class="article-header post-header">
<?php blankout_rich_snippets(); ?>
<h1 class="entry-title page-title" itemprop="headline"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<small class="byline vcard"><?php _e("Posted", 'blankout'); ?>
<time class="updated" datetime="<?php the_time('Y-m-d'); ?>"><?php the_time(get_option('date_format', 'l, F j, Y')); ?></time> <?php _e("by", 'blankout'); ?>
<span class="author"><?php the_author_posts_link(); ?></span> <span class="amp">&</span> <?php _e("filed under", 'blankout'); ?> <?php the_category(', '); ?>.
</small>
</header>
<section class="entry-content clearfix" itemprop="articleBody">
<?php the_content(); ?>
</section>
<footer class="article-footer">
<?php if (function_exists('mapi_edit_link')) {
echo mapi_edit_link();
} ?>
</footer>
</article>
<?php endwhile; ?>
<?php blankout_page_nav(); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>