Template Name: Home */ get_header(); ?> <?php if (is_active_sidebar('stocky_home')) { ?> <?php $sb_count = wp_get_sidebars_widgets(); ?> <div id="home_widgets" class="<?php if (count($sb_count['stocky_home']) <= '4') { ?> widget_count<?php dcs_count_sidebar_widgets('stocky_home'); } else { ?> widget_count_overflow<?php } ?> clearfix"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('stocky_home')) { } ?> </div> <?php } ?>
?> <footer id="footer" class="wrapper"> <div class="container clearfix"> <?php if (is_active_sidebar('stocky_footer')) { ?> <?php $sb_count = wp_get_sidebars_widgets(); ?> <div id="footer_widgets" class="<?php if (count($sb_count['stocky_footer']) <= '4') { ?> footer_widget_count<?php dcs_count_sidebar_widgets('stocky_footer'); } else { ?> footer_widget_overflow<?php } ?> clearfix"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('stocky_footer')) { } ?> </div> <?php } ?>