|
@@ -2,41 +2,34 @@
|
|
|
|
|
|
|
|
<div id="content">
|
|
<div id="content">
|
|
|
|
|
|
|
|
- <div id="inner-content" class="wrap clearfix">
|
|
|
|
|
|
|
+ <div id="inner-content" class="wrap cf">
|
|
|
|
|
|
|
|
- <div id="main" class="eightcol first clearfix" role="main">
|
|
|
|
|
|
|
+ <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
|
|
|
|
|
|
|
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
|
|
|
|
|
|
|
- <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
|
|
|
|
|
-
|
|
|
|
|
- <header class="article-header">
|
|
|
|
|
-
|
|
|
|
|
- <h1 class="entry-title single-title" itemprop="headline"><?php the_title(); ?></h1>
|
|
|
|
|
- <p class="byline vcard"><?php
|
|
|
|
|
- printf( __( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme' ), get_the_time( 'Y-m-j' ), get_the_time( get_option('date_format')), bones_get_the_author_posts_link(), get_the_category_list(', ') );
|
|
|
|
|
- ?></p>
|
|
|
|
|
-
|
|
|
|
|
- </header>
|
|
|
|
|
-
|
|
|
|
|
- <section class="entry-content clearfix" itemprop="articleBody">
|
|
|
|
|
- <?php the_content(); ?>
|
|
|
|
|
- </section>
|
|
|
|
|
-
|
|
|
|
|
- <footer class="article-footer">
|
|
|
|
|
- <?php the_tags( '<p class="tags"><span class="tags-title">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '</p>' ); ?>
|
|
|
|
|
-
|
|
|
|
|
- </footer>
|
|
|
|
|
-
|
|
|
|
|
- <?php comments_template(); ?>
|
|
|
|
|
-
|
|
|
|
|
- </article>
|
|
|
|
|
|
|
+ <?php
|
|
|
|
|
+ /*
|
|
|
|
|
+ * Ah, post formats. Nature's greatest mystery (aside from the sloth).
|
|
|
|
|
+ *
|
|
|
|
|
+ * So this function will bting in the needed template file depending on what the post
|
|
|
|
|
+ * format is. The different post formats are located in the post-formats folder.
|
|
|
|
|
+ *
|
|
|
|
|
+ *
|
|
|
|
|
+ * REMEMBER TO ALWAYS HAVE A DEFAULT ONE NAMED "format.php" FOR POSTS THAT AREN'T
|
|
|
|
|
+ * A SPECIFIC POST FORMAT.
|
|
|
|
|
+ *
|
|
|
|
|
+ * If you want to remove post formats, just delete the post-formats folder and
|
|
|
|
|
+ * replace the function below with the contents of the "format.php" file.
|
|
|
|
|
+ */
|
|
|
|
|
+ get_template_part( 'post-formats/format', get_post_format() );
|
|
|
|
|
+ ?>
|
|
|
|
|
|
|
|
<?php endwhile; ?>
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php else : ?>
|
|
<?php else : ?>
|
|
|
|
|
|
|
|
- <article id="post-not-found" class="hentry clearfix">
|
|
|
|
|
|
|
+ <article id="post-not-found" class="hentry cf">
|
|
|
<header class="article-header">
|
|
<header class="article-header">
|
|
|
<h1><?php _e( 'Oops, Post Not Found!', 'bonestheme' ); ?></h1>
|
|
<h1><?php _e( 'Oops, Post Not Found!', 'bonestheme' ); ?></h1>
|
|
|
</header>
|
|
</header>
|