/content-link.php
PHP | 24 lines | 16 code | 0 blank | 8 comment | 0 complexity | 35963100aeaa19bf542b277230ac4a08 MD5 | raw file
- <?php
- /**
- * The template for displaying posts in the Link Post Format on index and archive pages
- *
- * Learn more: http://codex.wordpress.org/Post_Formats
- *
- * @package required+ Foundation
- * @since required+ Foundation 0.1.0
- */
- ?>
- <!-- START: content-link.php -->
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="entry-meta">
- <?php required_posted_on(); ?>
- <span class="label radius secondary"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'requiredfoundation' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php _ex( 'Link', 'Post format title', 'requiredfoundation' ); ?></a></span>
- </div>
- <div class="entry-content">
- <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'requiredfoundation' ) ); ?>
- </div><!-- .entry-content -->
- <footer class="entry-meta">
- <?php get_template_part('entry-meta', get_post_format() ); ?>
- </footer><!-- #entry-meta -->
- </article><!-- #post -->
- <!-- END: content-link.php -->