format-link.php 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <article id="post-<?php the_ID(); ?>" <?php post_class('cf'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
  2. <header class="article-header">
  3. <h1 class="entry-title single-title" itemprop="headline"><?php the_title(); ?></h1>
  4. <p class="byline vcard">
  5. <?php printf( __( 'Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span>', 'bonestheme' ), get_the_time('Y-m-j'), get_the_time(get_option('date_format')), get_the_author_link( get_the_author_meta( 'ID' ) )); ?>
  6. </p>
  7. </header> <?php // end article header ?>
  8. <section class="entry-content cf" itemprop="articleBody">
  9. <?php the_content(); ?>
  10. </section> <?php // end article section ?>
  11. <footer class="article-footer">
  12. <?php printf( __( 'Filed under: %1$s', 'bonestheme' ), get_the_category_list(', ') ); ?>
  13. <?php the_tags( '<p class="tags"><span class="tags-title">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '</p>' ); ?>
  14. </footer> <?php // end article footer ?>
  15. <?php comments_template(); ?>
  16. </article> <?php // end article ?>