Skip to content

Commit

Permalink
Merge pull request #10 from derekpunsalan/v3.0.1
Browse files Browse the repository at this point in the history
v3.0.1
  • Loading branch information
derekpunsalan committed Oct 19, 2014
2 parents bb6a682 + 7df340e commit dd2a20f
Show file tree
Hide file tree
Showing 11 changed files with 92 additions and 145 deletions.
6 changes: 0 additions & 6 deletions comments.php
@@ -1,9 +1,3 @@
<?php
/**
* @package Unstandard
* @since Unstandard 3.0
*/
?>
<div id="comments">
<?php
// Do not delete these lines
Expand Down
7 changes: 1 addition & 6 deletions footer.php
@@ -1,9 +1,4 @@
<?php
/**
* @package Unstandard
* @since Unstandard 3.0
*/
?>

<div id="middle">

<div class="grid-12">
Expand Down
6 changes: 0 additions & 6 deletions header.php
@@ -1,9 +1,3 @@
<?php
/**
* @package Unstandard
* @since Unstandard 3.0
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
Expand Down
7 changes: 1 addition & 6 deletions index.php
@@ -1,9 +1,4 @@
<?php
/**
* @package Unstandard
* @since Unstandard 3.0
*/
get_header(); ?>
<?php get_header(); ?>

<div class="north">

Expand Down
63 changes: 29 additions & 34 deletions page.php
@@ -1,46 +1,41 @@
<?php
/**
* @package TheUnstandard
* @since TheUnstandard 2.0
*/
get_header(); ?>
<?php get_header(); ?>

<div class="north">

<div class="main-column grid-8">

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

<div id="post-<?php the_ID(); ?>" class="single-entry group">

<h2><?php the_title(); ?></h2>

<div class="post-meta group">

<div class="post-date">

<span class="sub-title">Posted</span>

<span class="title"><?php the_time('M jS, Y') ?> <?php edit_post_link('(Edit)', '', ''); ?></span>

</div>

<div class="post-author">

<span class="sub-title">Author</span>

<span class="title"><?php the_author_posts_link(); ?></span>

</div>

<div class="post-comments">

<span class="sub-title">Discuss</span>

<span class="title"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span>

</div>

</div><!-- .post-meta -->

<div <?php post_class('post') ?>>
Expand All @@ -52,27 +47,27 @@
</div>

</div>

<?php comments_template(); ?>

<?php endwhile; else : ?>

<div class="single-entry group">

<h2>Nothing Found</h2>

<p>Oops! It looks like you may have stumbled upon a page that may have existed at one point - but is missing now. Please check the link and try again.</p>

</div>

<?php endif; ?>

</div>

<?php get_sidebar(); ?>

<div class="clear"></div>

</div>

<?php get_footer(); ?>
6 changes: 0 additions & 6 deletions searchform.php
@@ -1,9 +1,3 @@
<?php
/**
* @package Unstandard
* @since Unstandard 3.0
*/
?>
<form class="search-form" method="get" action="<?php echo home_url(); ?>/">

<input class="search-input" type="text" name="s" id="s" value="Type and press enter"/>
Expand Down
6 changes: 0 additions & 6 deletions sidebar.php
@@ -1,9 +1,3 @@
<?php
/**
* @package Unstandard
* @since Unstandard 3.0
*/
?>
<div class="sidebar-column grid-4">

<?php if ( is_single() ) { ?>
Expand Down
7 changes: 1 addition & 6 deletions single.php
@@ -1,9 +1,4 @@
<?php
/**
* @package Unstandard
* @since Unstandard 3.0
*/
get_header(); ?>
<?php get_header(); ?>

<div class="north">

Expand Down
3 changes: 1 addition & 2 deletions style.css
Expand Up @@ -2,14 +2,13 @@
Theme Name: Unstandard
Theme URI: http://5thirtyone.com/unstandard-wordpress-theme/
Description: The Unstandard is a lightweight theme which uses post thumbnails to highlight your content before presenting full text. Customize the themes three widget ready zones, add a custom background or create a custom nested menu. The two column theme includes a full width page for larger photos and a basic archives page to get you started.
Version: 3.0.0
Version: 3.0.1
Author: Derek Punsalan
Author URI: http://5thirtyone.com/
Tags: fixed-width, threaded-comments, custom-background
License:
License URI:
*/

/* -----------------------------------------------------------------------------
Expand Down
68 changes: 32 additions & 36 deletions template-archives.php
@@ -1,99 +1,95 @@
<?php
/**
* @package TheUnstandard
* @since TheUnstandard 2.0
*/
/*
Template Name: Archives Page
*/
get_header(); ?>

<div class="north">

<div class="main-column grid-8">

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

<div id="post-<?php the_ID(); ?>" class="single-entry group">

<h2><?php the_title(); ?></h2>

<div class="post-meta group">

<div class="post-date">

<span class="sub-title">Posted</span>

<span class="title"><?php the_time('M jS, Y') ?> <?php edit_post_link('(Edit)', '', ''); ?></span>

</div>

<div class="post-author">

<span class="sub-title">Author</span>

<span class="title"><?php the_author_posts_link(); ?></span>

</div>

<div class="post-comments">

<span class="sub-title">Discuss</span>

<span class="title"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span>

</div>

</div><!-- .post-meta -->

<div <?php post_class('post') ?>>

<h4>Last 30 Posts</h4>

<ul>
<?php $saved = $wp_query; query_posts('showposts=30'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php $wp_query->is_home = false; ?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a> - <?php the_time(get_option( 'date_format' )); ?></li>
<?php endwhile; endif; $wp_query = $saved; ?>
</ul>

<h4>Categories</h4>

<ul>
<?php wp_list_categories('title_li=&hierarchical=0&show_count=1') ?>
</ul>

<h4>Monthly Archives</h4>

<ul>
<?php wp_get_archives('type=monthly&show_post_count=1') ?>
</ul>

</div>

</div>

<?php comments_template(); ?>

<?php endwhile; else : ?>

<div class="single-entry group">

<h2>Nothing Found</h2>

<p>Oops! It looks like you may have stumbled upon a page that may have existed at one point - but is missing now. Please check the link and try again.</p>

</div>

<?php endif; ?>

</div>

<?php get_sidebar(); ?>

<div class="clear"></div>

</div>

<?php get_footer(); ?>

0 comments on commit dd2a20f

Please sign in to comment.