Skip to content

Commit f810edf

Browse files
committed
globalizejs.com: Initial setup
1 parent 317ebf5 commit f810edf

File tree

8 files changed

+89
-0
lines changed

8 files changed

+89
-0
lines changed

sites.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,27 @@ function jquery_sites() {
292292
'active_plugins' => array(),
293293
),
294294
),
295+
'globalizejs.com' => array(
296+
'blog_id' => 26,
297+
'cookie_domain' => '.globalizejs.com',
298+
'body_class' => 'globalize',
299+
'options' => array(
300+
'blogname' => 'Globalize',
301+
'stylesheet' => 'globalizejs.com',
302+
'active_plugins' => array(
303+
'jquery-static-index.php',
304+
),
305+
),
306+
),
307+
'api.globalizejs.com' => array(
308+
'blog_id' => 27,
309+
'cookie_domain' => '.globalizejs.com',
310+
'body_class' => 'globalize',
311+
'options' => array(
312+
'blogname' => 'Globalize API Documentation',
313+
'stylesheet' => 'api.globalizejs.com',
314+
),
315+
),
295316
);
296317

297318
uasort( $sites, function( $a, $b ) {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php get_template_part( 'content', 'api' ); ?>

themes/api.globalizejs.com/footer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php get_template_part( 'footer', 'globalize' ); ?>

themes/api.globalizejs.com/index.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php get_header(); ?>
2+
<div class="content-right listing twelve columns">
3+
<div id="content">
4+
<h1 class="page-title">Globalize API</h1>
5+
<hr>
6+
7+
<?php
8+
while ( have_posts() ) : the_post();
9+
get_template_part( 'content', 'api' );
10+
endwhile;
11+
?>
12+
</div>
13+
14+
<?php get_sidebar(); ?>
15+
</div>
16+
<?php get_footer(); ?>

themes/api.globalizejs.com/single.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
/**
3+
* The Template for displaying single posts.
4+
*/
5+
6+
get_header();
7+
get_template_part( 'single', 'api' );
8+
get_footer();

themes/api.globalizejs.com/style.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
Theme Name: api-globalizejs-com
3+
Template: jquery
4+
*/
5+
6+
a {
7+
color: #B24926;
8+
}
9+
10+
.version-details a,
11+
.returns a {
12+
color: #FAA523;
13+
}
14+
15+
.signatures li h4 {
16+
background: #B24926;
17+
}

themes/globalizejs.com/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
Theme Name: globalizejs-com
3+
Template: jquery
4+
*/
5+
6+
a,
7+
.title {
8+
color: #B24926;
9+
}
10+
11+
#content a:hover {
12+
color: #333;
13+
}

themes/jquery/footer-globalize.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
</div>
2+
</div>
3+
<footer class="clearfix simple">
4+
<div class="constrain">
5+
<?php get_template_part( 'footer', 'bottom' ); ?>
6+
</div>
7+
</footer>
8+
9+
<?php wp_footer(); ?>
10+
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)