mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 18:48:57 +01:00
741876a148
props drewstrojny, lancewillett. also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields, mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka. see #19978. git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
24 lines
1.0 KiB
PHP
24 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* The template for displaying posts in the Aside post format
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twelve
|
|
* @since Twenty Twelve 1.0
|
|
*/
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<div class="aside">
|
|
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
|
<div class="entry-content">
|
|
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
|
|
</div><!-- .entry-content -->
|
|
</div>
|
|
|
|
<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 -->
|