-
Notifications
You must be signed in to change notification settings - Fork 0
/
base-newspaper_new.php
37 lines (37 loc) · 1.03 KB
/
base-newspaper_new.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
use Roots\Sage\Setup;
use Roots\Sage\Wrapper;
?>
<?php
do_action('get_header');
get_template_part('templates/header');
?>
<div class="wrap" role="document">
<div class="content container">
<main class="row">
<aside id="todos" class="col-md-8">
<?php
include Wrapper\template_path();
global $wp;
$type = key($wp->query_vars);
?>
<?php get_template_part('templates/' . $type); ?>
</aside>
<?php
if (Setup\display_sidebar()) : ?>
<aside id="page-sidebar" class="col-md-4 col-sm-12 hidden-xs">
<div class="sidebar-newspapaper_new">
<?php include Wrapper\sidebar_newspaper_new(); ?>
</div>
</aside><!-- /.sidebar -->
<?php endif; ?>
</main><!-- /.main -->
</div><!-- /.content -->
</div><!-- /.wrap -->
<?php
do_action('get_footer');
get_template_part('templates/footer');
wp_footer();
?>
</body>
</html>