forked from codeforamerica/cfawp2012
-
Notifications
You must be signed in to change notification settings - Fork 0
/
neworleans-template.php
executable file
·139 lines (117 loc) · 3 KB
/
neworleans-template.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?php
/**
* The template for displaying all pages.
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
/*
Template Name: New Orleans
*/
get_header(); ?>
<style>
#twitter_feed{
float:right;
width: 300px;
}
#content{
float: left;
width: 605px;
}
#mc_embed_signup{
clear:both;
height: 100px;
}
.team{
float: left;
width: 170px;
}
#content li {
font-size: 135%;
line-height: 35px;
}
.post-edit-link{
clear: both;
}
</style>
<div class="wrap clearfix">
<div id="main">
<?php if (have_posts()) : ?>
<h1><?php the_title(); ?></h1>
<?php while (have_posts()) : the_post(); ?>
<div id="content">
<?php the_content(); ?>
</div>
<div id="twitter_feed">
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'search',
search: '#cfaNOLA',
interval: 30000,
title: 'Code for America',
subject: 'New Orleans, LA',
width: 'auto',
height: 300,
theme: {
shell: {
background: '#8ec1da',
color: '#ffffff'
},
tweets: {
background: '#ffffff',
color: '#444444',
links: '#1985b5'
}
},
features: {
scrollbar: false,
loop: true,
live: true,
behavior: 'default'
}
}).render().start();
</script>
</div>
<?php edit_post_link(); ?>
<div id="mc_embed_signup">
<h1>Newsletter</h1>
<form action="http://codeforamerica.us4.list-manage.com/subscribe/post?u=bc89bc1a568c7ecb05735ef0d&id=c5194b384f" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank">
<label for="mce-EMAIL">Subscribe to our mailing list</label>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</form>
</div>
<h1>Meet the Team</h1>
<div id="the_team">
<div class="team">
<img src="/wp-content/themes/cfawp2012/images/2012fellows/pandel.png" width="100px">
<p><b>Alex Pandel, Designer</b></p>
</div>
<div class="team">
<img src="/wp-content/themes/cfawp2012/images/2012fellows/reavis-bey.png" width="100px">
<p><b>Amir Reavis-Bey, Software Engineer</b></p>
</div>
<div class="team">
<img src="/wp-content/themes/cfawp2012/images/2012fellows/tejeda.png" width="100px">
<p><b>Eddie A Tejeda, Web Developer</b></p>
</div>
<div class="team">
<img src="/wp-content/themes/cfawp2012/images/2012fellows/wales.png" width="100px">
<p><b>Serena Wales, Web Developer</a></p>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
<div class="wrap" id="dots"></div>
<!--
<div class="wrap clearfix" id="fellows-wrap">
<div id="maincontent">
</div>
</div>
-->
<?php get_footer(); ?>