-
Notifications
You must be signed in to change notification settings - Fork 1
/
page-contact.php
executable file
·44 lines (38 loc) · 894 Bytes
/
page-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
<?php
get_header();
?>
<main id="main-content">
<?php
if( have_posts() ) {
while( have_posts() ) {
the_post();
?>
<article id="page" <?php post_class('container'); ?>>
<div class="grid-row margin-bottom-basic">
<?php render_divider(get_the_title()); ?>
</div>
<div class="grid-row">
<div class="grid-item item-s-12 item-m-8 offset-m-2 margin-bottom-basic">
<div class="post-copy">
<?php the_content(); ?>
</div>
</div>
</div>
<?php get_template_part('partials/connect'); ?>
<?php get_template_part('partials/related-posts'); ?>
</article>
<?php
}
} else {
?>
<section id="page" class="container">
<div class="grid-row">
<article class="u-alert grid-item item-s-12"><?php _e('Sorry, no pages matched your criteria'); ?></article>
</div>
</section>
<?php
} ?>
</main>
<?php
get_footer();
?>