/wp-content/themes/twentytwelve/content-link.php
PHP | 21 lines | 12 code | 2 blank | 7 comment | 0 complexity | 710c4515a117131579334cb317ca001e MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1
- <?php
- /**
- * The template for displaying posts in the Link post format
- *
- * @package WordPress
- * @subpackage Twenty_Twelve
- * @since Twenty Twelve 1.0
- */
- ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header><?php _e( 'Link', 'twentytwelve' ); ?></header>
- <div class="entry-content">
- <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
- </div><!-- .entry-content -->
- <footer class="entry-meta">
- <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?>
- <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_date(); ?></a>
- </footer><!-- .entry-meta -->
- </article><!-- #post -->