-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontactus.php
66 lines (50 loc) · 1.57 KB
/
contactus.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
<?php /* Template Name: Contact-Us */ ?>
<?php get_header(); ?>
<div class="full-width text-center featured-image-banner" style="background-image: url('<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID)) ?>')">
<h1 class="blog-post-title"><?php the_title(); ?></h1>
</div>
<?php if ( is_active_sidebar( 'full-width-above-content' ) ) : ?>
<div id="page-full-width">
<div class="container">
<?php dynamic_sidebar( 'full-width-above-content' ); ?>
</div>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'row-box' ) ) : ?>
<div id="row-boxes">
<div class="container">
<?php dynamic_sidebar( 'row-box' ); ?>
</div>
</div>
<?php endif; ?>
<div class="container main-content">
<div class="row">
<div class="col-sm-12 blog-main contact-main">
<?php
if ( have_posts() ) {
while ( have_posts() ) : the_post();
?>
<div class="contact-page">
<?php the_content(); ?>
</div>
<?php
endwhile;
}
?>
</div><!-- /.blog-main -->
<?php if ( is_active_sidebar( 'contact-sidebar' ) ) { dynamic_sidebar( 'contact-sidebar' ); } ?>
</div><!-- /.row -->
</div><!-- /.container -->
<div class="full-width text-center contact-banner">
<?php if ( is_active_sidebar( 'contact-map-code' ) ) : ?>
<?php dynamic_sidebar( 'contact-map-code' ); ?>
<?php endif; ?>
</div>
<?php if ( is_active_sidebar( 'below-content-full-width' ) ) : ?>
<div id="below-content-full-width">
<div class="full-width container">
<?php dynamic_sidebar( 'below-content-full-width' ); ?>
</div>
</div>
<?php endif; ?>
<?php get_footer(); ?>