Exemplo n.º 1
0
?>
	</header><!-- .entry-header -->

	<div class="entry-content">
		<div class="audio-content">
			<?php 
the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'quasar'));
?>
			<?php 
wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'quasar') . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>'));
?>
		</div><!-- .audio-content -->
	</div><!-- .entry-content -->

	<footer class="entry-meta">
		<?php 
quasar_entry_meta();
?>

		<?php 
if (is_single() && get_the_author_meta('description') && is_multi_author()) {
    ?>
			<?php 
    get_template_part('author-bio');
    ?>
		<?php 
}
?>
	</footer><!-- .entry-meta -->
</article><!-- #post -->
Exemplo n.º 2
0
    function quasar_get_title_with_date()
    {
        global $post;
        if (!$post) {
            return false;
        }
        $title = quasar_get_the_title();
        $date = '
		<div class="date-area">
			<a href="' . get_month_link(get_the_time('Y'), get_the_time('m')) . '">
				<div class="day-area">' . get_the_time('d', $post->ID) . '</div>
				<span class="month-area">' . get_the_date('M') . '</span>
				<span class="year-area">' . get_the_time('Y', $post->ID) . '</span>
			</a>
		</div>
	';
        $post_format = quasar_get_post_format_icon();
        $edit_text = '';
        if (current_user_can('edit_posts')) {
            $edit_text = '<span class="edit-link"><a href="' . get_edit_post_link($post->ID) . '">' . __('Edit', 'quasar') . '</a></span>';
        }
        $return = '';
        /*
         **	<span class="title-container"> changed to 	<h2 class="title-container">
         */
        $return .= '
		<div class="quasar-title-date-container row">
			<div class="large-9 medium-9 small-9 columns">
				<' . (is_single() && !xr_get_option('show_post_name_on_title', true) ? 'h1' : 'h2') . ' class="title-container entry-title post-title">
				' . $title . '
				</' . (is_single() && !xr_get_option('show_post_name_on_title', true) ? 'h1' : 'h2') . '>
				<span class="entry-meta">
				' . quasar_entry_meta() . '
				' . $edit_text . '
				</span>
			</div>
		
			<div class="large-3 medium-3 small-3 columns">
				<div class="post-format-container">' . $post_format . '</div>
				<div class="date-area-container main-gradient updated">' . $date . '</div>
				<div class="clear"></div>
			</div>
		</div>
	';
        $return .= '<br/>';
        return $return;
    }