~sinzui/+junk/essence-wp

« back to all changes in this revision

Viewing changes to themes/samsara2/content-link.php

  • Committer: Curtis Hovey
  • Date: 2013-02-06 04:46:10 UTC
  • Revision ID: sinzui.is@verizon.net-20130206044610-nww7ftr1xxfy3aj8
Added rudimentary new samara2 theme based on Twenty Twelve 1.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * The template for displaying posts in the Link post format
 
4
 *
 
5
 * @package WordPress
 
6
 * @subpackage Twenty_Twelve
 
7
 * @since Twenty Twelve 1.0
 
8
 */
 
9
?>
 
10
 
 
11
        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 
12
                <header><?php _e( 'Link', 'twentytwelve' ); ?></header>
 
13
                <div class="entry-content">
 
14
                        <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
 
15
                </div><!-- .entry-content -->
 
16
 
 
17
                <footer class="entry-meta">
 
18
                        <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
 
19
                        <?php if ( comments_open() ) : ?>
 
20
                        <div class="comments-link">
 
21
                                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?>
 
22
                        </div><!-- .comments-link -->
 
23
                        <?php endif; // comments_open() ?>
 
24
                        <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
 
25
                </footer><!-- .entry-meta -->
 
26
        </article><!-- #post -->