Esempio n. 1
0
            echo $featuredImage;
        }
        if (!$noTitle) {
            ?>
		
			<header class="entry-header post-header">
				<?php 
            the_title('<h1 class="entry-title">', '</h1>');
            ?>
	
			</header><!-- .entry-header --><?php 
        }
        if ($display_featured == 'after_title' && isset($featuredImage)) {
            echo $featuredImage;
        }
        bb_posts_meta();
        ?>
		<div class="entry-content post-content">
			<?php 
        the_content();
        ?>
			<?php 
        bb_page_nav_links();
        ?>
			<?php 
        //Display edit link
        edit_post_link(__('Edit', 'bear-bones'), '<span class="edit-link">', '</span>');
        ?>
		</div><!-- .entry-content -->
		<?php 
        get_template_part('tpl', 'post-footer');
Esempio n. 2
0
<?php

// Exit if accessed directly
if (!defined('ABSPATH')) {
    exit;
}
?>
<!-- tpl- post-footer --><footer class="entry-footer post-footer">
<?php 
//Check for display categories
//bb_posts_categories($prepend = null, $append = null, $separator = null, $class = null, $parents = null, $return = false)
//bb_posts_categories( null, null, null, 'post-footer__catgories');
bb_posts_meta('bottom');
//Display tags
//bb_posts_tags($prepend = , $append = '</p>', $separator = ', ', $class = null, $return = false)
//$prepend = 'default' = '<p class="post-tags">Tags: '
//$prepend = 'default' = '</p>'
//bb_posts_tags( 'default', 'default', 'default', 'post-footer__tags');
//Comments
get_template_part('tpl', 'post-links');
?>
		<div class="entry-meta post-footer__comments">
<?php 
if (!post_password_required() && (comments_open() || get_comments_number())) {
    ?>
			<span class="comments-link"><?php 
    comments_popup_link(__('Leave a comment', 'bear-bones'), __('1 Comment', 'bear-bones'), __('% Comments', 'bear-bones'));
    ?>
</span>
<?php 
}