Example #1
0
} else {
    // If not viewing a single post.
    ?>

		<header class="entry-header">

			<div class="entry-byline">
				<time <?php 
    hybrid_attr('entry-published');
    ?>
><?php 
    echo get_the_date();
    ?>
</time>
				<?php 
    hybrid_post_author(array('text' => __('By %s', 'ravel')));
    ?>
				<?php 
    comments_popup_link(__('0 Comments', 'ravel'), __('1 Comment', 'ravel'), __('% Comments', 'ravel'), 'comments-link', '');
    ?>
				<?php 
    edit_post_link();
    ?>
			</div><!-- .entry-byline -->

			<?php 
    the_title('<h2 ' . hybrid_get_attr('entry-title') . '><a href="' . get_permalink() . '" rel="bookmark" itemprop="url">', '</a></h2>');
    ?>

			<?php 
    get_the_image(array('size' => 'ravel-medium', 'attachment' => false, 'before' => '<div class="featured-media">', 'after' => '</div>'));
Example #2
0
 */
?>

<p class="entry-byline">
	<span class="posted-on">
		<time <?php 
hybrid_attr('entry-published');
?>
><?php 
echo get_the_date();
?>
</time>
	</span>

	<?php 
hybrid_post_author(array('text' => __('by %s', 'croft')));
?>

	<?php 
if (!post_password_required() && (comments_open() || get_comments_number())) {
    ?>
		<span class="comments-link">
			<?php 
    comments_popup_link(esc_html__('Leave a comment', 'croft'), esc_html__('1 Comment', 'croft'), esc_html__('% Comments', 'croft'));
    ?>
		</span>
	<?php 
}
?>

	<?php 
Example #3
0
				<div class="entry-meta">
					<?php 
    hybrid_post_terms(array('taxonomy' => 'literary_form'));
    ?>
					<?php 
    hybrid_post_terms(array('taxonomy' => 'literary_technique', 'before' => sprintf('<span class="sep">%s</span>', _x('&middot;', 'post meta separator', 'saga'))));
    ?>
					<?php 
    hybrid_post_terms(array('taxonomy' => 'literary_genre', 'before' => sprintf('<span class="sep">%s</span>', _x('&middot;', 'post meta separator', 'saga'))));
    ?>
				</div><!-- .entry-meta -->

				<div class="entry-byline">
					<?php 
    hybrid_post_author(array('text' => __('Written by %s', 'saga')));
    ?>
				</div><!-- .entry-byline -->

			</header><!-- .entry-header -->

			<div <?php 
    hybrid_attr('entry-content');
    ?>
>
				<?php 
    the_content();
    ?>
				<?php 
    wp_link_pages();
    ?>