/** * Markup to show after the main WooCommerce content * * @since 1.0.0. * * @return void */ function quest_woocommerce_after_main_content() { // End content wrapper ?> </main><!-- #main --> </div><!-- #primary --> <?php quest_try_sidebar(quest_get_view(), 'right'); ?> </div><!-- .row --> </div><!-- .container --> </div> </div><!-- #content --> <?php }
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package Quest */ get_header(); $view = quest_get_view(); ?> <div id="content"> <?php quest_title_bar($view); ?> <div class="quest-row site-content"> <div class="container"> <div class="row"> <?php quest_try_sidebar($view, 'left'); ?> <div id="primary" class="content-area single <?php quest_main_cls();
/** * Prints the appropriate Bootstrap class for the main content area */ function quest_main_cls() { $view = quest_get_view(); $pos = quest_get_mod('layout_' . $view . '_sidebar'); if ($pos === 'none') { echo 'col-md-12'; } else { echo 'col-md-9'; } }