Ejemplo n.º 1
0
			<?php 
    hybrid_post_terms(array('taxonomy' => 'category', 'text' => __('Posted in %s', 'infusion')));
    ?>
			<?php 
    hybrid_post_terms(array('taxonomy' => 'post_tag', 'text' => __('Tagged %s', 'infusion'), 'before' => '<br />'));
    ?>
		</footer>

	<?php 
} else {
    // If not viewing a single post.
    ?>

		<header class="entry-header">
			<?php 
    the_title('<h2 ' . hybrid_get_attr('entry-title') . '><a href="' . hybrid_get_the_post_format_url() . '">', is_rtl() ? ' <span class="meta-nav">&larr;</span>' : ' <span class="meta-nav">&rarr;</span>' . '</a></h2>');
    ?>
		</header>

		<footer class="entry-footer">
			<?php 
    hybrid_post_format_link();
    ?>
			<time <?php 
    hybrid_attr('entry-published');
    ?>
><?php 
    echo get_the_date();
    ?>
</time>
			<a class="entry-permalink" href="<?php 
Ejemplo n.º 2
0
			<?php 
    echo apply_atomic_shortcode('entry_meta', '<div class="entry-meta">' . __('[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'hybrid-base') . '</div>');
    ?>
		</footer><!-- .entry-footer -->

	<?php 
} else {
    ?>

		<?php 
    if (get_the_title()) {
        ?>

			<header class="entry-header">
				<?php 
        the_title('<h2 class="entry-title"><a href="' . hybrid_get_the_post_format_url() . '" title="' . the_title_attribute(array('echo' => false)) . '">', ' <span class="meta-nav">&rarr;</span></a></h2>');
        ?>
			</header><!-- .entry-header -->

		<?php 
    } else {
        ?>

			<div class="entry-content">
				<?php 
        the_content(__('Read more &rarr;', 'hybrid-base'));
        ?>
				<?php 
        wp_link_pages(array('before' => '<p class="page-links">' . '<span class="before">' . __('Pages:', 'hybrid-base') . '</span>', 'after' => '</p>'));
        ?>
			</div><!-- .entry-content -->
Ejemplo n.º 3
0
/**
 * @since 1.5.0
 * @deprecated 1.6.0
 */
function post_format_tools_url_grabber()
{
    _deprecated_function(__FUNCTION__, '1.6.0', 'hybrid_get_the_post_format_url()');
    hybrid_get_the_post_format_url();
}
Ejemplo n.º 4
0
				<?php 
    comments_popup_link(__('0 Comments', 'ravel'), __('1 Comment', 'ravel'), __('% Comments', 'ravel'), 'comments-link', '');
    ?>
				<?php 
    edit_post_link();
    ?>
			</div><!-- .entry-byline -->

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

		<div <?php 
    hybrid_attr('entry-content');
    ?>
>
			<?php 
    the_title('<p><a href="' . hybrid_get_the_post_format_url() . '">', is_rtl() ? ' <span class="meta-nav">&larr;</span>' : ' <span class="meta-nav">&rarr;</span>' . '</a></p>');
    ?>
		</div><!-- .entry-content -->

		<footer class="entry-footer">
			<a class="entry-permalink" href="<?php 
    the_permalink();
    ?>
" rel="bookmark" itemprop="url"><?php 
    _e('Permalink', 'ravel');
    ?>
</a>
			<?php 
    hybrid_post_terms(array('taxonomy' => 'category', 'sep' => ' '));
    ?>
			<?php 
    ?>

			<article class="hentry">

				<div class="entry-content">

					<ul class="xoxo links">

					<?php 
    while (have_posts()) {
        the_post();
        ?>

						<li>
							<a class="permalink" href="<?php 
        echo hybrid_get_the_post_format_url();
        ?>
" title="<?php 
        the_title_attribute();
        ?>
"><?php 
        the_title();
        ?>
</a> 
							<a href="<?php 
        the_permalink();
        ?>
"><?php 
        echo comments_open() ? get_comments_number() : '&#8734;';
        ?>
</a>
Ejemplo n.º 6
0
?>
<br/>
				</span>
			</time>
		</div><!-- .entry-published-wrap -->

		<div class="comment-link-wrap">
			<?php 
comments_popup_link(number_format_i18n(0), number_format_i18n(1), '%', 'comments-link', '');
?>
		</div><!-- .comment-link-wrap -->

		<header class="entry-header">

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

			<?php 
edit_post_link();
?>

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

		<?php 
if (is_singular()) {
    ?>
			<div <?php 
    hybrid_attr('entry-content');
    ?>
>