Example #1
0
    get_template_part('content', 'page');
    ?>
    <?php 
    comments_template('', true);
    ?>
    <?php 
}
// end of the loop.
?>


</div><!-- #content -->
<?php 
if (check_position_of_component('menu', 'right', smartadapt_option('smartadapt_layout'))) {
    get_template_part('section', 'menu');
}
//if menu is one the right side
?>
</div><!-- #main -->

</div><!-- #page -->

<?php 
//add sidebar on the right side
if (check_position_of_component('sidebar', 'right', smartadapt_option('smartadapt_layout'))) {
    get_sidebar();
}
?>
</div><!-- #wrapper -->
<?php 
get_footer();
Example #2
0
	<div class="row">
		<div class="columns large-16 smartlib-toggle-area" id="toggle-search">
			<?php 
maxflat_searchform();
//display toggle form search
?>

		</div>
	</div>
</div>
</div>
<div id="wrapper" class="row">

	<?php 
//if sidebar is large-1 the left side
if (check_position_of_component('sidebar', 'left')) {
    get_sidebar();
}
?>

	<div id="page" role="main" class="<?php 
echo get_class_of_component('page');
?>
">
		<?php 
maxflat_get_header();
//display header info or header image
maxflat_breadcrumb();
?>

		<div id="main" class="row">
Example #3
0
    ?>
	</div>
	<?php 
    harmonux_list_pagination('nav-below');
    ?>

	<?php 
} else {
    ?>
	<?php 
    get_template_part('views/content', 'none');
    ?>
	<?php 
}
?>



</main><!-- #main -->

</div><!-- #page -->

<?php 
//add sidebar on the right side
if (check_position_of_component('sidebar', 'right')) {
    get_sidebar();
}
?>
</div><!-- #wrapper -->
<?php 
get_footer();
Example #4
0
?>
	<div id="page" role="main" class="<?php 
echo get_class_of_component('page', smartadapt_option('smartadapt_layout'));
?>
">
		<?php 
smartadapt_header();
//display header info or header image
?>
		<div id="main" class="row">
			<nav id="mobile-navigation" class="columns sixteen show-for-small" role="navigation">
				<?php 
//if layout has vertical menu
if (smartadapt_option('smartadapt_layout') != 3) {
    //display mobile menu
    smartadapt_wp_nav_menu_select(array('theme_location' => 'categories'));
}
?>

			</nav>
<?php 
//if menu is one the left side
if (check_position_of_component('menu', 'left', smartadapt_option('smartadapt_layout'))) {
    get_template_part('section', 'menu');
}
?>