<div class="col threecol fw-3 clearfix"> <?php if (is_active_sidebar('footer-area-3')) { dynamic_sidebar('footer-area-3'); } else { ac_return_inactive_widgets('footer-area-3'); } ?> </div><!-- footer - area #3 --> <div class="col threecol fw-4 clearfix last"> <?php if (is_active_sidebar('footer-area-4')) { dynamic_sidebar('footer-area-4'); } else { ac_return_inactive_widgets('footer-area-4'); } ?> </div><!-- footer - area #4 --> <?php do_action('ac_action_footer_widgets_inside_bot'); // Footer widgets inside bottom action ?> </section><!-- END .container .footer-widgets .builder --> <?php } // ac_disable_widgetized_footer ?> <?php
<?php /* ------------------------------------------------------------------------- * * Index template /* ------------------------------------------------------------------------- */ get_header(); ?> <?php // Sections output (Main Page - Before posts) if (is_active_sidebar('main-page-before') && !is_paged()) { dynamic_sidebar('main-page-before'); } else { ac_return_inactive_widgets('front-page-before'); } ?> <?php if (!get_theme_mod('ac_disable_index_posts', false)) { ?> <section class="container<?php ac_mini_disabled(); ?> main-section clearfix"> <?php get_sidebar('browse'); ?>
<?php /* ------------------------------------------------------------------------- * * This sidebar appears only in single view (posts) /* ------------------------------------------------------------------------- */ ?> <section class="sidebar posts-sidebar clearfix"> <?php // Posts sidebar inside top action do_action('ac_action_posts_sidebar_inside_top'); // Widgetized posts sidebar if (is_active_sidebar('posts-sidebar')) { dynamic_sidebar('posts-sidebar'); } else { ac_return_inactive_widgets('sidebars'); } // Posts sidebar inside bottom action do_action('ac_action_posts_sidebar_inside_bot'); ?> <!-- END Sidebar Widgets --> </section><!-- END .sidebar -->