Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaiz committed Dec 13, 2016
0 parents commit e1ac157
Show file tree
Hide file tree
Showing 132 changed files with 25,903 additions and 0 deletions.
43 changes: 43 additions & 0 deletions 404.php
@@ -0,0 +1,43 @@
<?php get_header(); ?>

<div id="content">

<div id="inner-content" class="wrap cf">

<main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">

<article id="post-not-found" class="hentry cf">

<header class="article-header">

<h1><?php _e( '404: Article not found', 'templatetheme' ); ?></h1>

</header>

<section class="entry-content">

<p><?php _e( 'The article you were looking for was not found, but maybe try searching:', 'templatetheme' ); ?></p>

</section>

<section class="search">

<p><?php get_search_form(); ?></p>

</section>

<footer class="article-footer">

<p><?php _e( 'This is the 404.php template.', 'templatetheme' ); ?></p>

</footer>

</article>

</main>

</div>

</div>

<?php get_footer(); ?>
30 changes: 30 additions & 0 deletions CHANGELOG.html
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
</head>
<body>
<h1 id="templatechangeloghistory">Template Change Log + History</h1>

<p>For more information, please visit: https://studio.bio/template</p>

<p>Author: Joshua Michaels for studio.bio</p>

<hr />

<h3 id="1.02016-10-24">1.0 2016&#8211;10&#8211;24</h3>

<p>And here we go.</p>

<ul>
<li>updated to normalize.css 5.0</li>
<li>namespaced all functions</li>
<li>updated readme</li>
<li>updated login.scss</li>
<li>added favicons, new apple touch icons and theme screenshot</li>
<li>added default system font stack</li>
<li>added .ai files for all images</li>
</ul>

</body>
</html>
18 changes: 18 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,18 @@
# Template Change Log + History

For more information, please visit: https://studio.bio/template

Author: Joshua Michaels for studio.bio

*******************************************************************

### 1.0 2016-10-24
And here we go.

- updated to normalize.css 5.0
- namespaced all functions
- updated readme
- updated login.scss
- added favicons, new apple touch icons and theme screenshot
- added default system font stack
- added .ai files for all images
77 changes: 77 additions & 0 deletions archive-custom_type.php
@@ -0,0 +1,77 @@
<?php
/*
* CUSTOM POST TYPE ARCHIVE TEMPLATE
*
* This is the custom post type archive template. If you edit the custom post type name,
* you've got to change the name of this template to reflect that name change.
*
* For Example, if your custom post type is called "register_post_type( 'bookmarks')",
* then your template name should be archive-bookmarks.php
*
* For more info: http://codex.wordpress.org/Post_Type_Templates
*/
?>

<?php get_header(); ?>

<div id="content">

<div id="inner-content" class="wrap cf">

<main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">

<h1 class="archive-title h2"><?php post_type_archive_title(); ?></h1>

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

<article id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article">

<header class="article-header">

<h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">

<?php the_title(); ?></a></h3>

</header>

<section class="entry-content cf">

<?php the_excerpt(); ?>

</section>

<footer class="article-footer">

</footer>

</article>

<?php endwhile; ?>

<?php template_page_navi(); ?>

<?php else : ?>

<article id="post-not-found" class="hentry cf">
<header class="article-header">
<h1><?php _e( 'Oops, Post Not Found!', 'templatetheme' ); ?></h1>
</header>
<section class="entry-content">
<p><?php _e( 'Uh Oh. Something is missing. Try double checking things.', 'templatetheme' ); ?></p>
</section>
<footer class="article-footer">
<p><?php _e( 'This is the error message in the custom posty type archive template.', 'templatetheme' ); ?></p>
</footer>
</article>

<?php endif; ?>

</main>

<?php get_sidebar(); ?>

</div>

</div>

<?php get_footer(); ?>
74 changes: 74 additions & 0 deletions archive.php
@@ -0,0 +1,74 @@
<?php get_header(); ?>

<div id="content">

<div id="inner-content" class="wrap cf">

<main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">

<?php
the_archive_title( '<h1 class="page-title">', '</h1>' );
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>

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

<article id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article">

<header class="entry-header article-header">

<h3 class="h2 entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
<p class="byline entry-meta vcard">
<?php printf( __( 'Posted', 'templatetheme' ).' %1$s %2$s',
/* the time the post was published */
'<time class="updated entry-time" datetime="' . get_the_time('Y-m-d') . '" itemprop="datePublished">' . get_the_time(get_option('date_format')) . '</time>',
/* the author of the post */
'<span class="by">'.__('by', 'templatetheme').'</span> <span class="entry-author author" itemprop="author" itemscope itemptype="http://schema.org/Person">' . get_the_author_link( get_the_author_meta( 'ID' ) ) . '</span>'
); ?>
</p>

</header>

<section class="entry-content cf">

<?php the_post_thumbnail( 'template-thumb-300' ); ?>

<?php the_excerpt(); ?>

</section>

<footer class="article-footer">

</footer>

</article>

<?php endwhile; ?>

<?php template_page_navi(); ?>

<?php else : ?>

<article id="post-not-found" class="hentry cf">
<header class="article-header">
<h1><?php _e( 'Oops, Post Not Found!', 'templatetheme' ); ?></h1>
</header>
<section class="entry-content">
<p><?php _e( 'Uh Oh. Something is missing. Try double checking things.', 'templatetheme' ); ?></p>
</section>
<footer class="article-footer">
<p><?php _e( 'This is the error message in the archive.php template.', 'templatetheme' ); ?></p>
</footer>
</article>

<?php endif; ?>

</main>

<?php get_sidebar(); ?>

</div>

</div>

<?php get_footer(); ?>
50 changes: 50 additions & 0 deletions comments.php
@@ -0,0 +1,50 @@
<?php
/*
The comments page for Bones
*/

// don't load it if you can't comment
if ( post_password_required() ) {
return;
}

?>

<?php // You can start editing here. ?>

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

<h3 id="comments-title" class="h2"><?php comments_number( __( '<span>No</span> Comments', 'templatetheme' ), __( '<span>One</span> Comment', 'templatetheme' ), __( '<span>%</span> Comments', 'templatetheme' ) );?></h3>

<section class="commentlist">
<?php
wp_list_comments( array(
'style' => 'div',
'short_ping' => true,
'avatar_size' => 40,
'callback' => 'bones_comments',
'type' => 'all',
'reply_text' => __('Reply', 'templatetheme'),
'page' => '',
'per_page' => '',
'reverse_top_level' => null,
'reverse_children' => ''
) );
?>
</section>

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
<nav class="navigation comment-navigation" role="navigation">
<div class="comment-nav-prev"><?php previous_comments_link( __( '&larr; Previous Comments', 'templatetheme' ) ); ?></div>
<div class="comment-nav-next"><?php next_comments_link( __( 'More Comments &rarr;', 'templatetheme' ) ); ?></div>
</nav>
<?php endif; ?>

<?php if ( ! comments_open() ) : ?>
<p class="no-comments"><?php _e( 'Comments are closed.' , 'templatetheme' ); ?></p>
<?php endif; ?>

<?php endif; ?>

<?php comment_form(); ?>

Binary file added favicon.ico
Binary file not shown.
Binary file added favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions footer.php
@@ -0,0 +1,39 @@
<footer class="footer" role="contentinfo" itemscope itemtype="http://schema.org/WPFooter">

<div id="inner-footer" class="wrap cf">

<?php /* Uncomment this and the 'Footer Links' menu registration in template.php to use.
Or delete it if you're not using it.
<nav role="navigation">
wp_nav_menu(array(
'container' => 'div', // enter '' to remove nav container (just make sure .footer-links in _base.scss isn't wrapping)
'container_class' => 'footer-links cf', // class of container (should you choose to use it)
'menu' => __( 'Footer Links', 'templatetheme' ), // nav name
'menu_class' => 'nav footer-nav cf', // adding custom nav class
'theme_location' => 'footer-links', // where it's located in the theme
'before' => '', // before the menu
'after' => '', // after the menu
'link_before' => '', // before each link
'link_after' => '', // after each link
'depth' => 0, // limit the depth of the nav
'fallback_cb' => 'bones_footer_links_fallback' // fallback function
));
</nav>
*/ ?>

<p class="source-org copyright">&copy; <?php echo date('Y'); ?> <?php bloginfo( 'name' ); ?>.</p>

</div>

</footer>

</div>

<?php // all js scripts are loaded in library/bones.php ?>
<?php wp_footer(); ?>

</body>

</html> <!-- This is the end. My only friend. -->

0 comments on commit e1ac157

Please sign in to comment.