Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyrauch committed Sep 28, 2013
0 parents commit 9e86892
Show file tree
Hide file tree
Showing 238 changed files with 12,076 additions and 0 deletions.
47 changes: 47 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
/**
* The template for displaying 404 pages (Not Found).
*
* @package Symbol
* @since Symbol 1.0
*/

get_header(); ?>

<div id="primary" class="center-content">
<div id="content" class="site-content" role="main">

<article id="post-0" class="post error404 not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'symbol' ); ?></h1>
</header><!-- .entry-header -->

<div class="entry-content">
<p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'symbol' ); ?></p>

<?php get_search_form(); ?>

<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>

<div class="widget">
<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'symbol' ); ?></h2>
<ul>
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
</ul>
</div><!-- .widget -->

<?php
/* translators: %1$s: smilie */
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'symbol' ), convert_smilies( ':)' ) ) . '</p>';
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
?>

<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>

</div><!-- .entry-content -->
</article><!-- #post-0 .post .error404 .not-found -->

</div><!-- #content .site-content -->
</div><!-- #primary .content-area -->

<?php get_footer(); ?>
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Symbol Theme
===========
[![image](https://i.cloudup.com/owMC2owNcs.png)](https://cloudup.com/cfgcHouElDv)

Installation
------------
1. Move the folder wp-content/themes/ or upload from your admin area (Plugins > Upload)
2. Enable the theme from the admin panel

Licence
---------------
[![Creative Commons License](http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png)](http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US)

This work is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License](http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US).
96 changes: 96 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?php
/**
* The template for displaying Archive pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Symbol
* @since Symbol 1.0
*/

get_header(); ?>

<section id="primary" class="content-area">
<div id="content" class="site-content" role="main">

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

<header class="page-header">
<h1 class="page-title">
<?php
if ( is_category() ) {
printf( __( 'Category Archives: %s', 'symbol' ), '<span>' . single_cat_title( '', false ) . '</span>' );

} elseif ( is_tag() ) {
printf( __( 'Tag Archives: %s', 'symbol' ), '<span>' . single_tag_title( '', false ) . '</span>' );

} elseif ( is_author() ) {
/* Queue the first post, that way we know
* what author we're dealing with (if that is the case).
*/
the_post();
printf( __( 'Author Archives: %s', 'symbol' ), '<span class="vcard"><a class="url fn n" href="' . get_author_posts_url( get_the_author_meta( "ID" ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
*/
rewind_posts();

} elseif ( is_day() ) {
printf( __( 'Daily Archives: %s', 'symbol' ), '<span>' . get_the_date() . '</span>' );

} elseif ( is_month() ) {
printf( __( 'Monthly Archives: %s', 'symbol' ), '<span>' . get_the_date( 'F Y' ) . '</span>' );

} elseif ( is_year() ) {
printf( __( 'Yearly Archives: %s', 'symbol' ), '<span>' . get_the_date( 'Y' ) . '</span>' );

} else {
_e( 'Archives', 'symbol' );

}
?>
</h1>
<?php
if ( is_category() ) {
// show an optional category description
$category_description = category_description();
if ( ! empty( $category_description ) )
echo apply_filters( 'category_archive_meta', '<div class="taxonomy-description">' . $category_description . '</div>' );

} elseif ( is_tag() ) {
// show an optional tag description
$tag_description = tag_description();
if ( ! empty( $tag_description ) )
echo apply_filters( 'tag_archive_meta', '<div class="taxonomy-description">' . $tag_description . '</div>' );
}
?>
</header><!-- .page-header -->


<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>

<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
?>

<?php endwhile; ?>

<?php symbol_content_nav( 'nav-below' ); ?>

<?php else : ?>

<?php get_template_part( 'no-results', 'archive' ); ?>

<?php endif; ?>

</div><!-- #content .site-content -->
</section><!-- #primary .content-area -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
73 changes: 73 additions & 0 deletions comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?php
/**
* The template for displaying Comments.
*
* 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 symbol_comment() which is
* located in the functions.php file.
*
* @package Symbol
* @since Symbol 1.0
*/
?>

<?php
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() )
return;
?>

<div id="comments" class="comments-area center-content">

<?php // You can start editing here -- including this comment! ?>

<?php if ( have_comments() ) : ?>
<h2 class="comments-title">
<?php echo __("Discussion:") ?>
</h2>

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

<ol class="commentlist">
<?php
/* Loop through and list the comments. Tell wp_list_comments()
* to use symbol_comment() to format the comments.
* If you want to overload this in a child theme then you can
* define symbol_comment() and that will be used instead.
* See symbol_comment() in inc/template-tags.php for more.
*/
wp_list_comments( array( 'callback' => 'symbol_comment' ) );
?>
</ol><!-- .commentlist -->

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

<?php endif; // have_comments() ?>

<?php
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
?>
<p class="nocomments"><?php _e( 'Comments are closed.', 'symbol' ); ?></p>
<?php endif; ?>

<?php comment_form(); ?>

</div><!-- #comments .comments-area -->
28 changes: 28 additions & 0 deletions content.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/**
* @package Symbol
* @since Symbol 1.0
*/
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="center-content">
<header class="entry-header">

<h1><a href="<?php echo the_permalink() ?>"><?php echo the_title() ?></a></h1>

</header><!-- .entry-header -->

<?php if ( is_search() ) : // Only display Excerpts for Search ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php else : ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'symbol' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'symbol' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php endif; ?>
</div>

</article><!-- #post-<?php the_ID(); ?> -->
27 changes: 27 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package Symbol
* @since Symbol 1.0
*/
?>

</div><!-- #main .site-main -->

<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<?php do_action( 'symbol_credits' ); ?>

</div><!-- .site-info -->
</footer><!-- #colophon .site-footer -->
</div><!-- #page .hfeed .site -->
<!-- .snap-content -->

<?php get_sidebar() ?>
<?php wp_footer(); ?>

</body>
</html>
Loading

0 comments on commit 9e86892

Please sign in to comment.