Beispiel #1
0
the_ID();
?>
" <?php 
post_class();
?>
>
	<?php 
/* Add the header banner if this is a single post. */
if (is_single()) {
    get_template_part('partials/banner');
}
?>
	<div class="block entry-block">
		<?php 
get_template_part('partials/sticky');
echo reach_get_media(array('split_media' => true, 'meta_key' => 'video'));
/* If this is an archive, display the post title. */
if (!is_single()) {
    reach_post_header();
}
?>
		<div class="entry cf">				
			<?php 
the_content();
wp_link_pages(array('before' => '<p class="entry_pages">' . __('Pages: ', 'reach')));
?>
		</div><!-- .entry -->
		<?php 
get_template_part('partials/meta', 'byline');
/* Display taxonomy meta on single posts. */
if (is_single()) {
Beispiel #2
0
		<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
				<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class();
        ?>
>
					<div class="shadow-wrapper">
						<div class="layout-wrapper">						
							<div class="media-container"><?php 
        echo reach_get_media(array('split_media' => true));
        ?>
</div><!-- .media-container -->
							<header>
								<h1 class="page-title"><?php 
        the_title();
        ?>
</h1>
							</header>
							<div class="entry">
								<?php 
        the_content();
        ?>
							</div><!-- .entry -->
						</div><!-- .layout-wrapper -->
					</div><!-- .shadow-wrapper -->