|
@@ -6,41 +6,11 @@
|
|
|
|
|
|
|
|
<main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
|
|
<main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
|
|
|
|
|
|
|
|
- <?php if (is_category()) { ?>
|
|
|
|
|
- <h1 class="archive-title h2">
|
|
|
|
|
- <span><?php _e( 'Posts Categorized:', 'bonestheme' ); ?></span> <?php single_cat_title(); ?>
|
|
|
|
|
- </h1>
|
|
|
|
|
-
|
|
|
|
|
- <?php } elseif (is_tag()) { ?>
|
|
|
|
|
- <h1 class="archive-title h2">
|
|
|
|
|
- <span><?php _e( 'Posts Tagged:', 'bonestheme' ); ?></span> <?php single_tag_title(); ?>
|
|
|
|
|
- </h1>
|
|
|
|
|
-
|
|
|
|
|
- <?php } elseif (is_author()) {
|
|
|
|
|
- global $post;
|
|
|
|
|
- $author_id = $post->post_author;
|
|
|
|
|
|
|
+ <?php
|
|
|
|
|
+ the_archive_title( '<h1 class="page-title">', '</h1>' );
|
|
|
|
|
+ the_archive_description( '<div class="taxonomy-description">', '</div>' );
|
|
|
?>
|
|
?>
|
|
|
- <h1 class="archive-title h2">
|
|
|
|
|
-
|
|
|
|
|
- <span><?php _e( 'Posts By:', 'bonestheme' ); ?></span> <?php the_author_meta('display_name', $author_id); ?>
|
|
|
|
|
-
|
|
|
|
|
- </h1>
|
|
|
|
|
- <?php } elseif (is_day()) { ?>
|
|
|
|
|
- <h1 class="archive-title h2">
|
|
|
|
|
- <span><?php _e( 'Daily Archives:', 'bonestheme' ); ?></span> <?php the_time('l, F j, Y'); ?>
|
|
|
|
|
- </h1>
|
|
|
|
|
-
|
|
|
|
|
- <?php } elseif (is_month()) { ?>
|
|
|
|
|
- <h1 class="archive-title h2">
|
|
|
|
|
- <span><?php _e( 'Monthly Archives:', 'bonestheme' ); ?></span> <?php the_time('F Y'); ?>
|
|
|
|
|
- </h1>
|
|
|
|
|
-
|
|
|
|
|
- <?php } elseif (is_year()) { ?>
|
|
|
|
|
- <h1 class="archive-title h2">
|
|
|
|
|
- <span><?php _e( 'Yearly Archives:', 'bonestheme' ); ?></span> <?php the_time('Y'); ?>
|
|
|
|
|
- </h1>
|
|
|
|
|
- <?php } ?>
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<?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( 'cf' ); ?> role="article">
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article">
|