Ejemplo n.º 1
0
            <main>
              <?php 
    include Wrapper\template_path();
    ?>
            </main><!-- /.main -->

          <?php 
} else {
    ?>
            <!-- for other article -->

            <div class="col-md-8"> <!-- main post -->

               <main>
                <?php 
    include Wrapper\template_path();
    ?>
              </main><!-- /.main -->
            </div>

            <div class="col-md-4"> <!-- side bar -->
              <?php 
    if (Setup\display_sidebar()) {
        ?>
                <aside>
                  <?php 
        include Wrapper\sidebar_path();
        ?>
                </aside>
              <?php 
    }
Ejemplo n.º 2
0
use Roots\Sage\Config;
use Roots\Sage\Wrapper;
?>

<!doctype html>
<html class="layout__html" <?php 
language_attributes();
?>
>
    <?php 
get_template_part('templates/head');
?>
  <body <?php 
body_class('layout__body');
?>
>
      <!-- main content -->
        <?php 
require Wrapper\template_path();
?>
      
      <!-- footer -->
        <?php 
do_action('get_footer');
get_template_part('templates/footer');
wp_footer();
?>
  </body>
</html>