Skip to content

Commit

Permalink
git it started
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Wilhelm committed Apr 15, 2013
1 parent 8c76bc9 commit 33ab325
Show file tree
Hide file tree
Showing 151 changed files with 29,094 additions and 14 deletions.
15 changes: 1 addition & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
.htaccess
wp-config.php
wp-content/uploads/
wp-content/blogs.dir/
wp-content/upgrade/
wp-content/backup-db/
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
sitemap.xml
*.log
wp-content/cache/
wp-content/backups/
sitemap.xml
sitemap.xml.gz
.DS_Store
45 changes: 45 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
/**
* The template for displaying 404 pages
*
* @package Reactor
* @subpackge Templates
* @since 1.0.0
*/
?>

<?php get_header(); ?>

<div id="primary" class="site-content">

<?php reactor_content_before(); ?>

<div id="content" role="main">
<div class="row">
<div class="<?php reactor_columns(); ?>">

<?php reactor_inner_content_before(); ?>

<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?', 'reactor'); ?></h1>
</header>

<div class="entry-content panel">
<p><?php _e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching will help.', 'reactor'); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->

<?php reactor_inner_content_after(); ?>

</div><!-- .columns -->

</div><!-- .row -->
</div><!-- #content -->

<?php reactor_content_after(); ?>

</div><!-- #primary -->

<?php get_footer(); ?>
55 changes: 55 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php
/**
* The template for displaying archive pages
*
* @package Reactor
* @subpackge Templates
* @since 1.0.0
*/
?>

<?php get_header(); ?>

<div id="primary" class="site-content">

<?php reactor_content_before(); ?>

<div id="content" role="main">
<div class="row">
<div class="<?php reactor_columns(); ?>">

<?php reactor_inner_content_before(); ?>

<?php if ( have_posts() ) : ?>
<header class="archive-header">
<h1 class="archive-title"><?php
if ( is_day() ) :
printf( __('Daily Archives: %s', 'reactor'), '<span>' . get_the_date() . '</span>');
elseif ( is_month() ) :
printf( __('Monthly Archives: %s', 'reactor'), '<span>' . get_the_date( _x('F Y', 'monthly archives date format', 'reactor') ) . '</span>');
elseif ( is_year() ) :
printf( __('Yearly Archives: %s', 'reactor'), '<span>' . get_the_date( _x('Y', 'yearly archives date format', 'reactor') ) . '</span>');
else :
_e('Archives', 'reactor');
endif;
?></h1>
</header><!-- .archive-header -->
<?php endif; // end have_posts() check ?>

<?php // get the loop
get_template_part('loops/loop', 'index'); ?>

<?php reactor_inner_content_after(); ?>

</div><!-- .columns -->

<?php get_sidebar(); ?>

</div><!-- .row -->
</div><!-- #content -->

<?php reactor_content_after(); ?>

</div><!-- #primary -->

<?php get_footer(); ?>
62 changes: 62 additions & 0 deletions author.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?php
/**
* The template for displaying author archive pages
*
* @package Reactor
* @subpackge Templates
* @since 1.0.0
*/
?>

<?php get_header(); ?>

<div id="primary" class="site-content">

<?php reactor_content_before(); ?>

<div id="content" role="main">
<div class="row">
<div class="<?php reactor_columns(); ?>">

<?php reactor_inner_content_before(); ?>

<?php if ( have_posts() ) : the_post(); ?>

<header class="archive-header">
<h1 class="archive-title"><?php printf( __('Author: %s', 'reactor'), get_the_author() ); ?></h1>
</header><!-- .archive-header -->

<?php rewind_posts(); ?>

<?php // If a user has filled out their description, show a bio on their entries.
if ( get_the_author_meta('description') ) : ?>
<div class="author-info">
<div class="author-avatar">
<?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('reactor_author_bio_avatar_size', 60) ); ?>
</div><!-- .author-avatar -->
<div class="author-description">
<h2><?php printf( __('About %s', 'reactor'), get_the_author() ); ?></h2>
<p><?php the_author_meta('description'); ?></p>
</div><!-- .author-description -->
</div><!-- .author-info -->
<?php endif; ?>

<?php endif; // end have_posts() check ?>

<?php // get the loop
get_template_part('loops/loop', 'index'); ?>

<?php reactor_inner_content_after(); ?>

</div><!-- .columns -->

<?php get_sidebar(); ?>

</div><!-- .row -->
</div><!-- #content -->

<?php reactor_content_after(); ?>

</div><!-- #primary -->

<?php get_footer(); ?>
52 changes: 52 additions & 0 deletions category.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?php
/**
* The template for displaying posts by category
*
* @package Reactor
* @subpackge Templates
* @since 1.0.0
*/
?>

<?php get_header(); ?>

<div id="primary" class="site-content">

<?php reactor_content_before(); ?>

<div id="content" role="main">
<div class="row">
<div class="<?php reactor_columns(); ?>">

<?php reactor_inner_content_before(); ?>

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

<?php // show an optional category description
if ( category_description() ) : ?>
<div class="archive-meta">
<?php echo category_description(); ?>
</div>
<?php endif; ?>
</header><!-- .archive-header -->
<?php endif; // end have_posts() check ?>

<?php // get the loop
get_template_part('loops/loop', 'index'); ?>

<?php reactor_inner_content_after(); ?>

</div><!-- .columns -->

<?php get_sidebar(); ?>

</div><!-- .row -->
</div><!-- #content -->

<?php reactor_content_after(); ?>

</div><!-- #primary -->

<?php get_footer(); ?>
86 changes: 86 additions & 0 deletions comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?php
/**
* The template for displaying comments
* uses callback reactor_comments in includes/comments.php
*
* @package Reactor
* @subpackge Templates
* @since 1.0.0
*/

// Do not delete these lines
if ( !empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
die ('Please do not load this page directly. Thanks!');
} ?>

<?php if ( post_password_required() ) { ?>
<div class="alert help">
<p class="nocomments">
<?php _e('This post is password protected. Enter the password to view comments.', 'reactor'); ?>
</p>
</div>
<?php return; } ?>

<?php if ( comments_open() || '0' != get_comments_number() ) : ?>
<div id="comments" class="comments-area">

<?php if ( have_comments() ) : ?>
<h4 class="comments-title">
<?php comments_number('<span>No</span> Comments', '<span>1</span> Comment', '<span>%</span> Comments');?> on &#8220;<?php the_title(); ?>&#8221;
</h4>
<ol class="commentlist">
<?php wp_list_comments( array('callback' => 'reactor_comments', 'style' => 'ol') ); ?>
</ol>

<?php if ( get_comment_pages_count() > 1 && get_option('page_comments') ) : ?>
<nav id="comment-nav-below" class="navigation" role="navigation">
<div class="nav-previous"><?php previous_comments_link( __('&larr; Older Comments', 'reactor') ); ?></div>
<div class="nav-next"><?php next_comments_link( __('Newer Comments &rarr;', 'reactor') ); ?></div>
</nav>
<?php endif; ?>

<?php elseif ( !comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments') ) : ?>
<p class="nocomments"><?php _e('Comments are closed.', 'reactor'); ?></p>
<?php endif; ?>

<?php if ( comments_open() ) : ?>
<div id="respond-form">
<div id="cancel-comment-reply">
<p class="small">
<?php cancel_comment_reply_link(); ?>
</p>
</div>

<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
<div class="alert help">
<p><?php printf('You must be %1$slogged in%2$s to post a comment.', '<a href="<?php echo wp_login_url( get_permalink() ); ?>">', '</a>'); ?></p>
</div>

<?php else :
comment_form( array(
'logged_in_as' => '<p class="comments-logged-in-as">' . __('Logged in as', 'reactor') . ' <a href="' . get_option('siteurl') .'/wp-admin/profile.php">' . $user_identity . '</a>. <a href="' . wp_logout_url( get_permalink() ) . '" title="' . __('Log out of this account', 'reactor') . '">' . __('Log out', 'reactor') . '&raquo;</a></p>',

'fields' => array(
'author' => '<div class="row"><p class="comment-form-author six columns"><label for="author">' . __('Name ', 'reactor') . ( $req ? __('( required )', 'reactor') : '') . '</label> '.'<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" placeholder="' . __('Your Name*', 'reactor') . '" tabindex="1"' . ( $req ? __( "aria-required='true'" ) : '') . ' /></p>',

'email' => '<p class="comment-form-email six columns"><label for="email">' . __('Email ', 'reactor') . ( $req ? __('( required )', 'reactor') : '') . '</label> '.'<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" placeholder="' . __('Your E-Mail*', 'reactor') . '" tabindex="2"' . ( $req ? __( "aria-required='true'" ) : '') . ' /></p>',

'url' => '<p class="comment-form-url six columns end"><label for="url">' . __('Website ', 'reactor') . '</label>' . '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" placeholder="' . __('URL ', 'reactor') . '" tabindex="3" /></p></div>',
),

'comment_field' => '<div class="row"><p class="comment-form-comment twelve columns"><textarea name="comment" id="comment" placeholder="' . __('Your Comment here...', 'reactor') . '" rows="8" tabindex="4"></textarea></p>',

'comment_notes_after' => '<div class="alert info"><p id="allowed_tags" class="form-allowed-tags small twelve columns"><strong>XHTML: </strong>' . __('You can use these tags', 'reactor') . ' <code>' . allowed_tags() . '</code></p></div></div>',

'label_submit' => __('Submit', 'reactor'),

'id_submit' => 'submit',

'class_submit' => 'button'
) );
endif; ?>

</div>
<?php endif; ?>
</div><!-- end #comments -->
<?php endif; ?>
Binary file added favicon.ico
Binary file not shown.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* The template for displaying the footer
*
* @package Reactor
* @subpackge Templates
* @since 1.0.0
*/
?>

<?php reactor_footer_before(); ?>

<footer id="footer" class="site-footer" role="contentinfo">

<?php reactor_footer_inside(); ?>

</footer><!-- #footer -->

<?php reactor_footer_after(); ?>

</div><!-- #main -->
</div><!-- #page -->

<?php wp_footer(); reactor_foot(); ?>
</body>
</html>
16 changes: 16 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
/**
* Reactor Theme Functions
*
* @package Reactor
* @author Anthony Wilhelm (@awshout / anthonywilhelm.com)
* @version 1.0.0
* @since 1.0.0
* @copyright Copyright (c) 2013, Anthony Wilhelm
* @license GNU General Public License v2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
*/

// if you remove this, the sky will fall!
require( 'library/reactor-init.php' );

/* ------------------------------------------------------- */
Loading

0 comments on commit 33ab325

Please sign in to comment.