-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcontact.php
60 lines (44 loc) · 1.58 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* Template Name: Contact Page
*/
the_post();
get_header();
?>
<!-- s-content
================================================== -->
<section class="s-content s-content--narrow s-content--no-padding-bottom">
<article class="row format-standard">
<div class="s-content__header col-full">
<h1 class="s-content__header-title">
<?php the_title() ?>
</h1>
</div> <!-- end s-content__header -->
<div class="s-content__media col-full">
<?php
if ( is_active_sidebar( "contact-maps" ) ) {
dynamic_sidebar( "contact-maps" );
}
?>
</div> <!-- end s-content__media -->
<div class="col-full s-content__main">
<?php the_content(); ?>
<div class="row block-1-2 block-tab-full">
<?php
if ( is_active_sidebar( "contact-info" ) ) {
dynamic_sidebar( "contact-info" );
}
?>
</div>
<h3><?php _e( "Say Hello", "philosophy" ); ?></h3>
<div>
<?php
if ( get_field( "contact_form_shortcode" ) ) {
echo do_shortcode( get_field( "contact_form_shortcode" ) );
}
?>
</div>
</div> <!-- end s-content__main -->
</article>
</section> <!-- s-content -->
<?php get_footer(); ?>