Sha256: ad2a44b1e388b4b8e53c99441805978382260503df37461068a3bade84261c41

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

<?php
/**
 * The default template for displaying content. Used for both single and index/archive/search.
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */
?>

	<article id="post-<?php the_ID(); ?>">
		<header class="entry-header">
			<?php if ( is_single() ) : ?>
			<h2 class="entry-title"><?php the_title(); ?></h2>
			<?php else : ?>
			<h2 class="entry-title">
				<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
			</h2>
			<?php endif; // is_single() ?>

			<?php get_template_part( 'components/meta' ); ?>

			<p><?php the_post_thumbnail(); ?></p>

			<?php if ( comments_open() ) : ?>
				<p><?php comments_popup_link(); ?></p>
			<?php endif; // comments_open() ?>
			
		</header><!-- .entry-header -->

		<?php if ( is_search() ) : // Only display Excerpts for Search ?>
		<div class="entry-summary">
			<?php the_excerpt(); ?>
		</div><!-- .entry-summary -->
		<?php else : ?>
		<div class="entry-content">
		<?php the_content( __( 'Read More &raquo;', 'rootbeer' ) ); ?>
			<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'rootbeer' ), 'after' => '</div>' ) ); ?>
		</div><!-- .entry-content -->
		<?php endif; ?>
	</article>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rootbeer-0.0.4 templates/project/content.php
rootbeer-0.0.2 templates/project/content.php