function thb_page_sidebar($type = 'main', $class = '')
 {
     $sidebar = thb_get_page_sidebar();
     $sidebar = apply_filters('thb_page_sidebar', $sidebar);
     thb_display_sidebar($sidebar, $type, $class);
 }
Exemple #2
0
<?php 
get_template_part('partial-header-closure');
?>

	<?php 
thb_page_before();
?>
		<section id="content">
			<?php 
thb_page_start();
?>

			<?php 
get_template_part("loop/blog", "classic");
?>

			<?php 
thb_page_end();
?>
		</section>
	<?php 
thb_page_after();
?>

	<?php 
thb_display_sidebar('post-sidebar', 'main');
?>

<?php 
get_footer();
Exemple #3
0
 function thb_woocommerce_sidebar()
 {
     $sidebar_name = thb_get_woocommerce_sidebar_name();
     thb_display_sidebar($sidebar_name);
 }
Exemple #4
0
 function thb_archives_sidebar($type = 'main', $class = '')
 {
     thb_display_sidebar('archives-sidebar', $type, $class);
 }