1
|
1 |
<?php get_header(); ?> |
|
2 |
|
|
3 |
<?php get_sidebar(); ?> |
|
4 |
|
|
5 |
<div id="content"> |
|
6 |
<?php if (have_posts()) : while (have_posts()) : the_post(); |
|
7 |
setup_postdata($post); |
|
8 |
//Fetch the Custom Metas for this post |
|
9 |
$get_thumbnail = get_post_meta($post->ID, "other_media", true);; |
|
10 |
$get_post_video = get_post_meta($post->ID, "main_video", true); |
|
11 |
?> |
|
12 |
<div class="post"> |
|
13 |
<div class="container-header-light-normal"><span></span></div> |
|
14 |
<div class="copy clearfix"> |
|
15 |
<?php the_content(); ?> |
|
16 |
</div> |
|
17 |
<div class="container-footer-light-normal"><span></span></div> |
|
18 |
</div> |
|
19 |
<?php comments_template(); ?> |
|
20 |
|
|
21 |
<?php endwhile; else: ?> |
|
22 |
<div class="post"> |
|
23 |
<h4 class="date">This just happened.</h4> |
|
24 |
<h2 class="title"><a href="#">Everyone needs to slow down</a></h2> |
|
25 |
<div class="container-header-light-normal"><span></span></div> |
|
26 |
<div class="copy clearfix">There are no posts which match your criterea.</div> |
|
27 |
<div class="container-footer-light-normal"><span></span></div> |
|
28 |
</div> |
|
29 |
<?php endif; ?> |
|
30 |
</div> |
|
31 |
|
|
32 |
<?php get_footer(); ?> |