forked from Codeinwp/llorix-one-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-contact.php
51 lines (40 loc) · 1.36 KB
/
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
44
45
46
47
48
49
50
51
<?php
/**
* @package llorix-one-lite
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('contact-page'); ?>>
<div class="container">
<header class="entry-header">
<?php the_title( '<h1 class="entry-title single-title">', '</h1>' ); ?>
<div class="colored-line-left"></div>
<div class="clearfix"></div>
</header><!-- .entry-header -->
<div class="entry-content content-page llorix_one_lite_contact_form">
<?php
$llorix_one_lite_contact_form_shortcode = get_theme_mod('llorix_one_lite_contact_form_shortcode');
?>
<div class="col-md-6">
<?php the_content(); ?>
</div>
<?php
if(!empty($llorix_one_lite_contact_form_shortcode)) {
echo '<div class="col-md-6">';
echo do_shortcode( $llorix_one_lite_contact_form_shortcode);
echo '</div>';
}
?>
<footer class="entry-footer">
<?php edit_post_link( esc_html__( 'Edit', 'llorix-one-lite' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .fentry-footer -->
</div><!-- .entry-content -->
</div>
<?php
$llorix_one_lite_contact_map_shortcode = get_theme_mod('llorix_one_lite_contact_map_shortcode');
if(!empty($llorix_one_lite_contact_map_shortcode)) {
echo '<div class="contact-page-map-wrap">';
echo do_shortcode( $llorix_one_lite_contact_map_shortcode);
echo '</div>';
}
?>
</article><!-- #post-## -->