42 lines
No EOL
1.5 KiB
PHP
42 lines
No EOL
1.5 KiB
PHP
<?php
|
|
/**
|
|
* @package Sketch
|
|
*/
|
|
// Access global variable directly to set content_width
|
|
if ( isset( $GLOBALS['content_width'] ) )
|
|
$GLOBALS['content_width'] = 1091;
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header class="entry-header">
|
|
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
|
<div class="entry-meta">
|
|
<?php
|
|
echo get_the_term_list( get_the_ID(), 'jetpack-portfolio-type', '<span class="portfolio-type-links">', _x(', ', 'Used between list items, there is a space after the comma.', 'sketch' ), '</span>' );
|
|
?>
|
|
<?php edit_post_link( __( 'Edit', 'sketch' ), '<span class="sep"> | </span><span class="edit-link">', '</span>' ); ?>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="entry-content">
|
|
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'sketch' ) ); ?>
|
|
<?php
|
|
wp_link_pages( array(
|
|
'before' => '<div class="page-links">' . __( 'Pages:', 'sketch' ),
|
|
'after' => '</div>',
|
|
) );
|
|
?>
|
|
</div><!-- .entry-content -->
|
|
|
|
<footer class="entry-meta">
|
|
<?php
|
|
echo get_the_term_list( $post->ID, 'jetpack-portfolio-tag', '<span class="tags-links">', '', '</span>' );
|
|
?>
|
|
|
|
<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
|
|
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'sketch' ), __( '1 Comment', 'sketch' ), __( '% Comments', 'sketch' ) ); ?></span>
|
|
<?php endif; ?>
|
|
|
|
</footer><!-- .entry-meta -->
|
|
</article><!-- #post-## -->
|