-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-support.php
86 lines (58 loc) · 2.22 KB
/
template-support.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?php
/**
Template Name: Support
*/
get_header(); the_post(); ?>
<!-- / banner container \ -->
<section id="bannerCntr">
<!-- / inner box \ -->
<article class="innerbannerBox" style="background: url(<?php if(get_field('banner_image')): ?><?php the_field('banner_image'); ?><?php else: ?><?php the_field('banner_image',7); ?><?php endif; ?>) no-repeat top center / cover;">
<div class="mycontainer">
<div class="text">
<h2><?php the_title(); ?></h2>
</div>
</div>
</article>
<!-- \ banner box / -->
</section>
<!-- \ banner container / -->
<!-- / middle container \ -->
<section id="middleCntr">
<!-- / breadcrumb box \ -->
<article class="breadcrumbBox">
<div class="mycontainer">
<?php if(function_exists('bcn_display')){ bcn_display(); }?>
</div>
</article>
<!-- \ breadcrumb box / -->
<!-- BEGIN: support area -->
<article class="supportArea">
<div class="content">
<div class="mycontainer">
<?php the_content(); ?>
</div>
</div>
<div class="support">
<div class="mycontainer">
<h2><?php the_field('supporter_title'); ?></h2>
<?php the_field('supporter_description'); ?>
<a href="<?php the_field('donate_link', 'option'); ?>" target="_blank" class="donate">Donate</a>
</div>
</div>
</article>
<!-- END: support area -->
<!-- BEGIN: contactus area -->
<article class="contactusArea">
<div class="address">
<div class="mycontainer">
<ul>
<?php if( get_field('address', 'option') ): ?><li><a target="_blank" href="<?php the_field('address_link', 'option'); ?>"><i class="fa fa-map-marker"></i> <span><?php the_field('address', 'option'); ?></span></a></li><?php endif; ?>
<li><a href="mailto:<?php the_field('email_address', 'option'); ?>"><i class="fa fa-envelope"></i> <span><?php the_field('email_address', 'option'); ?></span></a></li>
<li><a href="<?php the_field('phone_number_1', 'option'); ?>"><i class="fa fa-phone"></i> <span><?php the_field('phone_number_1', 'option'); ?></span></a></li>
</ul>
</div>
</div>
</article>
</section>
<!-- \ middle container / -->
<?php get_footer(); ?>