Skip to content

Commit

Permalink
MOAR CONTENT
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingoctopus committed Nov 3, 2011
1 parent 7ccd4b4 commit 3c69844
Show file tree
Hide file tree
Showing 103 changed files with 11,969 additions and 0 deletions.
18 changes: 18 additions & 0 deletions wp-content/themes/eatart.org/404.php
@@ -0,0 +1,18 @@
<?php get_header(); ?>
<div id="content" class="<?php echo roots_container_class; ?>">
<div id="main" role="main">
<div class="container">
<h1>File Not Found</h1>
<div class="error">
<p class="bottom">The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.</p>
</div>
<p>Please try the following:</p>
<ul>
<li>Check your spelling</li>
<li>Return to the <a href="<?php echo home_url(); ?>/">home page</a></li>
<li>Click the <a href="javascript:history.back()">Back</a> button</li>
</ul>
</div>
</div><!-- /#main -->
</div><!-- /#content -->
<?php get_footer(); ?>
144 changes: 144 additions & 0 deletions wp-content/themes/eatart.org/README.md
@@ -0,0 +1,144 @@
# eatArt WordPress Theme
[http://flyingoctopus.net/](http://flyingoctopus.net/)

## Changelog:

### 3.2.0: July 15th, 2011

<ul>
<li>Added support for the 1140px Grid</li>
<li>Updated the conditional comment code to match latest changes to HTML5 Boilerplate</li>
</ul>

#### Contributors
[Vincent van Haaff](http://twitter.com/vincentpants)

### 3.1.1: July 7th, 2011

<ul>
<li>Fixed relative path function to work correctly when WordPress is installed in a subdirectory</li>
<li>Updated jQuery to 1.5.2</li>
<li>Fixed comments to show avatars correctly</li>
</ul>

#### Contributors
[Vincent van Haaff](http://twitter.com/vincentpants)

### 3.1.0: July 1st, 2011

<ul>
<li>Added support for 960.gs thanks to John Liuti</li>
<li>Added more onto the <code>.htaccess</code> from HTML5 Boilerplate</li>
<li>Made the theme directory and name renamable</li>
</ul>

#### Contributors
[Vincent van Haaff](http://twitter.com/vincentpants)

### 3.0.0: June 28th, 2011

<ul>
<li>Changed name from BB to eatArt</li>
<li>Updated various areas to match the latest changes to HTML5 Boilerplate</li>
<li>Changed the theme markup based on hCard/Readability Guidelines and work by Jonathan Neal</li>
<li>Theme activation now creates the navigation menus and automatically sets their locations</li>
<li>Permalink structure is now set to <code>/%year%/%postname%/</code> for performance reasons</li>
<li>Uploads folder is now /assets/ and not organized by month and date</li>
<li>All static folders in <code>/wp-content/themes/roots/</code> (css/, js/, img/) now rewrite to the root (<code>/css/</code>, <code>/js/</code>, <code>/img/</code>)</li>
<li><code>/wp-content/plugins/</code> now rewrites to <code>/plugins/</code></li>
<li>More root relative URLs on WordPress functions</li>
<li>Search results (<code>/?s=query</code>) now rewrites to <code>/search/query/</code></li>
<li><code>l10n.js</code> is deregistered</li>
<li>Gallery shortcode has been changed to output <code>&lt;figure&gt;</code> and <code>&lt;figcaption&gt;</code> and now links to the file by default</li>
<li>Added more <code>loop.php</code> templates</li>
<li>Made the HTML editor have a monospaced font</li>
<li>Added <code>front-page.php</code></li>
<li>Updated CSS for Gravity Forms 1.5</li>
<li>Added <code>searchform.php template</code></li>
</ul>

#### Contributors
[Vincent van Haaff](http://twitter.com/vincentpants)

### 2.4.0: Feb 25th, 2011

<ul>
<li>Added a notification when saving the theme settings</li>
<li>Added support for navigation menus</li>
<li>Created function that makes sure there is a Home page on theme activation</li>
<li>Updated various areas to match the latest changes to HTML5 Boilerplate</li>
</ul>

### 2.3.0: Feb 8th, 2011

<ul>
<li>Logo is no longer an <code>&lt;h1&gt;</code></li>
<li>Added ARIA roles again</li>
<li>Changed <code>ul#nav</code> to <code>nav#nav-main</code></li>
<li>Added vCard to footer</li>
<li>Made all URL's root relative</li>
<li>Added Twitter and Facebook widgets to footer</li>
<li>Added SEO optimized <code>robots.txt</code> from WordPress codex</li>
</ul>

### 2.2.0: Jan 20th, 2011

<ul>
<li>Added asynchronous Google Analytics</li>
<li>Updated <code>.htaccess</code> with latest changes from HTML5 Boilerplate</li>
</ul>

### 2.1.0: Jan 19th, 2011

<ul>
<li>Removed optimizeLegibility from headings</li>
<li>Updated jQuery to latest version</li>
<li>Implemented HTML5 Boilerplate <code>.htaccess</code></li>
</ul>

### 2.0.1: Jan 2nd, 2011

<ul>
<li>Added some presentational CSS classes</li>
<li>Added footer widget</li>
<li>Added more Gravity Forms default styling</li>
</ul>

### 2.0.0: Dec 19th, 2010

<ul>
<li>Added HTML5 Boilerplate changes</li>
<li>Implemented <code>loop.php</code></li>
<li>wp_head cleanup</li>
<li>Added <code>page-subpages.php</code> template</li>
</ul>

### 1.5.0: Dec 15th, 2010

<ul>
<li>Integrated Paul Irish's frontend-pro-template (the original HTML5 Boilerplate)</li>
</ul>

### 1.0.0: December 18th, 2010

<ul>
<li>Added Blueprint CSS to Starkers</li>
</ul>

## License:

Major components:

* HTML5 Boileplate: [The Unlicense](http://unlicense.org)
* Blueprint CSS: Modified MIT License
* 960 Grid System: MIT/GPL license
* Modernizr: MIT/BSD license
* jQuery: MIT/GPL license

Everything else:

* [The Unlicense](http://unlicense.org) (aka: public domain)

## Summary:

This is a starting WordPress theme made for developers that's based on HTML5 Boilerplate, Blueprint CSS and Starkers that will help you rapidly create brochure sites and blogs.
15 changes: 15 additions & 0 deletions wp-content/themes/eatart.org/archive.php
@@ -0,0 +1,15 @@
<?php get_header(); ?>
<div id="content" class="<?php echo roots_container_class; ?>">
<div id="main" class="<?php echo get_option('roots_main_class'); ?>" role="main">
<div class="container">
<h1><?php single_cat_title(); ?></h1>
<?php get_template_part('loop', 'category'); ?>
</div>
</div><!-- /#main -->
<aside id="sidebar" class="<?php echo get_option('roots_sidebar_class'); ?>" role="complementary">
<div class="container">
<?php get_sidebar(); ?>
</div>
</aside><!-- /#sidebar -->
</div><!-- /#content -->
<?php get_footer(); ?>
99 changes: 99 additions & 0 deletions wp-content/themes/eatart.org/comments.php
@@ -0,0 +1,99 @@
<?php function roots_comments($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?>>
<article id="comment-<?php comment_ID(); ?>">
<header class="comment-author vcard">
<?php echo get_avatar($comment,$size='32'); ?>
<?php printf(__('<cite class="fn">%s</cite>'), get_comment_author_link()) ?>
<time datetime="<?php echo comment_date('c') ?>"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s'), get_comment_date(), get_comment_time()) ?></a></time>
<?php edit_comment_link(__('(Edit)'),' ','') ?>
</header>

<?php if ($comment->comment_approved == '0') : ?>
<div class="notice">
<p class="bottom"><?php _e('Your comment is awaiting moderation.') ?></p>
</div>

<?php endif; ?>

<section class="comment">
<?php comment_text() ?>
</section>

<?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>

</article>
<?php } ?>

<?php
// 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!');

if ( post_password_required() ) { ?>
<section id="comments">
<div class="notice">
<p class="bottom">This post is password protected. Enter the password to view comments.</p>
</div>
</section>
<?php
return;
}
?>
<?php // You can start editing here. ?>
<?php if ( have_comments() ) : ?>
<section id="comments">
<h3><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
<ol class="commentlist">
<?php wp_list_comments('type=comment&callback=roots_comments'); ?>
<?php // wp_list_comments(); ?>
</ol>
<footer>
<nav id="comments-nav">
<div class="comments-previous"><?php previous_comments_link( __( '&larr; Older comments', 'roots' ) ); ?></div>
<div class="comments-next"><?php next_comments_link( __( 'Newer comments &rarr;', 'roots' ) ); ?></div>
</nav>
</footer>
</section>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ( comments_open() ) : ?>
<?php else : // comments are closed ?>
<section id="comments">
<div class="notice">
<p class="bottom">Comments are closed.</p>
</div>
</section>
<?php endif; ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<section id="respond">
<h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3>
<p class="cancel-comment-reply"><?php cancel_comment_reply_link(); ?></p>
<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
<p>You must be <a href="<?php echo wp_login_url( get_permalink() ); ?>">logged in</a> to post a comment.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( is_user_logged_in() ) : ?>
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p>
<?php else : ?>
<p>
<label for="author">Name <?php if ($req) echo "(required)"; ?></label>
<input type="text" class="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?>>
</p>
<p>
<label for="email">Email (will not be published) <?php if ($req) echo "(required)"; ?></label>
<input type="email" class="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?>>
</p>
<p>
<label for="url">Website</label>
<input type="url" class="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3">
</p>
<?php endif; ?>
<p><textarea name="comment" id="comment" rows="10" tabindex="4"></textarea></p>
<p><input name="submit" class="button" type="submit" id="submit" tabindex="5" value="Submit Comment"></p>
<?php comment_id_fields(); ?>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
</section>
<?php endif; // if you delete this the sky will fall on your head ?>

0 comments on commit 3c69844

Please sign in to comment.