Skip to content
Browse files

Some markup changes.

  • Loading branch information...
1 parent f813815 commit 847cbe0c7544a734cdb086d7ed2b1f0edaaaa855 Sami Keijonen committed Jul 17, 2012
View
25 content-aside.php
@@ -11,36 +11,41 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( is_singular() ) { ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
-
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } else { ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } ?>
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
27 content-audio.php
@@ -11,36 +11,41 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( is_singular() ) { ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
-
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
-
+
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } else { ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } ?>
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
29 content-gallery.php
@@ -11,26 +11,31 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( is_singular() ) { ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } else { ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ </header><!-- .entry-header -->
<?php echo do_shortcode( '[gallery numberposts="3" orderby="rand"]' ); ?>
@@ -39,12 +44,14 @@
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-summary -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } ?>
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
25 content-image.php
@@ -11,36 +11,41 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( is_singular() ) { ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } else { ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } ?>
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
33 content-link.php
@@ -11,31 +11,36 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( is_singular() ) { ?>
-
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } else { ?>
<?php if ( get_the_title() ) { ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) ); ?>
- <h2 class="entry-title"><a href="<?php echo esc_url( path_url_grabber() ); ?>" title="<?php the_title_attribute(); ?>"><?php printf( '%s <span class="meta-nav">&rarr;</span>', the_title( '', '', false ) ); ?></a></h2>
-
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php echo esc_url( path_url_grabber() ); ?>" title="<?php the_title_attribute(); ?>"><?php printf( '%s <span class="meta-nav">&rarr;</span>', the_title( '', '', false ) ); ?></a></h2>
+ </header><!-- .entry-header -->
+
<?php } else { ?>
<div class="entry-content">
@@ -45,12 +50,14 @@
<?php } ?>
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } ?>
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
20 content-page.php
@@ -11,27 +11,33 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( is_singular() ) { ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ </header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } else { ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) ); ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
@@ -41,6 +47,6 @@
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
16 content-quote.php
@@ -11,7 +11,7 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
@@ -20,14 +20,16 @@
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php if ( is_singular() )
- echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-edit-link before="| "]<br />[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' );
- else
- echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' );
- ?>
+ <footer class="entry-footer">
+ <?php if ( is_singular() )
+ echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-edit-link before="| "]<br />[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' );
+ else
+ echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' );
+ ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
9 content-slider.php
@@ -32,23 +32,26 @@
<li>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?> featured">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?> featured">
<div class="slider-images">
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-slider-thumbnail', 'image_class' => 'path-slider', 'default_image' => trailingslashit( get_template_directory_uri() ) . 'images/path_default_slider_image.png', 'width' => 660, 'height' => 300 ) ); ?>
</div>
<div class="slider-title">
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'picturesque' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
</div><!-- .slider-title -->
- </div><!-- .featured-post -->
+ </article><!-- .featured-post -->
</li>
View
24 content-status.php
@@ -11,25 +11,27 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php echo get_avatar( get_the_author_meta( 'email' ) ); ?></a>
- <div class="entry-content">
- <?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
- </div><!-- .entry-content -->
+ <div class="entry-content">
+ <?php the_content(); ?>
+ <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
+ </div><!-- .entry-content -->
- <?php if ( is_singular() )
- echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] updated on [entry-published] [entry-edit-link before="| "]<br />[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' );
- else
- echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] updated on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' );
- ?>
+ <footer class="entry-footer">
+ <?php if ( is_singular() )
+ echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] updated on [entry-published] [entry-edit-link before="| "]<br />[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' );
+ else
+ echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] updated on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' );
+ ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
27 content-video.php
@@ -11,36 +11,41 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( is_singular() ) { ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } else { ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'path' ) ); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
-
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
-
+
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } ?>
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
38 content.php
@@ -11,42 +11,48 @@
do_atomic( 'before_entry' ); // path_before_entry ?>
-<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( is_singular() ) { ?>
-
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } else { ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) ); ?>
-
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-summary -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="| Tagged "]', 'path' ) . '</div>' ); ?>
-
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="| Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
+
<?php } ?>
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
-</div><!-- .hentry -->
+</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
4 footer.php
@@ -32,7 +32,7 @@
<?php do_atomic( 'before_footer' ); // path_before_footer ?>
- <div id="footer">
+ <footer id="footer">
<?php do_atomic( 'open_footer' ); // path_open_footer ?>
@@ -46,7 +46,7 @@
<?php do_atomic( 'close_footer' ); // path_close_footer ?>
- </div><!-- #footer -->
+ </footer><!-- #footer -->
<?php do_atomic( 'after_footer' ); // path_after_footer ?>
View
10 header.php
@@ -41,13 +41,13 @@
<?php do_atomic( 'before_header' ); // path_before_header ?>
- <div id="header">
+ <header id="header">
<?php do_atomic( 'open_header' ); // path_open_header ?>
<div class="wrap">
- <div id="branding">
+ <hgroup id="branding">
<?php if ( get_header_image() ) { /* if header image is set use it as logo. */ ?>
@@ -61,15 +61,15 @@
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
- </div><!-- #branding -->
+ </hgroup><!-- #branding -->
<?php do_atomic( 'header' ); // path_header ?>
</div><!-- .wrap -->
<?php do_atomic( 'close_header' ); // path_close_header ?>
- </div><!-- #header -->
+ </header><!-- #header -->
<?php do_atomic( 'after_header' ); // path_after_header ?>
@@ -87,4 +87,4 @@
<?php do_atomic( 'open_main' ); // path_open_main ?>
- <?php if ( current_theme_supports( 'breadcrumb-trail' ) ) breadcrumb_trail( array( 'before' => __( 'You are here:', 'path' ), 'separator' => __( '&#8764;', 'path' ) ) ); ?>
+ <?php if ( current_theme_supports( 'breadcrumb-trail' ) ) breadcrumb_trail( array( 'container' => 'nav', 'before' => __( 'You are here:', 'path' ), 'separator' => __( '&#8764;', 'path' ) ) ); ?>
View
4 menu-primary-mobile.php
@@ -13,7 +13,7 @@
<?php do_atomic( 'before_menu_primary_mobile' ); // path_before_menu_primary_mobile ?>
- <div id="menu-primary-mobile" class="menu-container">
+ <nav id="menu-primary-mobile" class="menu-container">
<div class="wrap">
@@ -29,7 +29,7 @@
</div><!-- .wrap -->
- </div><!-- #menu-primary-mobile .menu-container -->
+ </nav><!-- #menu-primary-mobile .menu-container -->
<?php do_atomic( 'after_menu_primary_mobile' ); // path_after_menu_primary_mobile ?>
View
20 menu-primary.php
@@ -13,7 +13,7 @@
<?php do_atomic( 'before_menu_primary' ); // path_before_menu_primary ?>
- <div id="menu-primary-title" class="nav-anchors">
+ <nav id="menu-primary-title" class="nav-anchors">
<div class="wrap">
@@ -23,23 +23,23 @@
</div><!-- .wrap -->
- </div><!-- #menu-primary-title -->
+ </nav><!-- #menu-primary-title -->
- <div id="menu-primary" class="menu-container">
+ <nav id="menu-primary" class="menu-container">
- <div class="wrap">
+ <div class="wrap">
- <?php do_atomic( 'open_menu_primary' ); // path_open_menu_primary ?>
+ <?php do_atomic( 'open_menu_primary' ); // path_open_menu_primary ?>
- <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-primary-items', 'fallback_cb' => '' ) ); ?>
+ <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-primary-items', 'fallback_cb' => '' ) ); ?>
- <?php do_atomic( 'close_menu_primary' ); // path_close_menu_primary ?>
+ <?php do_atomic( 'close_menu_primary' ); // path_close_menu_primary ?>
- <?php if ( !is_admin_bar_showing() ) get_search_form(); // Loads the searchform.php template. ?>
+ <?php if ( !is_admin_bar_showing() ) get_search_form(); // Loads the searchform.php template. ?>
- </div><!-- .wrap -->
+ </div><!-- .wrap -->
- </div><!-- #menu-primary .menu-container -->
+ </nav><!-- #menu-primary .menu-container -->
<?php do_atomic( 'after_menu_primary' ); // path_after_menu_primary ?>
View
4 menu-secondary-mobile.php
@@ -13,7 +13,7 @@
<?php do_atomic( 'before_menu_secondary_mobile' ); // path_before_menu_secondary_mobile ?>
- <div id="menu-secondary-mobile" class="menu-container">
+ <nav id="menu-secondary-mobile" class="menu-container">
<div class="wrap">
@@ -27,7 +27,7 @@
</div><!-- .wrap -->
- </div><!-- #menu-secondary-mobile .menu-container -->
+ </nav><!-- #menu-secondary-mobile .menu-container -->
<?php do_atomic( 'after_menu_secondary_mobile' ); // path_after_menu_secondary_mobile ?>
View
18 menu-secondary.php
@@ -13,29 +13,29 @@
<?php do_atomic( 'before_menu_secondary' ); // path_before_menu_secondary ?>
- <div id="menu-secondary-title" class="nav-anchors">
+ <nav id="menu-secondary-title" class="nav-anchors">
<div class="wrap">
<a id="menu-secondary-anchor" class="menu-secondary-anchor" title="<?php _e( 'Secondary Mobile Menu', 'path' ); ?>" href="#menu-secondary-mobile"><?php _e( 'Secondary Menu', 'path' ); ?></a>
</div><!-- .wrap -->
- </div><!-- #menu-secondary-title -->
+ </nav><!-- #menu-secondary-title -->
- <div id="menu-secondary" class="menu-container">
+ <nav id="menu-secondary" class="menu-container">
- <div class="wrap">
+ <div class="wrap">
- <?php do_atomic( 'open_menu_secondary' ); // path_open_menu_secondary ?>
+ <?php do_atomic( 'open_menu_secondary' ); // path_open_menu_secondary ?>
- <?php wp_nav_menu( array( 'theme_location' => 'secondary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-secondary-items', 'fallback_cb' => '' ) ); ?>
+ <?php wp_nav_menu( array( 'theme_location' => 'secondary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-secondary-items', 'fallback_cb' => '' ) ); ?>
- <?php do_atomic( 'close_menu_secondary' ); // path_close_menu_secondary ?>
+ <?php do_atomic( 'close_menu_secondary' ); // path_close_menu_secondary ?>
- </div><!-- .wrap -->
+ </div><!-- .wrap -->
- </div><!-- #menu-secondary .menu-container -->
+ </nav><!-- #menu-secondary .menu-container -->
<?php do_atomic( 'after_menu_secondary' ); // path_after_menu_secondary ?>
View
4 menu-subsidiary.php
@@ -13,7 +13,7 @@
<?php do_atomic( 'before_menu_subsidiary' ); // path_before_menu_subsidiary ?>
- <div id="menu-subsidiary" class="menu-container">
+ <nav id="menu-subsidiary" class="menu-container">
<div class="wrap">
@@ -25,7 +25,7 @@
</div><!-- .wrap -->
- </div><!-- #menu-subsidiary .menu-container -->
+ </nav><!-- #menu-subsidiary .menu-container -->
<?php do_atomic( 'after_menu_subsidiary' ); // path_after_menu_subsidiary ?>
View
19 page-templates/archives.php
@@ -27,22 +27,23 @@
<?php do_atomic( 'before_entry' ); // path_before_entry ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'path' ) ); ?>
- <?php $path_published_posts = wp_count_posts(); // So how many posts have been published. ?>
+ <?php $path_published_posts = wp_count_posts(); // How many posts have been published. ?>
<p class="path-published-posts"><?php printf( __( 'There are %1$s posts published.', 'path' ), $path_published_posts->publish ); ?></p>
- <?php /* If Smart Archives Reloaded Plugin is active, use it. Else basic stuff. @link http://wordpress.org/extend/plugins/smart-archives-reloaded/ */ ?>
- <?php if ( function_exists( 'smart_archives' ) ) : smart_archives(); ?>
+ <?php if ( function_exists( 'smart_archives' ) ) : smart_archives(); /* If Smart Archives Reloaded Plugin is active, use it. Else basic stuff. @link http://wordpress.org/extend/plugins/smart-archives-reloaded/ */ ?>
<?php else : ?>
@@ -68,11 +69,13 @@
</div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
- </div><!-- .hentry -->
+ </article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
10 page-templates/authors.php
@@ -27,12 +27,14 @@
<?php do_atomic( 'before_entry' ); // path_before_entry ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-content">
<?php the_content(); ?>
</div><!-- .entry-content -->
@@ -65,7 +67,7 @@
<?php endforeach; ?>
- </div><!-- .hentry -->
+ </article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
15 page-templates/most-popular-by-comments.php
@@ -42,26 +42,29 @@
<?php do_atomic( 'before_entry' ); // path_before_entry ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) );?>
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'picturesque' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-summary -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
- </div><!-- .hentry -->
+ </article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
17 page-templates/most-popular-by-month.php
@@ -45,26 +45,29 @@
<?php do_atomic( 'before_entry' ); // path_before_entry ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) );?>
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'picturesque' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-summary -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
- </div><!-- .hentry -->
+ </article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
17 page-templates/most-popular-by-year.php
@@ -44,26 +44,29 @@
<?php do_atomic( 'before_entry' ); // path_before_entry ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) );?>
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'picturesque' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-summary -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
- </div><!-- .hentry -->
+ </article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
15 page-templates/most-popular-last-30-days.php
@@ -46,26 +46,29 @@
<?php do_atomic( 'before_entry' ); // path_before_entry ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) );?>
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'picturesque' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-summary -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
- </div><!-- .hentry -->
+ </article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
96 page-templates/most-popular-test.php
@@ -1,96 +0,0 @@
-<?php
-/**
- * Template Name: Most Popular
- *
- * @package Path
- * @subpackage Template
- * @since 0.1.0
- */
-
-get_header(); // Loads the header.php template. ?>
-
- <?php do_atomic( 'before_content' ); // path_before_content ?>
-
- <div id="content">
-
- <?php do_atomic( 'open_content' ); // path_open_content ?>
-
- <div class="hfeed">
-
- <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
-
- <?php
-
- /* Loop for most viewed articles. entry-views extension is used. */
-
- $args = array (
- 'ignore_sticky_posts' => true,
- 'meta_key' => 'Views',
- 'orderby' => 'meta_value_num',
- 'posts_per_page' => get_option( 'posts_per_page' ),
- 'paged' => ( get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1 )
- );
-
- $popular_query = new WP_Query( $args );
-
- /* @link http://wordpress.stackexchange.com/questions/54509/query-with-pre-get-posts-to-get-pagination */
- global $wp_query;
- // Put default query object in a temp variable
- $tmp_query = $wp_query;
- // Now wipe it out completely
- $wp_query = null;
- // Re-populate the global with our custom query
- $wp_query = $popular_query;
-
- ?>
-
- <?php if ( $popular_query->have_posts() ) : ?>
-
- <?php while ( $popular_query->have_posts() ) : $popular_query->the_post(); ?>
-
- <?php do_atomic( 'before_entry' ); // path_before_entry ?>
-
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
-
- <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) );?>
-
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
- <div class="entry-summary">
- <?php the_excerpt(); ?>
- <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
- </div><!-- .entry-summary -->
-
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
-
- <?php do_atomic( 'close_entry' ); // path_close_entry ?>
-
- </div><!-- .hentry -->
-
- <?php do_atomic( 'after_entry' ); // path_after_entry ?>
-
- <?php endwhile; ?>
-
- <?php else : ?>
-
- <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
-
- <?php endif; ?>
-
- </div><!-- .hfeed -->
-
- <?php do_atomic( 'close_content' ); // path_close_content ?>
-
- <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
-
- <?php $wp_query = $tmp_query; // Restore original query object ?>
-
- <?php wp_reset_postdata(); // Reset Query ?>
-
- </div><!-- #content -->
-
- <?php do_atomic( 'after_content' ); // path_after_content ?>
-
-<?php get_footer(); // Loads the footer.php template. ?>
View
15 page-templates/most-popular.php
@@ -43,26 +43,29 @@
<?php do_atomic( 'before_entry' ); // path_before_entry ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-thumbnail' ) ); ?>
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'picturesque' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-summary -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( 'Views [entry-views] [entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'path' ) . '</div>' ); ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
- </div><!-- .hentry -->
+ </article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
13 page-templates/path-slider.php
@@ -71,15 +71,16 @@
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'path-smaller-thumbnail' ) ); ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
-
- </div><!-- .hentry -->
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
+ </header><!-- .entry-header -->
+
+ </article><!-- .hentry -->
<?php endwhile; ?>
View
28 page-templates/tag-cloud.php
@@ -27,29 +27,33 @@
<?php do_atomic( 'before_entry' ); // path_before_entry ?>
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
+ <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // path_open_entry ?>
- <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
-
- <div class="entry-content">
+ <header class="entry-header">
+ <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
- <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'path' ) ); ?>
+ <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'path' ) ); ?>
- <p class="term-cloud post_tag-cloud tag-cloud">
- <?php wp_tag_cloud( array( 'number' => 0, 'unit' => 'em', 'smallest' => 0.7, 'largest' => 2 ) ); ?>
- </p><!-- .term-cloud .post_tag-cloud -->
+ <p class="term-cloud post_tag-cloud tag-cloud">
+ <?php wp_tag_cloud( array( 'number' => 0, 'unit' => 'em', 'smallest' => 0.7, 'largest' => 2 ) ); ?>
+ </p><!-- .term-cloud .post_tag-cloud -->
- <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'path' ), 'after' => '</p>' ) ); ?>
- </div><!-- .entry-content -->
+ </div><!-- .entry-content -->
- <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
+ <footer class="entry-footer">
+ <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
+ </footer><!-- .entry-footer -->
<?php do_atomic( 'close_entry' ); // path_close_entry ?>
- </div><!-- .hentry -->
+ </article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // path_after_entry ?>
View
6 style.css
@@ -316,6 +316,10 @@ img.wp-smiley {
}
/* Mobiles menus. */
+nav#menu-primary-mobile ul,
+nav#menu-secondary-mobile ul {
+ list-style-type: circle;
+}
#menu-primary-mobile,
#menu-secondary-mobile,
#menu-primary-title,
@@ -1007,7 +1011,7 @@ ol.comment-list {
/* Author profile. */
.singular-post .author-profile {
- border: 1px dotted #e9edf1;
+ border: 1px solid #e9edf1;
margin-bottom: 2em;
overflow: hidden;
padding: 4%;

0 comments on commit 847cbe0

Please sign in to comment.
Something went wrong with that request. Please try again.