WordPress.org

Make WordPress Themes

Changes from blankslate/3.3 at r78378 to blankslate/4.0 at r78378


Ignore:
Location:
blankslate
Files:
4 deleted
25 edited

Legend:

Unmodified
Added
Removed
  • blankslate/4.0/404.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <div id="content"> 
    3 <div id="post-0" class="post error404 not-found"> 
    4 <h1 class="entry-title"><?php _e('Not Found', 'blankslate'); ?></h1> 
    5 <div class="entry-content"> 
    6 <p><?php _e('Nothing found for the requested page. Try a search instead?', 'blankslate'); ?></p> 
     2<section id="content" role="main"> 
     3<article id="post-0" class="post not-found"> 
     4<header class="header"> 
     5<h1 class="entry-title"><?php _e( 'Not Found', 'blankslate' ); ?></h1> 
     6</header> 
     7<section class="entry-content"> 
     8<p><?php _e( 'Nothing found for the requested page. Try a search instead?', 'blankslate' ); ?></p> 
    79<?php get_search_form(); ?> 
    8 </div> 
    9 </div> 
    10 </div> 
     10</section> 
     11</article> 
     12</section> 
    1113<?php get_sidebar(); ?> 
    1214<?php get_footer(); ?> 
  • blankslate/4.0/archive.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <div id="content"> 
    3 <?php the_post(); ?> 
    4 <?php if ( is_day() ) : ?> 
    5 <h1 class="page-title"><?php printf( __( 'Daily Archives: %s', 'blankslate' ), '<span>' . get_the_time(get_option('date_format')) . '</span>' ) ?></h1> 
    6 <?php elseif ( is_month() ) : ?> 
    7 <h1 class="page-title"><?php printf( __( 'Monthly Archives: %s', 'blankslate' ), '<span>' . get_the_time('F Y') . '</span>' ) ?></h1> 
    8 <?php elseif ( is_year() ) : ?> 
    9 <h1 class="page-title"><?php printf( __( 'Yearly Archives: %s', 'blankslate' ), '<span>' . get_the_time('Y') . '</span>' ) ?></h1> 
    10 <?php elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) : ?> 
    11 <h1 class="page-title"><?php _e('Blog Archives', 'blankslate' ); ?></h1> 
    12 <?php endif; ?> 
    13 <?php rewind_posts(); ?> 
    14 <?php get_template_part( 'nav', 'above' ); ?> 
    15 <?php while ( have_posts() ) : the_post(); ?> 
    16 <?php get_template_part( 'entry' ); ?> 
    17 <?php endwhile; ?> 
    18 <?php get_template_part( 'nav', 'below' ); ?> 
    19 </div> 
     2<section id="content" role="main"> 
     3<header class="header"> 
     4<h1 class="entry-title"><?php  
     5if ( is_day() ) { printf( __( 'Daily Archives: %s', 'blankslate' ), get_the_time(get_option('date_format') ) ); } 
     6elseif ( is_month() ) { printf( __( 'Monthly Archives: %s', 'blankslate' ), get_the_time('F Y') ); } 
     7elseif ( is_year() ) { printf( __( 'Yearly Archives: %s', 'blankslate' ), get_the_time('Y') ); } 
     8else { _e( 'Archives', 'blankslate' ); } 
     9?></h1> 
     10</header> 
     11<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 
     12<?php get_template_part('entry'); ?> 
     13<?php endwhile; endif; ?> 
     14<?php get_template_part('nav', 'below'); ?> 
     15</section> 
    2016<?php get_sidebar(); ?> 
    2117<?php get_footer(); ?> 
  • blankslate/4.0/attachment.php

    r78378 r78378  
    11<?php get_header(); ?> 
    22<?php global $post; ?> 
    3 <div id="content"> 
    4 <?php the_post(); ?> 
    5 <h1 class="page-title"><?php the_title(); ?> | <a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php printf( __( 'Return to %s', 'blankslate' ), esc_html( get_the_title($post->post_parent), 1 ) ) ?>" rev="attachment"><span class="meta-nav">&laquo; </span><?php echo get_the_title($post->post_parent) ?></a></h1> 
    6 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    7 <?php get_template_part( 'entry', 'meta' ); ?> 
    8 <div class="entry-content"> 
    9 <div id="nav-above" class="navigation"> 
    10 <div class="nav-previous"><?php previous_image_link( false, sprintf(__( ' %s Previous' , 'blankslate' ), '&larr;' ) ); ?></div> 
    11 <div class="nav-next"><?php next_image_link( false, sprintf(__( 'Next %s' , 'blankslate' ), '&rarr;' ) ); ?></div> 
    12 </div> 
     3<section id="content" role="main"> 
     4<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 
     5<header class="header"> 
     6<h1 class="entry-title"><?php the_title(); ?> | <a href="<?php echo get_permalink($post->post_parent); ?>" title="<?php printf( __( 'Return to %s', 'blankslate' ), esc_html( get_the_title($post->post_parent), 1 ) ); ?>" rev="attachment"><span class="meta-nav">&larr; </span><?php echo get_the_title($post->post_parent); ?></a></h1> <?php edit_post_link(); ?> 
     7<?php get_template_part('entry', 'meta'); ?> 
     8</header> 
     9<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
     10<header class="header"> 
     11<nav id="nav-above" class="navigation" role="navigation"> 
     12<div class="nav-previous">&larr; <?php previous_image_link(false); ?></div> 
     13<div class="nav-next"><?php next_image_link(false); ?> &rarr;</div> 
     14</nav> 
     15</header> 
     16<section class="entry-content"> 
    1317<div class="entry-attachment"> 
    1418<?php if ( wp_attachment_is_image( $post->ID ) ) : $att_image = wp_get_attachment_image_src( $post->ID, "large"); ?> 
    15 <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php the_title(); ?>" rel="attachment"><img src="<?php echo $att_image[0];?>" width="<?php echo $att_image[1];?>" height="<?php echo $att_image[2];?>" class="attachment-medium" alt="<?php $post->post_excerpt; ?>" /></a></p> 
     19<p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php the_title(); ?>" rel="attachment"><img src="<?php echo $att_image[0]; ?>" width="<?php echo $att_image[1]; ?>" height="<?php echo $att_image[2]; ?>" class="attachment-medium" alt="<?php $post->post_excerpt; ?>" /></a></p> 
    1620<?php else : ?> 
    17 <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo esc_html( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo basename($post->guid) ?></a> 
     21<a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php echo esc_html(get_the_title($post->ID), 1); ?>" rel="attachment"><?php echo basename($post->guid); ?></a> 
    1822<?php endif; ?> 
    1923</div> 
    20 <div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt() ?></div> 
    21 <?php  
    22 if ( has_post_thumbnail() ) { 
    23 the_post_thumbnail(); 
    24 }  
    25 ?> 
    26 </div> 
    27 <div class="entry-footer"> 
    28 <?php edit_post_link( __( 'Edit', 'blankslate' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?> 
    29 </div> 
    30 </div> 
     24<div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?></div> 
     25<?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?> 
     26</section> 
     27</article> 
    3128<?php comments_template(); ?> 
    32 </div> 
     29<?php endwhile; endif; ?> 
     30</section> 
    3331<?php get_sidebar(); ?> 
    3432<?php get_footer(); ?> 
  • blankslate/4.0/author.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <div id="content"> 
     2<section id="content" role="main"> 
     3<header class="header"> 
    34<?php the_post(); ?> 
    4 <h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'blankslate' ), "<span class=\"vcard\"><a class='url fn n' href='$authordata->user_url' title='$authordata->display_name' rel='me'>$authordata->display_name</a></span>" ) ?></h1> 
    5 <?php $authordesc = $authordata->user_description; if ( !empty($authordesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $authordesc . '</div>' ); ?> 
     5<h1 class="entry-title author"><?php _e( 'Author Archives', 'blankslate' ); ?>: <?php the_author_link(); ?></h1> 
     6<?php if ( '' != get_the_author_meta('user_description') ) echo apply_filters('archive_meta', '<div class="archive-meta">' . get_the_author_meta('user_description') . '</div>'); ?> 
    67<?php rewind_posts(); ?> 
    7 <?php get_template_part( 'nav', 'above' ); ?> 
     8</header> 
    89<?php while ( have_posts() ) : the_post(); ?> 
    9 <?php get_template_part( 'entry' ); ?> 
     10<?php get_template_part('entry'); ?> 
    1011<?php endwhile; ?> 
    11 <?php get_template_part( 'nav', 'below' ); ?> 
    12 </div> 
     12<?php get_template_part('nav', 'below'); ?> 
     13</section> 
    1314<?php get_sidebar(); ?> 
    1415<?php get_footer(); ?> 
  • blankslate/4.0/category.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <div id="content"> 
    3 <?php the_post(); ?> 
    4 <h1 class="page-title"><?php _e( 'Category Archives:', 'blankslate' ) ?> <span><?php single_cat_title() ?></span></h1> 
    5 <?php $categorydesc = category_description(); if ( !empty($categorydesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?> 
    6 <?php rewind_posts(); ?> 
    7 <?php get_template_part( 'nav', 'above' ); ?> 
    8 <?php while ( have_posts() ) : the_post(); ?> 
    9 <?php get_template_part( 'entry' ); ?> 
    10 <?php endwhile; ?> 
    11 <?php get_template_part( 'nav', 'below' ); ?> 
    12 </div> 
     2<section id="content" role="main"> 
     3<header class="header"> 
     4<h1 class="entry-title"><?php _e( 'Category Archives: ', 'blankslate' ); ?><?php single_cat_title(); ?></h1> 
     5<?php if ( '' != category_description() ) echo apply_filters('archive_meta', '<div class="archive-meta">' . category_description() . '</div>'); ?> 
     6</header> 
     7<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 
     8<?php get_template_part('entry'); ?> 
     9<?php endwhile; endif; ?> 
     10<?php get_template_part('nav', 'below'); ?> 
     11</section> 
    1312<?php get_sidebar(); ?> 
    1413<?php get_footer(); ?> 
  • blankslate/4.0/comments.php

    r78378 r78378  
    1 <?php 
    2 if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) ) 
    3 die ( 'Please do not load this page directly.' ); 
    4 if ( post_password_required() ) : 
     1<?php if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) ) return; ?> 
     2<section id="comments"> 
     3<?php  
     4if ( have_comments() ) :  
     5global $comments_by_type; 
     6$comments_by_type = &separate_comments( $comments ); 
     7if ( ! empty($comments_by_type['comment']) ) :  
    58?> 
    6 <div id="comments"> 
    7 <div class="nopassword"><?php _e('This post is password protected. Enter the password to view comments.', 'blankslate') ?></div> 
    8 </div> 
    9 <?php 
    10 return; 
    11 endif; 
    12 ?> 
    13 <div id="comments"> 
    14 <?php if ( have_comments() ) : ?> 
    15 <?php 
    16 $ping_count = $comment_count = 0; 
    17 foreach ( $comments as $comment ) 
    18 get_comment_type() == "comment" ? ++$comment_count : ++$ping_count; 
    19 ?> 
    20 <?php if ( ! empty($comments_by_type['comment']) ) : ?> 
    21 <div id="comments-list" class="comments"> 
    22 <h3><?php echo ($comment_count > 1 ? '<span>'.$comment_count.'</span> '. __('Comments', 'blankslate') : '<span>'. __( 'One', 'blankslate' ) .'</span> '. __('Comment', 'blankslate') ); ?></h3> 
    23 <?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : ?> 
    24 <div id="comments-nav-above" class="comments-navigation"> 
     9<section id="comments-list" class="comments"> 
     10<h3 class="comments-title"><?php comments_number(); ?></h3> 
     11<?php if ( get_comment_pages_count() > 1 ) : ?> 
     12<nav id="comments-nav-above" class="comments-navigation" role="navigation"> 
    2513<div class="paginated-comments-links"><?php paginate_comments_links(); ?></div> 
    26 </div> 
     14</nav> 
    2715<?php endif; ?> 
    2816<ul> 
    29 <?php wp_list_comments('type=comment&callback=blankslate_custom_comments'); ?> 
     17<?php wp_list_comments('type=comment'); ?> 
    3018</ul> 
    31 <?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : ?> 
    32 <div id="comments-nav-below" class="comments-navigation"> 
     19<?php if ( get_comment_pages_count() > 1 ) : ?> 
     20<nav id="comments-nav-below" class="comments-navigation" role="navigation"> 
    3321<div class="paginated-comments-links"><?php paginate_comments_links(); ?></div> 
    34 </div> 
     22</nav> 
    3523<?php endif; ?> 
    36 </div> 
     24</section> 
    3725<?php  
    3826endif;  
    39 global $comments_by_type; 
    40 $comments_by_type = &separate_comments( $comments ); 
    41 if ( ! empty($comments_by_type['pings']) ) : ?> 
    42 <div id="trackbacks-list" class="comments"> 
    43 <h3><?php echo($ping_count > 1 ? '<span>'.$ping_count.'</span> '.__('Trackbacks', 'blankslate') : '<span>'. __('One', 'blankslate' ) .'</span> '. __('Trackback', 'blankslate') ); ?></h3> 
     27if ( ! empty($comments_by_type['pings']) ) :  
     28$ping_count = count($comments_by_type['pings']);  
     29?> 
     30<section id="trackbacks-list" class="comments"> 
     31<h3 class="comments-title"><?php echo '<span>'.$ping_count.'</span> '.($ping_count > 1 ? __( 'Trackbacks', 'blankslate' ) : __( 'Trackback', 'blankslate' ) ); ?></h3> 
    4432<ul> 
    4533<?php wp_list_comments('type=pings&callback=blankslate_custom_pings'); ?> 
    4634</ul> 
    47 </div> 
    48 <?php endif; ?> 
    49 <?php endif; ?> 
    50 <?php if ( comments_open() ) : ?> 
    51 <div id="respond"> 
    52 <?php comment_form(); ?> 
    53 </div> 
    54 <?php endif; ?> 
    55 </div> 
     35</section> 
     36<?php  
     37endif;  
     38endif; 
     39if ( comments_open() ) comment_form(); 
     40?> 
     41</section> 
  • blankslate/4.0/entry-content.php

    r78378 r78378  
    1 <div class="entry-content"> 
    2 <?php  
    3 if ( has_post_thumbnail() ) { 
    4 the_post_thumbnail(); 
    5 }  
    6 ?> 
     1<section class="entry-content"> 
     2<?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?> 
    73<?php the_content(); ?> 
    8 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'blankslate' ) . '&after=</div>') ?> 
    9 </div> 
     4<div class="entry-links"><?php wp_link_pages(); ?></div> 
     5</section> 
  • blankslate/4.0/entry-footer.php

    r78378 r78378  
    1 <?php global $post; if ( 'post' == $post->post_type ) : ?> 
    2 <div class="entry-footer"> 
    3 <?php  
    4 if ( is_category() && $catz = blankslate_catz(', ') ) : // ?> 
    5 <span class="cat-links"><?php printf( __( 'Also posted in %s', 'blankslate' ), $catz ); ?></span> 
    6 <span class="meta-sep"> | </span> 
    7 <?php else : ?> 
    8 <span class="cat-links"><span class="entry-footer-prep entry-footer-prep-cat-links"> 
    9 <?php _e( 'Posted in ', 'blankslate' ); ?></span><?php echo get_the_category_list(', '); ?></span> 
    10 <span class="meta-sep"> | </span> 
    11 <?php endif; ?> 
    12 <?php if ( is_tag() && $tag_it = blankslate_tag_it(', ') ) : // ?> 
    13 <span class="tag-links"><?php printf( __( 'Also tagged %s', 'blankslate' ), $tag_it ); ?></span> 
    14 <?php else : ?> 
    15 <?php the_tags( '<span class="tag-links"><span class="entry-footer-prep entry-footer-prep-tag-links">' . __('Tagged ', 'blankslate' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\"> | </span>\n" ); ?> 
    16 <?php endif; ?> 
    17 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'blankslate' ), __( '1 Comment', 'blankslate' ), __( '% Comments', 'blankslate' ) ); ?></span> 
    18 <?php edit_post_link( __( 'Edit', 'blankslate' ), "<span class=\"meta-sep\"> | </span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?> 
    19 </div> 
    20 <?php endif; ?> 
     1<footer class="entry-footer"> 
     2<span class="cat-links"><?php _e( 'Categories: ', 'blankslate' ); ?><?php the_category(', '); ?></span> 
     3<span class="tag-links"><?php the_tags(); ?></span> 
     4</footer>  
  • blankslate/4.0/entry-meta.php

    r78378 r78378  
    1 <?php global $authordata; ?> 
    2 <div class="entry-meta"> 
    3 <span class="meta-prep meta-prep-author"><?php _e('By', 'blankslate'); ?> </span> 
    4 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>" title="<?php printf( __( 'View all articles by %s', 'blankslate' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 
     1<section class="entry-meta"> 
     2<span class="author vcard"><?php the_author_posts_link(); ?></span> 
    53<span class="meta-sep"> | </span> 
    6 <span class="meta-prep meta-prep-entry-date"><?php _e('Published', 'blankslate'); ?> </span> 
    7 <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr></span> 
    8 <?php edit_post_link( __( 'Edit', 'blankslate' ), "<span class=\"meta-sep\"> | </span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> 
    9 </div> 
     4<span class="entry-date"><?php the_time( get_option('date_format') ); ?></span> 
     5</section> 
  • blankslate/4.0/entry-summary.php

    r78378 r78378  
    1 <div class="entry-summary"> 
    2 <?php the_excerpt( sprintf(__( 'continue reading %s', 'blankslate' ), '<span class="meta-nav">&rarr;</span>' )  ); ?> 
    3 <?php if(is_search()) { 
    4 wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'blankslate' ) . '&after=</div>'); 
    5 } 
    6 ?> 
    7 </div>  
     1<section class="entry-summary"> 
     2<?php the_excerpt(); ?> 
     3<?php if(is_search()) { ?><div class="entry-links"><?php wp_link_pages(); ?></div><?php } ?> 
     4</section> 
  • blankslate/4.0/entry.php

    r78378 r78378  
    1 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    2 <?php if ( is_singular() ) {echo '<h1 class="entry-title">';} else {echo '<h2 class="entry-title">';} ?><a href="<?php the_permalink(); ?>" title="<?php printf( __('Read %s', 'blankslate'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a><?php if ( is_singular() ) {echo '</h1>';} else {echo '</h2>';} ?> 
    3 <?php get_template_part( 'entry', 'meta' ); ?> 
    4 <?php 
    5 if(is_archive() || is_search()){ 
    6 get_template_part('entry','summary'); 
    7 } else { 
    8 get_template_part('entry','content'); 
    9 } 
    10 ?> 
    11 <?php  
    12 if ( is_single() ) { 
    13 get_template_part( 'entry-footer', 'single' );  
    14 } else { 
    15 get_template_part( 'entry-footer' );  
    16 } 
    17 ?> 
    18 </div>  
     1<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
     2<header> 
     3<?php if ( is_singular() ) {echo '<h1 class="entry-title">';} else {echo '<h2 class="entry-title">';} ?><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a><?php if ( is_singular() ) {echo '</h1>';} else {echo '</h2>';} ?> <?php edit_post_link(); ?> 
     4<?php if (!is_search()) get_template_part('entry', 'meta'); ?> 
     5</header> 
     6<?php get_template_part('entry', (is_archive() || is_search() ? 'summary' : 'content')); ?> 
     7<?php if (!is_search()) get_template_part('entry-footer'); ?> 
     8</article> 
  • blankslate/4.0/footer.php

    r78378 r78378  
    1 <div class="clear"></div> 
    21</div> 
    3 <footer> 
     2<footer id="footer" role="contentinfo"> 
    43<div id="copyright"> 
    54<?php echo sprintf( __( '%1$s %2$s %3$s. All Rights Reserved.', 'blankslate' ), '&copy;', date('Y'), esc_html(get_bloginfo('name')) ); echo sprintf( __( ' Theme By: %1$s.', 'blankslate' ), '<a href="http://tidythemes.com/">TidyThemes</a>' ); ?> 
  • blankslate/4.0/functions.php

    r78378 r78378  
    11<?php 
    22add_action('after_setup_theme', 'blankslate_setup'); 
    3 function blankslate_setup(){ 
     3function blankslate_setup() 
     4{ 
    45load_theme_textdomain('blankslate', get_template_directory() . '/languages'); 
    5 add_theme_support( 'automatic-feed-links' ); 
    6 add_theme_support( 'post-thumbnails' ); 
     6add_theme_support('automatic-feed-links'); 
     7add_theme_support('post-thumbnails'); 
    78global $content_width; 
    89if ( ! isset( $content_width ) ) $content_width = 640; 
     
    1112); 
    1213} 
     14add_action('wp_enqueue_scripts', 'blankslate_load_scripts'); 
     15function blankslate_load_scripts() 
     16{ 
     17wp_enqueue_script('jquery'); 
     18} 
    1319add_action('comment_form_before', 'blankslate_enqueue_comment_reply_script'); 
    1420function blankslate_enqueue_comment_reply_script() 
    1521{ 
    16 if(get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } 
     22if (get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } 
    1723} 
    1824add_filter('the_title', 'blankslate_title'); 
    1925function blankslate_title($title) { 
    2026if ($title == '') { 
    21 return 'Untitled'; 
     27return '&rarr;'; 
    2228} else { 
    2329return $title; 
     
    2935return $title . esc_attr(get_bloginfo('name')); 
    3036} 
    31 add_filter('comment_form_defaults', 'blankslate_comment_form_defaults'); 
    32 function blankslate_comment_form_defaults( $args ) 
     37add_action('widgets_init', 'blankslate_widgets_init'); 
     38function blankslate_widgets_init() 
    3339{ 
    34 $req = get_option( 'require_name_email' ); 
    35 $required_text = sprintf( ' ' . __('Required fields are marked %s', 'blankslate'), '<span class="required">*</span>' ); 
    36 $args['comment_notes_before'] = '<p class="comment-notes">' . __('Your email is kept private.', 'blankslate') . ( $req ? $required_text : '' ) . '</p>'; 
    37 $args['title_reply'] = __('Post a Comment', 'blankslate'); 
    38 $args['title_reply_to'] = __('Post a Reply to %s', 'blankslate'); 
    39 return $args; 
    40 } 
    41 add_action( 'init', 'blankslate_add_shortcodes' ); 
    42 function blankslate_add_shortcodes() { 
    43 add_shortcode('wp_caption', 'fixed_img_caption_shortcode'); 
    44 add_shortcode('caption', 'fixed_img_caption_shortcode'); 
    45 add_filter('img_caption_shortcode', 'blankslate_img_caption_shortcode_filter',10,3); 
    46 add_filter('widget_text', 'do_shortcode'); 
    47 } 
    48 function blankslate_img_caption_shortcode_filter($val, $attr, $content = null) 
    49 { 
    50 extract(shortcode_atts(array( 
    51 'id'    => '', 
    52 'align' => '', 
    53 'width' => '', 
    54 'caption' => '' 
    55 ), $attr)); 
    56 if ( 1 > (int) $width || empty($caption) ) 
    57 return $val; 
    58 $capid = ''; 
    59 if ( $id ) { 
    60 $id = esc_attr($id); 
    61 $capid = 'id="figcaption_'. $id . '" '; 
    62 $id = 'id="' . $id . '" aria-labelledby="figcaption_' . $id . '" '; 
    63 } 
    64 return '<figure ' . $id . 'class="wp-caption ' . esc_attr($align) . '" style="width: ' 
    65 . (10 + (int) $width) . 'px">' . do_shortcode( $content ) . '<figcaption ' . $capid  
    66 . 'class="wp-caption-text">' . $caption . '</figcaption></figure>'; 
    67 } 
    68 add_action( 'widgets_init', 'blankslate_widgets_init' ); 
    69 function blankslate_widgets_init() { 
    7040register_sidebar( array ( 
    7141'name' => __('Sidebar Widget Area', 'blankslate'), 
     
    7747) ); 
    7848} 
    79 $preset_widgets = array ( 
    80 'primary-aside'  => array( 'search', 'pages', 'categories', 'archives' ), 
    81 ); 
    82 function blankslate_get_page_number() { 
    83 if (get_query_var('paged')) { 
    84 print ' | ' . __( 'Page ' , 'blankslate') . get_query_var('paged'); 
     49function blankslate_custom_pings($comment) 
     50{ 
     51$GLOBALS['comment'] = $comment; 
     52?> 
     53<li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>"><?php echo comment_author_link(); ?></li> 
     54<?php  
     55} 
     56add_filter('get_comments_number', 'blankslate_comments_number'); 
     57function blankslate_comments_number($count) 
     58{ 
     59if (!is_admin()) { 
     60global $id; 
     61$comments_by_type = &separate_comments( get_comments( 'status=approve&post_id=' . $id ) ); 
     62return count($comments_by_type['comment']); 
     63} else { 
     64return $count; 
    8565} 
    8666} 
    87 function blankslate_catz($glue) { 
    88 $current_cat = single_cat_title( '', false ); 
    89 $separator = "\n"; 
    90 $cats = explode( $separator, get_the_category_list($separator) ); 
    91 foreach ( $cats as $i => $str ) { 
    92 if ( strstr( $str, ">$current_cat<" ) ) { 
    93 unset($cats[$i]); 
    94 break; 
    95 } 
    96 } 
    97 if ( empty($cats) ) 
    98 return false; 
    99 return trim(join( $glue, $cats )); 
    100 } 
    101 function blankslate_tag_it($glue) { 
    102 $current_tag = single_tag_title( '', '',  false ); 
    103 $separator = "\n"; 
    104 $tags = explode( $separator, get_the_tag_list( "", "$separator", "" ) ); 
    105 foreach ( $tags as $i => $str ) { 
    106 if ( strstr( $str, ">$current_tag<" ) ) { 
    107 unset($tags[$i]); 
    108 break; 
    109 } 
    110 } 
    111 if ( empty($tags) ) 
    112 return false; 
    113 return trim(join( $glue, $tags )); 
    114 } 
    115 function blankslate_commenter_link() { 
    116 $commenter = get_comment_author_link(); 
    117 if ( ereg( '<a[^>]* class=[^>]+>', $commenter ) ) { 
    118 $commenter = preg_replace( '/(<a[^>]* class=[\'"]?)/', '\\1url ' , $commenter ); 
    119 } else { 
    120 $commenter = preg_replace( '/(<a )/', '\\1class="url "' , $commenter ); 
    121 } 
    122 $avatar_email = get_comment_author_email(); 
    123 $avatar = str_replace( "class='avatar", "class='photo avatar", get_avatar( $avatar_email, 80 ) ); 
    124 echo $avatar . ' <span class="fn n">' . $commenter . '</span>'; 
    125 } 
    126 function blankslate_custom_comments($comment, $args, $depth) { 
    127 $GLOBALS['comment'] = $comment; 
    128 $GLOBALS['comment_depth'] = $depth; 
    129 ?> 
    130 <li id="comment-<?php comment_ID() ?>" <?php comment_class() ?>> 
    131 <div class="comment-author vcard"><?php blankslate_commenter_link() ?></div> 
    132 <div class="comment-meta"><?php printf(__('Posted %1$s at %2$s', 'blankslate' ), get_comment_date(), get_comment_time() ); ?><span class="meta-sep"> | </span> <a href="#comment-<?php echo get_comment_ID(); ?>" title="<?php _e('Permalink to this comment', 'blankslate' ); ?>"><?php _e('Permalink', 'blankslate' ); ?></a> 
    133 <?php edit_comment_link(__('Edit', 'blankslate'), ' <span class="meta-sep"> | </span> <span class="edit-link">', '</span>'); ?></div> 
    134 <?php if ($comment->comment_approved == '0') { echo '\t\t\t\t\t<span class="unapproved">'; _e('Your comment is awaiting moderation.', 'blankslate'); echo '</span>\n'; } ?> 
    135 <div class="comment-content"> 
    136 <?php comment_text() ?> 
    137 </div> 
    138 <?php 
    139 if($args['type'] == 'all' || get_comment_type() == 'comment') : 
    140 comment_reply_link(array_merge($args, array( 
    141 'reply_text' => __('Reply','blankslate'), 
    142 'login_text' => __('Login to reply.', 'blankslate'), 
    143 'depth' => $depth, 
    144 'before' => '<div class="comment-reply-link">', 
    145 'after' => '</div>' 
    146 ))); 
    147 endif; 
    148 ?> 
    149 <?php } 
    150 function blankslate_custom_pings($comment, $args, $depth) { 
    151 $GLOBALS['comment'] = $comment; 
    152 ?> 
    153 <li id="comment-<?php comment_ID() ?>" <?php comment_class() ?>> 
    154 <div class="comment-author"><?php printf(__('By %1$s on %2$s at %3$s', 'blankslate'), 
    155 get_comment_author_link(), 
    156 get_comment_date(), 
    157 get_comment_time() ); 
    158 edit_comment_link(__('Edit', 'blankslate'), ' <span class="meta-sep"> | </span> <span class="edit-link">', '</span>'); ?></div> 
    159 <?php if ($comment->comment_approved == '0') { echo '\t\t\t\t\t<span class="unapproved">'; _e('Your trackback is awaiting moderation.', 'blankslate'); echo '</span>\n'; } ?> 
    160 <div class="comment-content"> 
    161 <?php comment_text() ?> 
    162 </div> 
    163 <?php } 
  • blankslate/4.0/header.php

    r78378 r78378  
    22<html <?php language_attributes(); ?>> 
    33<head> 
    4 <meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
     4<meta charset="<?php bloginfo('charset'); ?>" /> 
     5<meta name="viewport" content="width=device-width" /> 
    56<title><?php wp_title(' | ', true, 'right'); ?></title> 
    67<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>" /> 
     
    910<body <?php body_class(); ?>> 
    1011<div id="wrapper" class="hfeed"> 
    11 <header> 
    12 <div id="branding"> 
    13 <div id="site-title"><?php if ( is_singular() ) {} else {echo '<h1>';} ?><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo( 'name' ) ?>" rel="home"><?php bloginfo( 'name' ) ?></a><?php if ( is_singular() ) {} else {echo '</h1>';} ?></div> 
    14 <p id="site-description"><?php bloginfo( 'description' ) ?></p> 
    15 </div> 
    16 <nav> 
     12<header id="header" role="banner"> 
     13<section id="branding"> 
     14<div id="site-title"><?php if ( ! is_singular() ) {echo '<h1>';} ?><a href="<?php echo esc_url(home_url('/')); ?>" title="<?php esc_attr_e( get_bloginfo('name'), 'blankslate' ); ?>" rel="home"><?php echo esc_html( get_bloginfo('name') ); ?></a><?php if ( ! is_singular() ) {echo '</h1>';} ?></div> 
     15<div id="site-description"><?php bloginfo('description'); ?></div> 
     16</section> 
     17<nav id="menu" role="navigation"> 
    1718<div id="search"> 
    1819<?php get_search_form(); ?> 
  • blankslate/4.0/index.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <div id="content"> 
    3 <?php get_template_part( 'nav', 'above' ); ?> 
    4 <?php while ( have_posts() ) : the_post() ?> 
    5 <?php get_template_part( 'entry' ); ?> 
     2<section id="content" role="main"> 
     3<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 
     4<?php get_template_part('entry'); ?> 
    65<?php comments_template(); ?> 
    7 <?php endwhile; ?> 
    8 <?php get_template_part( 'nav', 'below' ); ?> 
    9 </div> 
     6<?php endwhile; endif; ?> 
     7<?php get_template_part('nav', 'below'); ?> 
     8</section> 
    109<?php get_sidebar(); ?> 
    1110<?php get_footer(); ?> 
  • blankslate/4.0/nav-below-single.php

    r78378 r78378  
    1 <div id="nav-below" class="navigation"> 
    2 <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ) ?></div> 
    3 <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ) ?></div> 
    4 </div> 
     1<nav id="nav-below" class="navigation" role="navigation"> 
     2<div class="nav-previous"><?php previous_post_link('%link', '<span class="meta-nav">&larr;</span> %title'); ?></div> 
     3<div class="nav-next"><?php next_post_link('%link', '%title <span class="meta-nav">&rarr;</span>'); ?></div> 
     4</nav> 
  • blankslate/4.0/nav-below.php

    r78378 r78378  
    1 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> 
    2 <div id="nav-below" class="navigation"> 
    3 <div class="nav-previous"><?php next_posts_link(sprintf(__( '%s older articles', 'blankslate' ),'<span class="meta-nav">&larr;</span>')) ?></div> 
    4 <div class="nav-next"><?php previous_posts_link(sprintf(__( 'newer articles %s', 'blankslate' ),'<span class="meta-nav">&rarr;</span>')) ?></div> 
    5 </div> 
     1<?php global $wp_query; if ( $wp_query->max_num_pages > 1 ) { ?> 
     2<nav id="nav-below" class="navigation" role="navigation"> 
     3<div class="nav-previous"><?php next_posts_link(sprintf(__( '%s older', 'blankslate' ), '<span class="meta-nav">&larr;</span>' )) ?></div> 
     4<div class="nav-next"><?php previous_posts_link(sprintf(__( 'newer %s', 'blankslate' ), '<span class="meta-nav">&rarr;</span>' )) ?></div> 
     5</nav> 
    66<?php } ?> 
  • blankslate/4.0/page.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <article id="content"> 
    3 <?php the_post(); ?> 
    4 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    5 <h1 class="entry-title"><?php the_title(); ?></h1> 
    6 <div class="entry-content"> 
    7 <?php  
    8 if ( has_post_thumbnail() ) { 
    9 the_post_thumbnail(); 
    10 }  
    11 ?> 
     2<section id="content" role="main"> 
     3<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 
     4<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
     5<header class="header"> 
     6<h1 class="entry-title"><?php the_title(); ?></h1> <?php edit_post_link(); ?> 
     7</header> 
     8<section class="entry-content"> 
     9<?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?> 
    1210<?php the_content(); ?> 
    13 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'blankslate' ) . '&after=</div>') ?> 
    14 <?php edit_post_link( __( 'Edit', 'blankslate' ), '<div class="edit-link">', '</div>' ) ?> 
    15 </div> 
    16 </div> 
    17 <?php comments_template( '', true ); ?> 
     11<div class="entry-links"><?php wp_link_pages(); ?></div> 
     12</section> 
    1813</article> 
     14<?php if ( ! post_password_required() ) comments_template('', true); ?> 
     15<?php endwhile; endif; ?> 
     16</section> 
    1917<?php get_sidebar(); ?> 
    2018<?php get_footer(); ?> 
  • blankslate/4.0/readme.txt

    r78378 r78378  
    22 
    33YOU MAY DELETE THIS FILE AND ANY OTHER FILE(S) BEFORE STARTING YOUR PROJECT 
     4 
     5If you're creating your own theme/client project open up all files and do a 
     6"Find and Replace All in All Files" on the word "blankslate" with your own slug/prefix. 
    47 
    58- - THEME - - 
     
    912- - DESCRIPTION - - 
    1013 
    11 This theme is aimed at web professionals, but is of course available and supported for anyone. 
     14This theme is aimed at web pros, but is of course available and supported for anyone. 
    1215 
    13 The bare essentials of a WordPress theme, no visual CSS styles added except for the CSS reset and the mandatory WP classes.  
    14 Perfect for those who would like to build their own theme completely from scratch. 
     16The bare essentials of a WordPress theme, no visual CSS styles added except for the CSS 
     17reset and the mandatory WP classes. Perfect for those who would like to build their own 
     18theme completely from scratch. 
    1519 
    1620One custom menu and one widgetized sidebar to get you started. 
    1721 
    18 If you'd like a jumpstart with CSS and more custom menus, page templates and widgetized areas, checkout SuperSimple: 
    19 tidythemes.com/supersimple 
     22If you'd like a jumpstart with a CSS framework and more custom menus, page templates 
     23and widgetized areas, checkout SuperSimple: tidythemes.com/supersimple 
    2024 
    21 - - LICENSE - - 
     25- - COPYRIGHT & LICENSE - - 
    2226 
    23 Technical Stuff: GNU General Public License | https://www.gnu.org/licenses/gpl.html 
     27In its unchanged/original state BlankSlate is... 
    2428 
    25 Friendly Stuff: 
    26 BlankSlate is 100% free and open source:  
    27 perfect to build your own themes or use as a base for client projects. 
     29© 2011-2013 TidyThemes 
     30GNU General Public License | https://www.gnu.org/licenses/gpl.html 
     31 
     32...however, once you've significantly changed the theme to build your own unique project, 
     33either for yourself or for a client under a different name (as is encouraged) you're 
     34entirely welcome to copyright and license that project as you see fit. 
    2835 
    2936- - SUPPORT - - 
  • blankslate/4.0/search.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <div id="content"> 
     2<section id="content" role="main"> 
    33<?php if ( have_posts() ) : ?> 
    4 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'blankslate' ), '<span>' . get_search_query()  . '</span>' ); ?></h1> 
    5 <?php get_template_part( 'nav', 'above' ); ?> 
    6 <?php while ( have_posts() ) : the_post() ?> 
    7 <?php get_template_part( 'entry' ); ?> 
     4<header class="header"> 
     5<h1 class="entry-title"><?php printf( __( 'Search Results for: %s', 'blankslate' ), get_search_query() ); ?></h1> 
     6</header> 
     7<?php while ( have_posts() ) : the_post(); ?> 
     8<?php get_template_part('entry'); ?> 
    89<?php endwhile; ?> 
    9 <?php get_template_part( 'nav', 'below' ); ?> 
     10<?php get_template_part('nav', 'below'); ?> 
    1011<?php else : ?> 
    11 <div id="post-0" class="post no-results not-found"> 
    12 <h2 class="entry-title"><?php _e( 'Nothing Found', 'blankslate' ) ?></h2> 
    13 <div class="entry-content"> 
     12<article id="post-0" class="post no-results not-found"> 
     13<header class="header"> 
     14<h2 class="entry-title"><?php _e( 'Nothing Found', 'blankslate' ); ?></h2> 
     15</header> 
     16<section class="entry-content"> 
    1417<p><?php _e( 'Sorry, nothing matched your search. Please try again.', 'blankslate' ); ?></p> 
    1518<?php get_search_form(); ?> 
    16 </div> 
    17 </div> 
     19</section> 
     20</article> 
    1821<?php endif; ?> 
    19 </div> 
     22</section> 
    2023<?php get_sidebar(); ?> 
    2124<?php get_footer(); ?> 
  • blankslate/4.0/sidebar.php

    r78378 r78378  
    1 <aside id="sidebar"> 
     1<aside id="sidebar" role="complementary"> 
    22<?php if ( is_active_sidebar('primary-widget-area') ) : ?> 
    33<div id="primary" class="widget-area"> 
    4 <ul class="sid"> 
     4<ul class="xoxo"> 
    55<?php dynamic_sidebar('primary-widget-area'); ?> 
    66</ul> 
  • blankslate/4.0/single.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <article id="content"> 
    3 <?php get_template_part( 'nav', 'above-single' ); ?> 
     2<section id="content" role="main"> 
    43<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 
    5 <?php get_template_part( 'entry' ); ?> 
    6 <?php comments_template('', true); ?> 
     4<?php get_template_part('entry'); ?> 
     5<?php if ( ! post_password_required() ) comments_template('', true); ?> 
    76<?php endwhile; endif; ?> 
    8 <?php get_template_part( 'nav', 'below-single' ); ?> 
    9 </article> 
     7<footer class="footer"> 
     8<?php get_template_part('nav', 'below-single'); ?> 
     9</footer> 
     10</section> 
    1011<?php get_sidebar(); ?> 
    1112<?php get_footer(); ?> 
  • blankslate/4.0/style.css

    r78378 r78378  
    11/* 
    22Theme Name: BlankSlate 
    3 Description: 3.0+ has been completely and massively overhauled. DO NOT UPGRADE current projects (anything below 3.0) to this version automatically. You will lose all customizations whether you're using a child theme or not. BEFORE USING AND ESPECIALLY UPGRADING IN GENERAL PLEASE READ: tidythemes.com/concept. The bare essentials of a WordPress theme (an HTML5 boilerplate), no visual CSS styles added. Perfect for those who would like to build their own theme from scratch or for clients if you're a developer or designer. This theme is clean, valid code, semi-minified, no programmer comments, SEO-friendly and 100% open source. One custom menu and one widgetized sidebar to get you started. If you don't know CSS and would like to learn we've prepared: tidythemes.com/want-to-learn-css and please visit us in the forum for further help: tidythemes.com/forum - Thank You and Enjoy 
     3Theme URI: http://wordpress.org/themes/blankslate 
    44Author: TidyThemes 
    55Author URI: http://tidythemes.com/ 
    6 Version: 3.3 
    7 Tags: black, blue, white, light, one-column, flexible-width, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready 
     6Description: <strong>UPDATE</strong> - 4.0+ is here, completely overhauled, yet again. As always, <a href="http://tidythemes.com/concept/#upgrading">use caution when upgrading</a> and <a href="http://tidythemes.com/concept/">learn the TidyThemes concept</a>. &nbsp; &rarr; <em><strong>CAUTION</strong>: If you're child theming or have clients that are child theming on top of BlankSlate (not the recommended use), please do not blindly upgrade to newer versions.</em> &nbsp; &rarr; <strong>DESCRIPTION</strong>: BlankSlate is the definitive WordPress HTML5 boilerplate starter theme. We've carefully constructed the most clean and minimalist theme available anywhere for designers/developers to use as a base/foundation to build websites for clients or to build completely custom themes from scratch to release faster. Clean, semi-minified, unformatted and valid code, SEO-friendly, no programmer comments, standardized and as white label as possible and most importantly, CSS reset for cross-browser-compatability and no intrusive visual CSS styles added whatsoever. A perfect skeleton theme that blows any others like it (the subsequent underscores.me for example) completely out of the water, as they're simply too overcomplicated for what people really want in this kind of theme. Now comes with jQuery enqueued and ready to go. &nbsp; &rarr; <strong>SUPPORT</strong>: Please use the <a href="http://tidythemes.com/forum/">official support forum</a>. Comments and suggestions for improving BlankSlate, please see "<a href="http://tidythemes.com/tidythemes-sucks/">TidyThemes Sucks!</a>". Just getting started? <a href="http://tidythemes.com/want-to-learn-css/">Want to learn CSS?</a> &nbsp; &rarr; <strong>WHAT'S NEW?</strong>: We stripped down as much custom, extraneous, superfluous junk code as we could and greatly improved the HTML5 structure. <a href="http://make.wordpress.org/themes/author/chipbennett/">Chip Bennett</a>, a highly experienced programmer and official WordPress administrator, worked closely with us to audit the theme code for quality. <a href="http://themes.trac.wordpress.org/changeset?old_path=/blankslate/3.3&new_path=/blankslate/4.0">See</a> just how much we've revamped things. Last, but not least, BlankSlate has now been <a href="https://github.com/tidythemes/blankslate">opened up on GitHub</a> if anyone would like to make suggested code additions/improvements. Thank you for using BlankSlate. 
     7Version: 4.0 
    88License: GNU General Public License 
    99License URI: https://www.gnu.org/licenses/gpl.html 
     10Tags: black, blue, white, light, one-column, flexible-width, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready 
     11Text Domain: blankslate 
     12 
     13BlankSlate WordPress Theme © 2011-2013 TidyThemes 
     14BlankSlate is distributed under the terms of the GNU GPL 
    1015*/ 
    1116 
  • blankslate/4.0/tag.php

    r78378 r78378  
    11<?php get_header(); ?> 
    2 <div id="content"> 
    3 <?php the_post(); ?> 
    4 <h1 class="page-title"><?php _e( 'Tag Archives:', 'blankslate' ) ?> <span><?php single_tag_title() ?></span></h1> 
    5 <?php rewind_posts(); ?> 
    6 <?php get_template_part( 'nav', 'above' ); ?> 
    7 <?php while ( have_posts() ) : the_post(); ?> 
    8 <?php get_template_part( 'entry' ); ?> 
    9 <?php endwhile; ?> 
    10 <?php get_template_part( 'nav', 'below' ); ?> 
    11 </div> 
     2<section id="content" role="main"> 
     3<header class="header"> 
     4<h1 class="entry-title"><?php _e( 'Tag Archives: ', 'blankslate' ); ?><span><?php single_tag_title(); ?></span></h1> 
     5</header> 
     6<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 
     7<?php get_template_part('entry'); ?> 
     8<?php endwhile; endif; ?> 
     9<?php get_template_part('nav', 'below'); ?> 
     10</section> 
    1211<?php get_sidebar(); ?> 
    1312<?php get_footer(); ?> 
Note: See TracChangeset for help on using the changeset viewer.