-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.php
54 lines (31 loc) · 1023 Bytes
/
about.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
<?php /* Template Name: About */ ?>
<?php get_header(); ?>
<section class="intro">
<?php while (have_posts()) : the_post(); ?>
<blockquote class="mission-statement"><?php echo $post->post_content; ?></blockquote>
<?php endwhile; ?>
</section>
<section class="about-section">
<div class="container clearfix">
<?php get_template_part('content', 'what'); ?>
</div>
</section>
<section class="about-section inverted">
<div class="container">
<h1>The Team</h1>
<?php query_posts(array('category_name' => 'team')); ?>
<?php if ( have_posts() ) : ?>
<?php get_template_part( 'content', 'team' ); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</div>
</section>
<?php wp_reset_query(); ?>
<section class="about-section">
<div class="container clearfix">
<h1>Common Inquiries</h1>
<?php get_template_part('content', 'faq'); ?>
</div>
</section>
<?php get_footer(); ?>