function presscore_single_post_navigation_bar()
 {
     if (!(is_single() && presscore_is_content_visible())) {
         return;
     }
     switch (get_post_type()) {
         case 'post':
             $post_meta = presscore_new_posted_on('single_post');
             break;
         case 'dt_portfolio':
             $post_meta = presscore_new_posted_on('single_dt_portfolio');
             break;
         case 'dt_gallery':
             $post_meta = presscore_new_posted_on('single_dt_gallery');
             break;
         default:
             $post_meta = '';
     }
     $post_navigation = presscore_post_navigation();
     if ($post_meta || $post_navigation) {
         $article_top_bar_html_class = 'article-top-bar ' . presscore_get_page_title_bg_mode_html_class();
         if (!$post_meta) {
             $article_top_bar_html_class .= ' post-meta-disabled';
         }
         echo '<div class="' . $article_top_bar_html_class . '"><div class="wf-wrap"><div class="wf-container-top">';
         echo presscore_get_post_meta_wrap($post_meta);
         echo '<div class="navigation-inner"><div class="single-navigation-wrap">' . $post_navigation . '</div></div>';
         echo '</div></div></div>';
     }
 }
Example #2
0
do_action('presscore_before_post');
?>

<article <?php 
post_class();
?>
>

	<div class="format-aside-content">
		<?php 
the_content();
?>
	</div>

	<?php 
echo presscore_get_post_meta_wrap(presscore_get_blog_post_date(), 'post-format');
?>

	<?php 
echo presscore_post_details_link();
?>

	<?php 
echo presscore_post_edit_link();
?>

</article><!-- #post-<?php 
the_ID();
?>
 -->