PageRenderTime 58ms CodeModel.GetById 31ms RepoModel.GetById 1ms app.codeStats 0ms

/blog/wp-content/themes/beach/content-status.php

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 38 lines | 30 code | 4 blank | 4 comment | 0 complexity | 6b6c0825385a61e11f38b51ebf77d5e9 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage Beach
  5. */
  6. ?>
  7. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  8. <header class="entry-header">
  9. <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'beach' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  10. </header><!-- .entry-header -->
  11. <div class="avatar"><?php echo get_avatar( $post->post_author, $size = '50' ); ?></div>
  12. <div class="entry-content">
  13. <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'beach' ) ); ?>
  14. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'beach' ), 'after' => '</div>' ) ); ?>
  15. </div><!-- .entry-content -->
  16. <footer class="entry-meta">
  17. <?php
  18. printf( __( '<span class="sep">Posted on </span><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s">%6$s</a></span>', 'beach' ),
  19. get_permalink(),
  20. get_the_date( 'c' ),
  21. get_the_date(),
  22. get_author_posts_url( get_the_author_meta( 'ID' ) ),
  23. sprintf( esc_attr__( 'View all posts by %s', 'beach' ), get_the_author() ),
  24. get_the_author()
  25. );
  26. ?>
  27. <span class="sep"> | </span>
  28. <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'beach' ); ?></span><?php the_category( ', ' ); ?></span>
  29. <span class="sep"> | </span>
  30. <?php the_tags( '<span class="tag-links">' . __( 'Tagged ', 'beach' ) . '</span>', ', ', '<span class="sep"> | </span>' ); ?>
  31. <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'beach' ), __( '1 Comment', 'beach' ), __( '% Comments', 'beach' ) ); ?></span>
  32. <?php edit_post_link( __( 'Edit', 'beach' ), '<span class="sep">|</span> <span class="edit-link">', '</span>' ); ?>
  33. </footer><!-- #entry-meta -->
  34. </article><!-- #post-<?php the_ID(); ?> -->