Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ceff5acf7c
Fetching contributors…

Cannot retrieve contributors at this time

file 51 lines (44 sloc) 1.75 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
<?php
/**
* @package WordPress
* @subpackage lambda
*/
?>

<?php $format_link = get_post_format_link(get_post_format());?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<a class="post-icon" href="<?php echo $format_link; ?>"><?php echo get_post_format();?></a>
<header class="entry-header">
<h1 class="entry-title"><a href="<?php echo get_permalink(); ?>"><?php the_title(); ?></a></h1>
</header><!-- .entry-header -->

<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'lambda' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->

<footer class="entry-meta">
<?php
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>', 'lambda' ),
get_permalink(),
get_the_date( 'c' ),
get_the_date(),
get_author_posts_url( get_the_author_meta( 'ID' ) ),
sprintf( esc_attr__( 'View all posts by %s', 'lambda' ), get_the_author() ),
get_the_author()
);
?>
<?php
$tag_list = get_the_tag_list( '', ', ' );
if ( '' != $tag_list ) {
$utility_text = __( '<div class="categories">Categories: %1$s</div> <div class="tags">Tags: %2$s</div>', 'lambda' );
} else {
$utility_text = __( '<div class="categories">Categories: %1$s</div>', 'lambda' );
}
printf(
$utility_text,
get_the_category_list( ', ' ),
$tag_list,
get_permalink(),
the_title_attribute( 'echo=0' )
);
?>

</footer><!-- .entry-meta -->

</article><!-- #post-<?php the_ID(); ?> -->
Something went wrong with that request. Please try again.