-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-join-damn-plus.php
More file actions
41 lines (31 loc) · 942 Bytes
/
page-join-damn-plus.php
File metadata and controls
41 lines (31 loc) · 942 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
39
40
41
<?php
/*
Template Name: Join DAMN Plus
*/
?>
<?php while (have_posts()) : the_post(); ?>
<?php if ( has_post_thumbnail()) { ?>
<div class="page-featured-image color-box">
<?php the_post_thumbnail('large'); ?>
</div>
<?php } ?>
<div class="row join-damn-plus-info">
<div class="col-xs-12 col-sm-3 col-md-4 magazine-cover">
<?php get_template_part('templates/snippet-latest-cover'); ?>
</div>
<div class="col-xs-12 col-sm-9 col-md-8 join-damn-plus-form">
<article <?php post_class(''); ?>>
<div class="entry-content">
<?php the_content(); ?>
<?php if(get_field('profile_shortcode')) { ?>
<div class="panel panel-default">
<div class="panel-body">
<?php the_field('profile_shortcode'); ?>
</div>
</div>
<?php } ?>
</div>
</article>
</div>
</div>
<?php endwhile; ?>