-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtemplate-contact.php
45 lines (38 loc) · 1.73 KB
/
template-contact.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
<?php
/*
Template Name: Contact Template
*/
get_header(); ?>
<!-- Main Container -->
<div class="container-fluid-kamn">
<div class="row">
<div>
<iframe width="100%" height="450px" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="<?php echo $office_master['map_url']; ?>"></iframe>
<br />
</div>
<div class="col-lg-4 col-lg-offset-1">
<h4><?php echo $office_master['contact_text_heading']; ?></h4>
<?php echo $office_master['contact_txt']; ?>
<p class="lead"><?php echo $office_master['social_heading']; ?></p>
<hr>
<?php
if( is_array($office_master['contact_social_links']) ){
foreach($office_master['contact_social_links'] as $value){ ?>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<a href="<?php echo $value['url'] ?>"><img src="<?php echo $value['image'] ?>" alt="Skype"></a>
<?php echo $value['title'] ?>
</div>
<?php }}
?>
<br>
</div>
<div class="col-lg-5">
<div class="feedback-form">
<div id="contact-response"></div>
<?php echo do_shortcode('[contact-form-7 id="307" title="Contact form 1"]');?>
</div>
</div>
</div>
</div>
<!--End Main Container -->
<?php get_footer(); ?>