</section> </div> <!-- End Page Content --> <!-- Primary Sidebar --> <?php get_sidebar(); ?> <!-- End Primary Sidebar --> </div> <?php } // Otherwise no Front Page is selected } else { // If Baton Conductor is enabled if (baton_is_baton_conductor_enabled()) { get_template_part('loop', 'home-baton-conductor'); // Loop - Home Baton Conductor // Otherwise, no Baton Conductor is not enabled, show posts } else { ?> <div class="in front-page-in baton-flex baton-flex-front-page"> <!-- Home/Blog Content --> <div class="baton-col baton-col-content"> <section class="content-container content-home-container content-blog-container"> <?php get_template_part('yoast', 'breadcrumbs'); // Yoast Breadcrumbs ?> <?php
/** * This is used as the active_callback for Baton Conductor customizer components. */ function baton_conductor_customizer_active_callback() { return baton_is_baton_conductor_enabled() && baton_has_blog_front_page(); }