Skip to content

Commit d6f1ca2

Browse files
committed
Updated author styling.
1 parent 52d58a6 commit d6f1ca2

File tree

4 files changed

+57
-2
lines changed

4 files changed

+57
-2
lines changed

jquery.com/content.php

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
/**
3+
* The default template for displaying content
4+
*/
5+
?>
6+
7+
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
8+
<header class="entry-header">
9+
<div class="entry-meta">
10+
<?php
11+
// Hide category and tag text for pages on Search
12+
if ( 'post' == get_post_type() ) :
13+
echo jq_categories_and_parents();
14+
endif;
15+
?>
16+
</div>
17+
<?php if ( is_sticky() ) : ?>
18+
<hgroup>
19+
<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>
20+
<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
21+
</hgroup>
22+
<?php else : ?>
23+
<h1 class="entry-title">
24+
<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>
25+
</h1>
26+
<?php endif; ?>
27+
28+
<?php if ( 'post' == get_post_type() ) : ?>
29+
<div class="entry-posted">
30+
<?php twentyeleven_posted_on(); ?>
31+
</div>
32+
<?php endif; ?>
33+
</header>
34+
35+
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
36+
<div class="entry-summary">
37+
<?php the_excerpt(); ?>
38+
</div>
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>
44+
<?php endif; ?>
45+
</article>

jquery.com/single.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
<div class="content-right twelve columns">
66
<div id="content">
77
<h1 class="entry-title"><?php the_title(); ?></h1>
8+
<?php if ( 'post' == get_post_type() ) : ?>
9+
<div class="entry-posted">
10+
<?php twentyeleven_posted_on(); ?>
11+
</div>
12+
<?php endif; ?>
813
<hr>
914

1015
<?php get_template_part( 'content', 'page' ); ?>

jquery/css/base.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
HTML5 display definitions
99
========================================================================== */
1010

11+
@import "blog.css";
12+
1113
* {
1214
-webkit-box-sizing: border-box;
1315
-moz-box-sizing: border-box;
@@ -3566,5 +3568,3 @@ pre .chunk {
35663568
.syntaxhighlighter table td.gutter {
35673569
border-right: 2px solid #999;
35683570
}
3569-
3570-
@import "blog.css";

jquery/css/blog.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
float: left;
77
}
88

9+
.entry-posted {
10+
color: #999;
11+
font-size: 12px;
12+
}
13+
914
/* =Comments
1015
----------------------------------------------- */
1116

0 commit comments

Comments
 (0)