format-quote.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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
  10. // the content (pretty self explanatory huh)
  11. the_content();
  12. /*
  13. * Link Pages is used in case you have posts that are set to break into
  14. * multiple pages. You can remove this if you don't plan on doing that.
  15. *
  16. * Also, breaking content up into multiple pages is a horrible experience,
  17. * so don't do it. While there are SOME edge cases where this is useful, it's
  18. * mostly used for people to get more ad views. It's up to you but if you want
  19. * to do it, you're wrong and I hate you. (Ok, I still love you but just not as much)
  20. *
  21. * http://gizmodo.com/5841121/google-wants-to-help-you-avoid-stupid-annoying-multiple-page-articles
  22. *
  23. */
  24. wp_link_pages( array(
  25. 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'bonestheme' ) . '</span>',
  26. 'after' => '</div>',
  27. 'link_before' => '<span>',
  28. 'link_after' => '</span>',
  29. ) );
  30. ?>
  31. </section> <?php // end article section ?>
  32. <footer class="article-footer">
  33. <?php printf( __( 'Filed under: %1$s', 'bonestheme' ), get_the_category_list(', ') ); ?>
  34. <?php the_tags( '<p class="tags"><span class="tags-title">' . __( 'Tags:', 'bonestheme' ) . '</span> ', ', ', '</p>' ); ?>
  35. </footer> <?php // end article footer ?>
  36. <?php comments_template(); ?>
  37. </article> <?php // end article ?>