-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcontent-contact.php
43 lines (28 loc) · 970 Bytes
/
content-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
<section class="module">
<div class="container">
<div class="row">
<?php
$shop_isle_contact_page_form_shortcode = get_theme_mod('shop_isle_contact_page_form_shortcode');
if(!empty($shop_isle_contact_page_form_shortcode)):
echo '<div class="col-sm-6 contact-page-form">';
echo do_shortcode($shop_isle_contact_page_form_shortcode);
echo '</div>';
endif;
echo '<div class="col-sm-6">';
the_content();
echo '</div>';
?>
</div><!-- .row -->
</div>
</section>
<!-- Contact end -->
<!-- Map start -->
<?php
$shop_isle_contact_page_map_shortcode = get_theme_mod('shop_isle_contact_page_map_shortcode');
if( !empty($shop_isle_contact_page_map_shortcode) ):
echo '<section id="map-section">';
echo '<div id="map">'.do_shortcode($shop_isle_contact_page_map_shortcode).'</div>';
echo '</section>';
endif;
?>
<!-- Map end -->