-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-dark-left.php
54 lines (40 loc) · 1.79 KB
/
page-dark-left.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
46
47
48
49
50
51
52
53
54
<?php
/*
Template Name: Dark Left
*/
get_header(); ?>
<div id="dark_left" class="wrapper dk ani">
<div class="row">
<div class="large-8 columns">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>
</div>
<div class="large-4 columns sidebar">
<?php echo do_shortcode('[easy_sign_up title="Want Professional Help?" fnln="0" phone="0" esu_label="On iTunes Download Page" esu_class="'.get_the_title().'" esu_r_url="unscene.us/thanks"]') ?>
<h3>Changelog</h3>
<?php $specialPosts = new WP_Query();
$specialPosts->query('tag=itunes-podcast-creator&showposts=4'); ?>
<?php if ($specialPosts->have_posts()) : while($specialPosts->have_posts()) : $specialPosts->the_post(); ?>
<div class="large-6 columns">
<a href="<?php the_permalink(); ?>">
<?php if ( has_post_thumbnail() ) { ?>
<?php the_post_thumbnail('thumbnail'); ?>
<?php } else { ?>
<img src="http://placehold.it/150">
<?php } ?>
<div class="caption">
<div class="cat"><span><?php $category = get_the_category(); echo $category[0]->cat_name; ?></span></div>
<div class="date"><i class="fa fa-clock-o"></i> <?php the_time('j M , Y') ?>
</div>
<h2 class="title"><?php the_title(); ?></h2>
</div>
</a>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div> <!-- end colums -->
</div> <!-- end row -->
</div> <!-- end dark_centered -->
<?php get_footer(); ?>