-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
32 lines (29 loc) · 1.35 KB
/
single.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
<?php include (TEMPLATEPATH . '/small_header.php'); /* Tells WordPress to include the smaller header header.php */ ?>
<div class="container-fluid postbg">
<div class="container">
<div class="row">
<section class="col-sm-7 maintext">
<h2 class="posttitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<article class="excerpts">
<!--we can reuse the css on the old article to restyle the new dynamic posts-->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<div class="postcontent">
<?php /*?><?php the_post_thumbnail(array(150,150), array ('class' => 'alignright')); ?><?php */?>
<?php the_content(); ?>
</div>
<!--postcomtet-->
</div>
<?php endwhile; ?>
<?php else: ?>
<div class="post">
<p>Sorry, no posts found.</p>
</div>
<!--post-->
<?php endif; ?>
</article>
</section>
</div>
</div>
</div>
<?php get_footer(); ?>