Skip to content

Commit 9540c01

Browse files
committed
IMPORT jquery-wp-content.
0 parents  commit 9540c01

File tree

116 files changed

+9570
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+9570
-0
lines changed

jquery.com/i/download.png

1.47 KB
Loading

jquery.com/i/favicon.ico

1.12 KB
Binary file not shown.

jquery.com/i/feature-sprites.png

23 KB
Loading

jquery.com/i/icon_whouseslogos.gif

13.6 KB
Loading

jquery.com/style.css

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
/*
2+
Theme Name: jquery-com
3+
Template: jquery
4+
*/
5+
6+
7+
a,
8+
.title {
9+
color: #B24926;
10+
}
11+
#content a:hover {
12+
color: #333;
13+
}
14+
15+
#banner-secondary a,
16+
#banner-secondary a:hover {
17+
color: #b3b3b3;
18+
}
19+
#banner-secondary h3 {
20+
color: #7ACEF4;
21+
margin-bottom:0.5em;
22+
}
23+
24+
#banner-secondary .features-box p {
25+
font-size: .8em;
26+
line-height: 1em;
27+
padding: 0;
28+
}
29+
.features-box .feature-box-image {
30+
margin: 0 auto 1em auto;
31+
width: 120px;
32+
height: 107px;
33+
overflow: hidden;
34+
}
35+
36+
.lightweight-footprint .feature-box-image {
37+
background: url('i/feature-sprites.png') 0px 0px no-repeat;
38+
}
39+
.css3-compliant .feature-box-image{
40+
background: url('i/feature-sprites.png') -139px 0px no-repeat;
41+
}
42+
.cross-browser .feature-box-image{
43+
background: url('i/feature-sprites.png') -278px 0px no-repeat;
44+
}
45+
46+
#banner-secondary .downloads-box span.download {
47+
background: url('i/download.png') 0px 0px;
48+
width: 44px;
49+
height:37px;
50+
position: relative;
51+
top: 1em;
52+
display:inline-block;
53+
margin-right:0.5em;
54+
}
55+
56+
#banner-secondary .downloads-box p {
57+
margin: 15px 0 5px;
58+
}
59+
60+
#banner-secondary .download-main {
61+
height: 107px;
62+
width: 90%;
63+
margin-left:5%;
64+
margin-bottom:1em;
65+
}
66+
67+
#content #banner-secondary .download-main > a {
68+
display:block;
69+
padding: 0 0 .5em 0;
70+
font-size: 2em;
71+
width: 100%;
72+
text-align:center;
73+
text-decoration: none;
74+
}
75+
76+
77+
#banner-secondary .download-main > a span {
78+
margin-top: 0.2em;
79+
display: block;
80+
font-size: 0.4em;
81+
}
82+
83+
#home-content h2 {
84+
margin-top:1em;
85+
}
86+
#home-content h3 {
87+
margin-top:1.5em;
88+
}
89+
#home-content h2 + h3 {
90+
margin-top: 1em;
91+
}
92+
93+
@media all and (max-width: 820px) {
94+
#banner-secondary .downloads-box {
95+
float:none;
96+
width: 100%;
97+
margin-bottom: 1em;
98+
}
99+
#banner-secondary .features-box {
100+
float:none;
101+
width:100%;
102+
}
103+
}

jquery/404.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
/**
3+
* The template for displaying 404 pages (Not Found).
4+
*/
5+
6+
get_header(); ?>
7+
<div class="content-full full-width twelve columns">
8+
<div id="content">
9+
<article id="post-0" class="post error404 not-found">
10+
<header class="entry-header">
11+
<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn&rsquo;t it?', 'twentyeleven' ); ?></h1>
12+
<hr>
13+
</header>
14+
15+
<div class="entry-content">
16+
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for.', 'twentyeleven' ); ?></p>
17+
</div>
18+
</article>
19+
</div>
20+
</div>
21+
<?php get_footer(); ?>

jquery/archive.php

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<?php
2+
/**
3+
* The template for displaying Archive pages.
4+
*
5+
* Used to display archive-type pages if nothing more specific matches a query.
6+
* For example, puts together date-based pages if no date.php file exists.
7+
*
8+
* Learn more: http://codex.wordpress.org/Template_Hierarchy
9+
*/
10+
11+
get_header(); ?>
12+
13+
<section id="body" class="clearfix content-right">
14+
<div class="inner" role="main">
15+
16+
<?php if ( have_posts() ) : ?>
17+
18+
<header class="page-header">
19+
<h1 class="page-title">
20+
<?php if ( is_day() ) : ?>
21+
<?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?>
22+
<?php elseif ( is_month() ) : ?>
23+
<?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); ?>
24+
<?php elseif ( is_year() ) : ?>
25+
<?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?>
26+
<?php else : ?>
27+
<?php _e( 'Blog Archives', 'twentyeleven' ); ?>
28+
<?php endif; ?>
29+
</h1>
30+
</header>
31+
32+
<?php twentyeleven_content_nav( 'nav-above' ); ?>
33+
34+
<?php /* Start the Loop */ ?>
35+
<?php while ( have_posts() ) : the_post(); ?>
36+
37+
<?php
38+
get_template_part( 'content' );
39+
?>
40+
41+
<?php endwhile; ?>
42+
43+
<?php twentyeleven_content_nav( 'nav-below' ); ?>
44+
45+
<?php else : ?>
46+
47+
<article id="post-0" class="post no-results not-found">
48+
<header class="entry-header">
49+
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
50+
</header><!-- .entry-header -->
51+
52+
<div class="entry-content">
53+
<p><?php _e( 'Apologies, but no results were found for the requested archive.', 'twentyeleven' ); ?></p>
54+
</div><!-- .entry-content -->
55+
</article><!-- #post-0 -->
56+
57+
<?php endif; ?>
58+
59+
</div><!-- .inner -->
60+
61+
<?php get_sidebar(); ?>
62+
63+
</section><!-- #body -->
64+
65+
<?php get_footer(); ?>

jquery/author.php

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<?php
2+
/**
3+
* The template for displaying Author Archive pages.
4+
*/
5+
6+
get_header(); ?>
7+
8+
<section id="primary">
9+
<div id="content" role="main">
10+
11+
<?php if ( have_posts() ) : ?>
12+
13+
<?php
14+
/* Queue the first post, that way we know
15+
* what author we're dealing with (if that is the case).
16+
*
17+
* We reset this later so we can run the loop
18+
* properly with a call to rewind_posts().
19+
*/
20+
the_post();
21+
?>
22+
23+
<header class="page-header">
24+
<h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyeleven' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
25+
</header>
26+
27+
<?php
28+
/* Since we called the_post() above, we need to
29+
* rewind the loop back to the beginning that way
30+
* we can run the loop properly, in full.
31+
*/
32+
rewind_posts();
33+
?>
34+
35+
<?php twentyeleven_content_nav( 'nav-above' ); ?>
36+
37+
<?php
38+
// If a user has filled out their description, show a bio on their entries.
39+
if ( get_the_author_meta( 'description' ) ) : ?>
40+
<div id="author-info">
41+
<div id="author-avatar">
42+
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 60 ) ); ?>
43+
</div><!-- #author-avatar -->
44+
<div id="author-description">
45+
<h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2>
46+
<?php the_author_meta( 'description' ); ?>
47+
</div><!-- #author-description -->
48+
</div><!-- #entry-author-info -->
49+
<?php endif; ?>
50+
51+
<?php /* Start the Loop */ ?>
52+
<?php while ( have_posts() ) : the_post(); ?>
53+
54+
<?php
55+
get_template_part( 'content' );
56+
?>
57+
58+
<?php endwhile; ?>
59+
60+
<?php twentyeleven_content_nav( 'nav-below' ); ?>
61+
62+
<?php else : ?>
63+
64+
<article id="post-0" class="post no-results not-found">
65+
<header class="entry-header">
66+
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
67+
</header><!-- .entry-header -->
68+
69+
<div class="entry-content">
70+
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
71+
<?php get_search_form(); ?>
72+
</div><!-- .entry-content -->
73+
</article><!-- #post-0 -->
74+
75+
<?php endif; ?>
76+
77+
</div><!-- #content -->
78+
</section><!-- #primary -->
79+
80+
<?php get_sidebar(); ?>
81+
<?php get_footer(); ?>

jquery/category.php

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?php
2+
/**
3+
* The template for displaying Category Archive pages.
4+
*/
5+
6+
get_header(); ?>
7+
8+
<div class="content-right twelve columns">
9+
<div id="content">
10+
<?php if ( have_posts() ) : ?>
11+
12+
<header class="page-header">
13+
<h1 class="page-title"><?php
14+
printf( __( 'Category: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
15+
?></h1>
16+
<hr>
17+
<?php
18+
$category_description = category_description();
19+
if ( ! empty( $category_description ) ) {
20+
echo apply_filters( 'category_archive_meta',
21+
'<div class="category-archive-meta">' . $category_description . '</div>' );
22+
}
23+
?>
24+
</header>
25+
26+
<?php
27+
while ( have_posts() ) : the_post();
28+
get_template_part( 'content', 'listing' );
29+
endwhile;
30+
?>
31+
32+
<?php twentyeleven_content_nav( 'nav-below' ); ?>
33+
34+
<?php else : ?>
35+
36+
<article id="post-0" class="post no-results not-found">
37+
<header class="entry-header">
38+
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
39+
</header>
40+
41+
<div class="entry-content">
42+
<p><?php _e( 'Apologies, but no results were found for the requested archive.', 'twentyeleven' ); ?></p>
43+
</div>
44+
</article>
45+
46+
<?php endif; ?>
47+
</div>
48+
49+
<?php get_sidebar(); ?>
50+
</div>
51+
52+
<?php get_footer(); ?>

0 commit comments

Comments
 (0)