Skip to content

Commit ef39ff7

Browse files
committed
Forgot to add the modified files...
1 parent 4dc13a5 commit ef39ff7

File tree

5 files changed

+141
-126
lines changed

5 files changed

+141
-126
lines changed

base/css/blog.css

+20-6
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,26 @@
2525

2626
a.inset-link
2727
{
28-
font-weight: bold;
29-
text-align: center;
3028
background: #999;
31-
text-shadow: 0 1px 0 rgba(0,0,0,0.3);
29+
-webkit-border-radius: 3px;
30+
-moz-border-radius: 3px;
31+
border-radius: 3px;
32+
-webkit-box-shadow: inset 1px 1px 1px #666;
33+
-moz-box-shadow: inset 1px 1px 1px #666;
3234
box-shadow: inset 1px 1px 1px #666;
3335
color: #FFF;
34-
border-radius: 3px;
35-
padding: 6px 8px;
36-
display: inline-block; }
36+
display: inline-block;
37+
font-weight: bold;
38+
text-align: center;
39+
text-decoration: none;
40+
text-shadow: 0 1px 0 rgba(0,0,0,0.3);
41+
padding: 6px 8px; }
42+
43+
#sidebar ul
44+
{
45+
list-style: none; }
46+
47+
#sidebar li
48+
{
49+
padding: 0;
50+
margin: 0; }

base/css/style.css

+6-6
Original file line numberDiff line numberDiff line change
@@ -236,18 +236,18 @@
236236
/*******************************************************************************/
237237

238238
h1.title, h1.entry-title, h2.title, h2.entry-title
239-
{ background: #f7b535;
240-
width: 100%;
239+
{ width: 100%;
241240
text-shadow: 0 1px 1px #fff;
242241
margin: 0 0 20px -30px;
243242
padding: 10px 30px 10px 30px;
244-
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.25);
245-
-moz-box-shadow: 0 1px 0 rgba(0,0,0,0.25);
246-
box-shadow: 0 1px 0 rgba(0,0,0,0.25);
243+
border-top: 1px solid #DDD;
244+
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.35);
245+
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.35);
246+
box-shadow: 0 1px 3px rgba(0,0,0,0.35);
247247
background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#d5d5d5));
248248
background: -moz-linear-gradient(top, #e5e5e5, #d5d5d5);
249249
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#d5d5d5'); }
250-
250+
251251
/*******************************************************************************/
252252
/* Buttons */
253253
/*******************************************************************************/

themes/jquery/content.php

+86-82
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,86 @@
1-
<?php
2-
/**
3-
* The default template for displaying content
4-
*
5-
* @package WordPress
6-
* @subpackage Twenty_Eleven
7-
* @since Twenty Eleven 1.0
8-
*/
9-
?>
10-
11-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12-
<header class="entry-header">
13-
<?php if ( is_sticky() ) : ?>
14-
<hgroup>
15-
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
16-
<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
17-
</hgroup>
18-
<?php else : ?>
19-
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
20-
<?php endif; ?>
21-
22-
<?php if ( 'post' == get_post_type() ) : ?>
23-
<div class="entry-meta">
24-
<?php twentyeleven_posted_on(); ?>
25-
</div><!-- .entry-meta -->
26-
<?php endif; ?>
27-
28-
<?php if ( comments_open() && ! post_password_required() ) : ?>
29-
<div class="comments-link">
30-
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
31-
</div>
32-
<?php endif; ?>
33-
</header><!-- .entry-header -->
34-
35-
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
36-
<div class="entry-summary">
37-
<?php the_excerpt(); ?>
38-
</div><!-- .entry-summary -->
39-
<?php else : ?>
40-
<div class="entry-content">
41-
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
42-
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
43-
</div><!-- .entry-content -->
44-
<?php endif; ?>
45-
46-
<footer class="entry-meta">
47-
<?php $show_sep = false; ?>
48-
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
49-
<?php
50-
/* translators: used between list items, there is a space after the comma */
51-
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
52-
if ( $categories_list ):
53-
?>
54-
<span class="cat-links">
55-
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
56-
$show_sep = true; ?>
57-
</span>
58-
<?php endif; // End if categories ?>
59-
<?php
60-
/* translators: used between list items, there is a space after the comma */
61-
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
62-
if ( $tags_list ):
63-
if ( $show_sep ) : ?>
64-
<span class="sep"> | </span>
65-
<?php endif; // End if $show_sep ?>
66-
<span class="tag-links">
67-
<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
68-
$show_sep = true; ?>
69-
</span>
70-
<?php endif; // End if $tags_list ?>
71-
<?php endif; // End if 'post' == get_post_type() ?>
72-
73-
<?php if ( comments_open() ) : ?>
74-
<?php if ( $show_sep ) : ?>
75-
<span class="sep"> | </span>
76-
<?php endif; // End if $show_sep ?>
77-
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
78-
<?php endif; // End if comments_open() ?>
79-
80-
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
81-
</footer><!-- #entry-meta -->
82-
</article><!-- #post-<?php the_ID(); ?> -->
1+
<?php
2+
/**
3+
* The default template for displaying content
4+
*
5+
* @package WordPress
6+
* @subpackage Twenty_Eleven
7+
* @since Twenty Eleven 1.0
8+
*/
9+
?>
10+
11+
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12+
<header class="entry-header">
13+
<?php if ( is_sticky() ) : ?>
14+
<hgroup>
15+
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
16+
<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
17+
</hgroup>
18+
<?php else : ?>
19+
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
20+
<span class="comments-link-top">
21+
<?php comments_popup_link( '0 Comments', '1 Comment' , '% Comments', 'inset-link'); ?>
22+
</span>
23+
</h1>
24+
<?php endif; ?>
25+
26+
<?php if ( 'post' == get_post_type() ) : ?>
27+
<div class="entry-meta">
28+
<?php twentyeleven_posted_on(); ?>
29+
</div><!-- .entry-meta -->
30+
<?php endif; ?>
31+
32+
<!--<?php if ( comments_open() && ! post_password_required() ) : ?>
33+
<div class="comments-link">
34+
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
35+
</div>
36+
<?php endif; ?>-->
37+
</header><!-- .entry-header -->
38+
39+
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
40+
<div class="entry-summary">
41+
<?php the_excerpt(); ?>
42+
</div><!-- .entry-summary -->
43+
<?php else : ?>
44+
<div class="entry-content">
45+
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
46+
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
47+
</div><!-- .entry-content -->
48+
<?php endif; ?>
49+
50+
<footer class="entry-meta">
51+
<?php $show_sep = false; ?>
52+
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
53+
<?php
54+
/* translators: used between list items, there is a space after the comma */
55+
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
56+
if ( $categories_list ):
57+
?>
58+
<span class="cat-links">
59+
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
60+
$show_sep = true; ?>
61+
</span>
62+
<?php endif; // End if categories ?>
63+
<?php
64+
/* translators: used between list items, there is a space after the comma */
65+
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
66+
if ( $tags_list ):
67+
if ( $show_sep ) : ?>
68+
<span class="sep"> | </span>
69+
<?php endif; // End if $show_sep ?>
70+
<span class="tag-links">
71+
<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
72+
$show_sep = true; ?>
73+
</span>
74+
<?php endif; // End if $tags_list ?>
75+
<?php endif; // End if 'post' == get_post_type() ?>
76+
77+
<?php if ( comments_open() ) : ?>
78+
<?php if ( $show_sep ) : ?>
79+
<span class="sep"> | </span>
80+
<?php endif; // End if $show_sep ?>
81+
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
82+
<?php endif; // End if comments_open() ?>
83+
84+
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
85+
</footer><!-- #entry-meta -->
86+
</article><!-- #post-<?php the_ID(); ?> -->

themes/jquery/header.php

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/i/favicon.ico">
5252
<link rel="stylesheet" href="<?php echo content_url() ?>/base/css/style.css?v=1">
53+
<link rel="stylesheet" href="<?php echo content_url() ?>/base/css/blog.css?v=1">
5354
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>">
5455
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
5556

themes/jquery/single.php

+28-32
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
1-
<?php
2-
/**
3-
* The Template for displaying all single posts.
4-
*
5-
* @package WordPress
6-
* @subpackage Twenty_Eleven
7-
* @since Twenty Eleven 1.0
8-
*/
9-
10-
get_header(); ?>
11-
12-
<div id="body" class="clearfix">
13-
<div class="inner" role="main">
14-
15-
<?php while ( have_posts() ) : the_post(); ?>
16-
17-
<nav id="nav-single">
18-
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
19-
<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span> Previous', 'twentyeleven' ) ); ?></span>
20-
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></span>
21-
</nav><!-- #nav-single -->
22-
23-
<?php get_template_part( 'content', 'single' ); ?>
24-
25-
<?php comments_template( '', true ); ?>
26-
27-
<?php endwhile; // end of the loop. ?>
28-
29-
</div><!-- .inner -->
30-
</div><!-- #body -->
31-
32-
<?php get_footer(); ?>
1+
<?php
2+
/**
3+
* The Template for displaying all single posts.
4+
*
5+
* @package WordPress
6+
* @subpackage Twenty_Eleven
7+
* @since Twenty Eleven 1.0
8+
*/
9+
10+
get_header(); ?>
11+
12+
<div id="body" class="clearfix">
13+
<div class="inner" role="main">
14+
15+
<?php while ( have_posts() ) : the_post(); ?>
16+
17+
<?php get_template_part( 'content', 'single' ); ?>
18+
19+
<hr />
20+
21+
<?php comments_template( '', true ); ?>
22+
23+
<?php endwhile; // end of the loop. ?>
24+
25+
</div><!-- .inner -->
26+
</div><!-- #body -->
27+
28+
<?php get_footer(); ?>

0 commit comments

Comments
 (0)