Example #1
0
<?php

/**
 * SIDEBAR - POST
 */
?>

	<section class="sidebar">

		<?php 
if (is_active_sidebar('sidebar-post')) {
    dynamic_sidebar('sidebar-post');
} else {
    the_widget('kite_widget_author');
    the_widget('kite_widget_related');
    the_widget('kite_widget_latest');
    the_widget('kite_widget_share');
    the_widget('WP_Widget_Tag_Cloud', '', kite_get_widget_options());
    the_widget('WP_Widget_Search', '', kite_get_widget_options());
    the_widget('WP_Widget_Categories', '', kite_get_widget_options());
}
?>

	</section>
Example #2
0
    the_widget('WP_Widget_Categories', '', kite_get_widget_options(true));
}
if (is_active_sidebar('sidebar-footer-two')) {
    dynamic_sidebar('sidebar-footer-two');
} else {
    the_widget('WP_Widget_Archives', '', kite_get_widget_options(true));
}
if (is_active_sidebar('sidebar-footer-three')) {
    dynamic_sidebar('sidebar-footer-three');
} else {
    the_widget('WP_Widget_Meta', '', kite_get_widget_options(true));
}
if (is_active_sidebar('sidebar-footer-four')) {
    dynamic_sidebar('sidebar-footer-four');
} else {
    the_widget('WP_Widget_Calendar', '', kite_get_widget_options(true));
}
?>
			</div>
		</div>
		<div class="lower">
			<div class="wrapper">
				<div class="bloginfo">
					<?php 
if (get_theme_mod('footer_logo') != "") {
    ?>
						<a href="<?php 
    echo esc_url(home_url('/'));
    ?>
" class="logo"><img src="<?php 
    echo esc_url(get_theme_mod('footer_logo'));