-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive-team.php
102 lines (87 loc) · 3.99 KB
/
archive-team.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php get_header(); ?>
<div class="headerpg" ></div>
</div>
<div class="content" id="intro">
<div class="row text-center wp2">
<h1>Who we Are</h1>
<p class="headline">We are a team of cartographers, coders, forest monitors, GIS experts, gender specialists and econometric modelers. Our team spans three continents and works to build simple yet robust technology, train local organizations,<br> and expand our partnerships. </p>
<p>Navigate to: <a href="#team">Team</a> | <a href="#board">Board</a> | <a href="#advisory">Advisory Group</a></p>
</div>
<div class="divider"></div>
<div class="row">
<h2 class="text-center" id="team">Washington DC team</h2>
<div class="large-12 columns">
<?php query_posts('post_type=team&category_name=washington-dc'); while ( have_posts() ) : the_post(); ?>
<div class="divider"></div>
<div class="row grey collapse">
<div class="large-6 columns" style="padding: 60px">
<h2><?php the_title(); ?></h2>
<p><span><?php the_field('company_role'); ?></span></p>
<p><?php the_field('bio_excerpt'); ?></p>
<p><a href="<?php echo get_permalink(); ?>">Read More</a></p>
</div>
<div class="large-6 columns text-center " style="background: url('<?php the_field('headshot'); ?>');height: 400px;background-size:cover">
</div>
</div>
<?php endwhile; // end of the loop. ?>
</div>
</div>
<div class="divider"></div>
<div class="row">
<h2 class="text-center">DRC team</h2>
<div class="large-12 columns">
<?php query_posts('post_type=team&category_name=drc-team'); while ( have_posts() ) : the_post(); ?>
<div class="divider"></div>
<div class="row grey collapse">
<div class="large-6 columns" style="padding: 60px">
<h2><?php the_title(); ?></h2>
<p><span><?php the_field('company_role'); ?></span></p>
<p><?php the_field('bio_excerpt'); ?></p>
<p><a href="<?php echo get_permalink(); ?>">Read More</a></p>
</div>
<div class="large-6 columns text-center " style="background: url('<?php the_field('headshot'); ?>');height: 400px;background-size:cover">
</div>
</div>
<?php endwhile; // end of the loop. ?>
</div>
</div>
<div class="divider"></div>
<div class="row">
<h2 class="text-center" id="board">Board</h2>
<div class="large-12 columns">
<?php query_posts('post_type=team&category_name=board'); while ( have_posts() ) : the_post(); ?>
<div class="divider"></div>
<div class="row grey collapse">
<div class="large-6 columns" style="padding: 60px">
<h2><?php the_title(); ?></h2>
<p><span><?php the_field('company_role'); ?></span></p>
<p><?php the_field('bio_excerpt'); ?></p>
<p><a href="<?php echo get_permalink(); ?>">Read More</a></p>
</div>
<div class="large-6 columns text-center " style="background: url('<?php the_field('headshot'); ?>');height: 400px;background-size:cover">
</div>
</div>
<?php endwhile; // end of the loop. ?>
</div>
</div>
<div class="divider"></div>
<div class="row">
<h2 class="text-center" id="advisory">Advisory Group</h2>
<div class="large-12 columns">
<?php query_posts('post_type=team&category_name=advisory-group'); while ( have_posts() ) : the_post(); ?>
<div class="divider"></div>
<div class="row grey collapse">
<div class="large-6 columns" style="padding: 60px">
<h2><?php the_title(); ?></h2>
<p><span><?php the_field('company_role'); ?></span></p>
<p><?php the_field('bio_excerpt'); ?></p>
<p><a href="<?php echo get_permalink(); ?>">Read More</a></p>
</div>
<div class="large-6 columns text-center " style="background: url('<?php the_field('headshot'); ?>');height: 400px;background-size:cover">
</div>
</div>
<?php endwhile; // end of the loop. ?>
</div>
</div>
</div>
<?php get_footer(); ?>