Exemple #1
0
the_ID();
?>
" <?php 
post_class();
?>
>
	<header>
		<h2 style="text-align:center;"><a href="<?php 
the_permalink();
?>
"><?php 
the_title();
?>
</a></h2>
		<?php 
foundationpress_entry_meta();
?>
	</header>
	<div class="entry-content">
		<?php 
the_excerpt();
?>
	</div>
	<footer>
		<div class="tag-list">
			<?php 
$tag = get_the_tags();
if ($tag) {
    ?>
<p><?php 
    the_tags();
Exemple #2
0
 * @subpackage FoundationPress
 * @since FoundationPress 1.0
 */

get_header(); ?>

<div class="row">
	<div class="small-12 large-8 columns" role="main">

	<?php do_action( 'foundationpress_before_content' ); ?>

	<?php while ( have_posts() ) : the_post(); ?>
		<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
			<header>
				<h1 class="entry-title"><?php the_title(); ?></h1>
				<?php foundationpress_entry_meta(); ?>
			</header>
			<?php do_action( 'foundationpress_post_before_entry_content' ); ?>
			<div class="entry-content">

			<?php if ( has_post_thumbnail() ) : ?>
				<div class="row">
					<div class="column">
						<?php the_post_thumbnail( '', array('class' => 'th') ); ?>
					</div>
				</div>
			<?php endif; ?>

			<?php the_content(); ?>
			</div>
			<footer>