-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
38 lines (28 loc) · 723 Bytes
/
index.php
File metadata and controls
38 lines (28 loc) · 723 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
<?php
get_header();
// The loop
if ( have_posts() ) : while ( have_posts() ) : the_post();
?>
<div class="row featurette">
<div class="col-md-7">
<!-- Display the Title as a link to the Post's permalink. -->
<h2 class="featurette-heading"><?php the_title(); ?></h2>
<?php
the_content();
?>
</div>
<?php if (has_post_thumbnail()) {
?><div class="col-md-5"><?php
echo the_post_thumbnail('large', array('class' => 'featurette-image img-responsive center-block'));
?></div>
<?php }?>
</div>
<hr class="featurette-divider">
<?php
endwhile;
else :
_e( 'Sorry, no posts matched your criteria.', 'textdomain' );
endif;
get_sidebar();
get_footer();
?>