<?php 
if (isset($post)) {
    bb_display_widget(get_post_meta($post->ID, 'widget-bottom', true));
}
?>
				<?php 
bb_display_widget('page-widget-bottom');
?>
</main><!-- end MAIN CONTENT -->
			</div>
		
	<?php 
//Check if sidebar should be displayed on the right/after content
if (bb_sidebar('right', true)) {
    get_template_part('sidebar');
}
?>
			</div><!-- end .block--main-content -->
		</div><!-- end .content-inner -->
	</div><!-- end .content-wrapper -->
</div>
<!-- tpl-main-wrapper-single --><div id="blk-content" class="block--content">
	<div class="content-wrapper">
		<div class="content-inner">
			<div class="block--main-content">
	<?php 
//Check if sidebar should be displayed on the left/before content
if (bb_sidebar('left', true)) {
    get_template_part('sidebar');
}
?>
			<div class="main-content-wrapper main-content-wrapper--<?php 
echo get_post_type();
?>
"><div id="main" tabindex="0"></div>
			<main role="main" class="main-content main-content--<?php 
echo get_post_type();
?>
">	
				<?php 
bb_yoast_breadcrumb();
?>
				<?php 
bb_display_widget('posts-widget-top');
?>
				<?php 
if (isset($post)) {
    bb_display_widget(get_post_meta($post->ID, 'widget-top', true));
}
Esempio n. 3
0
<a href="#main" class="skiplink">Skip to main content</a> 
<?php 
if (bb_sidebar('left', true) || bb_sidebar('right', true)) {
}
?>
<a href="#sidebar" class="skiplink">Skip to Sidebar</a><?php 
if (has_nav_menu('main-menu')) {
}
?>
<a href="#main-menu" class="skiplink">Skip to Main Navigation</a>