content-video.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. * @package Spun
  4. */
  5. $format = get_post_format();
  6. ?>
  7. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  8. <header class="entry-header">
  9. <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  10. </header><!-- .entry-header -->
  11. <div class="entry-content">
  12. <?php the_content(); ?>
  13. <?php wp_link_pages( array( 'before' => '<div class="page-links">', 'after' => '</div>', 'link_before' => '<span class="active-link">', 'link_after' => '</span>' ) ); ?>
  14. </div><!-- .entry-content -->
  15. <footer class="entry-meta">
  16. <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
  17. <span class="comments-link">
  18. <a href="#comments-toggle">
  19. <span class="tail"></span>
  20. <?php echo comments_number( __( '+', 'spun' ), __( '1', 'spun' ), __( '%', 'spun' ) ); ?>
  21. </a>
  22. </span>
  23. <?php endif; ?>
  24. <div class="entry-meta-wrapper">
  25. <span class="post-date">
  26. <?php spun_posted_on(); ?>
  27. </span>
  28. <span class="entry-format">
  29. <a href="<?php echo esc_url( get_post_format_link( $format ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'spun' ), get_post_format_string( $format ) ) ); ?>"><?php echo get_post_format_string( $format ); ?></a>
  30. </span>
  31. <?php
  32. /* translators: used between list items, there is a space after the comma */
  33. $tags_list = get_the_tag_list( '', __( ', ', 'spun' ) );
  34. if ( $tags_list ) :
  35. ?>
  36. <span class="tags-links">
  37. <?php printf( __( '%1$s', 'spun' ), $tags_list ); ?>
  38. </span>
  39. <?php endif; // End if $tags_list ?>
  40. <?php edit_post_link( __( 'Edit', 'spun' ), '<span class="edit-link">', '</span>' ); ?>
  41. </div>
  42. </footer><!-- .entry-meta -->
  43. </article><!-- #post-<?php the_ID(); ?> -->