-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate-contact.php
More file actions
38 lines (28 loc) · 999 Bytes
/
template-contact.php
File metadata and controls
38 lines (28 loc) · 999 Bytes
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
<?php
/**
* Template Name: Contact
*
* @since 0.1.0
* @package Mullins
*/
// Don't load directly
if ( ! defined( 'ABSPATH' ) ) {
die;
}
get_header();
the_post();
?>
<section id="page-<?php the_ID(); ?>" <?php body_class( array( 'page-content' ) ); ?>>
<div class="row">
<div class="medium-9 small-12 columns">
<?php echo do_shortcode( get_theme_mod( 'mullins_contact_shortcode', '[contact-form-7 id="31" title="Schedule a Service Call"]' ) ); ?>
</div>
<div class="medium-3 small-12 columns">
<?php echo get_theme_mod( 'mullins_address', '123 Some Street<br />Anytown, USA 45678' ); ?> <br />
<?php echo get_phone_number_link( get_theme_mod( 'mullins_phone_number', '(517) 867-5309' ) ); ?> <br />
<?php echo get_email_link( get_theme_mod( 'mullins_email_address', 'test@fake.com' ) ); ?>
</div>
</div>
</section>
<?php
get_footer();