Skip to content

Commit

Permalink
design version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Saxon Fletcher committed Nov 7, 2013
1 parent 0acfe0c commit d67dd79
Show file tree
Hide file tree
Showing 44 changed files with 2,576 additions and 2,106 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.sass-cache/
8 changes: 4 additions & 4 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* The template for displaying 404 pages (Not Found)
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
* @subpackage Bugcrowd
* @since Bugcrowd 1.0
*/

get_header(); ?>
Expand All @@ -14,11 +14,11 @@

<article id="post-0" class="post error404 no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn&rsquo;t it?', 'twentytwelve' ); ?></h1>
<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn&rsquo;t it?', 'bugcrowd' ); ?></h1>
</header>

<div class="entry-content">
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentytwelve' ); ?></p>
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'bugcrowd' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
Expand Down
16 changes: 8 additions & 8 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for each specific one. For example, Twenty Twelve already
* new template file for each specific one. For example, Bugcrowd already
* has tag.php for Tag archives, category.php for Category archives, and
* author.php for Author archives.
*
* @link http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
* @subpackage Bugcrowd
* @since Bugcrowd 1.0
*/

get_header(); ?>
Expand All @@ -26,13 +26,13 @@
<header class="archive-header">
<h1 class="archive-title"><?php
if ( is_day() ) :
printf( __( 'Daily Archives: %s', 'twentytwelve' ), '<span>' . get_the_date() . '</span>' );
printf( __( 'Daily Archives: %s', 'bugcrowd' ), '<span>' . get_the_date() . '</span>' );
elseif ( is_month() ) :
printf( __( 'Monthly Archives: %s', 'twentytwelve' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentytwelve' ) ) . '</span>' );
printf( __( 'Monthly Archives: %s', 'bugcrowd' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'bugcrowd' ) ) . '</span>' );
elseif ( is_year() ) :
printf( __( 'Yearly Archives: %s', 'twentytwelve' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentytwelve' ) ) . '</span>' );
printf( __( 'Yearly Archives: %s', 'bugcrowd' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'bugcrowd' ) ) . '</span>' );
else :
_e( 'Archives', 'twentytwelve' );
_e( 'Archives', 'bugcrowd' );
endif;
?></h1>
</header><!-- .archive-header -->
Expand All @@ -49,7 +49,7 @@

endwhile;

twentytwelve_content_nav( 'nav-below' );
bugcrowd_content_nav( 'nav-below' );
?>

<?php else : ?>
Expand Down
16 changes: 8 additions & 8 deletions author.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* @link http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
* @subpackage Bugcrowd
* @since Bugcrowd 1.0
*/

get_header(); ?>
Expand All @@ -29,7 +29,7 @@
?>

<header class="archive-header">
<h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'twentytwelve' ), '<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>
<h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'bugcrowd' ), '<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>
</header><!-- .archive-header -->

<?php
Expand All @@ -40,7 +40,7 @@
rewind_posts();
?>

<?php twentytwelve_content_nav( 'nav-above' ); ?>
<?php bugcrowd_content_nav( 'nav-above' ); ?>

<?php
// If a user has filled out their description, show a bio on their entries.
Expand All @@ -51,16 +51,16 @@
/**
* Filter the author bio avatar size.
*
* @since Twenty Twelve 1.0
* @since Bugcrowd 1.0
*
* @param int $size The height and width of the avatar in pixels.
*/
$author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
$author_bio_avatar_size = apply_filters( 'bugcrowd_author_bio_avatar_size', 68 );
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
?>
</div><!-- .author-avatar -->
<div class="author-description">
<h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2>
<h2><?php printf( __( 'About %s', 'bugcrowd' ), get_the_author() ); ?></h2>
<p><?php the_author_meta( 'description' ); ?></p>
</div><!-- .author-description -->
</div><!-- .author-info -->
Expand All @@ -71,7 +71,7 @@
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>

<?php twentytwelve_content_nav( 'nav-below' ); ?>
<?php bugcrowd_content_nav( 'nav-below' ); ?>

<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
Expand Down
8 changes: 4 additions & 4 deletions category.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* @link http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
* @subpackage Bugcrowd
* @since Bugcrowd 1.0
*/

get_header(); ?>
Expand All @@ -18,7 +18,7 @@

<?php if ( have_posts() ) : ?>
<header class="archive-header">
<h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentytwelve' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h1>
<h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'bugcrowd' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h1>

<?php if ( category_description() ) : // Show an optional category description ?>
<div class="archive-meta"><?php echo category_description(); ?></div>
Expand All @@ -37,7 +37,7 @@

endwhile;

twentytwelve_content_nav( 'nav-below' );
bugcrowd_content_nav( 'nav-below' );
?>

<?php else : ?>
Expand Down
18 changes: 9 additions & 9 deletions comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to twentytwelve_comment() which is
* handled by a callback to bugcrowd_comment() which is
* located in the functions.php file.
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
* @subpackage Bugcrowd
* @since Bugcrowd 1.0
*/

/*
Expand All @@ -28,20 +28,20 @@
<?php if ( have_comments() ) : ?>
<h2 class="comments-title">
<?php
printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentytwelve' ),
printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'bugcrowd' ),
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
?>
</h2>

<ol class="commentlist">
<?php wp_list_comments( array( 'callback' => 'twentytwelve_comment', 'style' => 'ol' ) ); ?>
<?php wp_list_comments( array( 'callback' => 'bugcrowd_comment', 'style' => 'ol' ) ); ?>
</ol><!-- .commentlist -->

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav-below" class="navigation" role="navigation">
<h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'twentytwelve' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentytwelve' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentytwelve' ) ); ?></div>
<h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'bugcrowd' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'bugcrowd' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'bugcrowd' ) ); ?></div>
</nav>
<?php endif; // check for comment navigation ?>

Expand All @@ -50,7 +50,7 @@
* But we only want the note on posts and pages that had comments in the first place.
*/
if ( ! comments_open() && get_comments_number() ) : ?>
<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentytwelve' ); ?></p>
<p class="nocomments"><?php _e( 'Comments are closed.' , 'bugcrowd' ); ?></p>
<?php endif; ?>

<?php endif; // have_comments() ?>
Expand Down
Loading

0 comments on commit d67dd79

Please sign in to comment.