-
Notifications
You must be signed in to change notification settings - Fork 2
/
home.php
45 lines (39 loc) · 1.22 KB
/
home.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
42
43
44
45
<?php get_header(); ?>
<div class="row">
<div class="col-12">
<div class="row">
<main id="main" role="main" class="col-9">
<?php if ( !is_front_page() ) : ?>
<?php Kotetsu::the_bread_crumb(); ?>
<?php endif; ?>
<div class="entries">
<?php while ( have_posts() ) : the_post(); ?>
<article <?php post_class(); ?>>
<div class="entry-thumbnail">
<a href="<?php the_permalink(); ?>">
<div class="attachment-thumbnail-wrapper">
<?php if ( has_post_thumbnail() ) : ?>
<?php the_post_thumbnail( 'thumbnail' ); ?>
<?php else : ?>
No image
<?php endif; ?>
<!-- end .attachment-thumbnail-wrapper --></div>
</a>
<!-- end .entry-thumbnail --></div>
<div class="entry-body">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<div class="entry-summary">
<?php the_excerpt(); ?>
<!-- end .entry-summary --></div>
<?php Kotetsu::the_entry_meta(); ?>
<!-- end .entry-body --></div>
</article>
<?php endwhile; ?>
<!-- end .entries --></div>
<?php Kotetsu::pager(); ?>
<!-- end #main --></main>
<?php get_sidebar(); ?>
<!-- end .row --></div>
<!-- end col-12 --></div>
<!-- end .row --></div>
<?php get_footer(); ?>