-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbase.php
More file actions
executable file
·72 lines (57 loc) · 2.11 KB
/
base.php
File metadata and controls
executable file
·72 lines (57 loc) · 2.11 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
use Proud\Theme\Setup;
use Proud\Theme\Wrapper;
global $proudcore;
if (!$proudcore) {
echo "<html><body><h1>You need ProudCore to use this theme</h1></body></html>";
exit;
}
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<?php get_template_part('templates/head'); ?>
<body <?php body_class(); ?>>
<!--[if IE]>
<div class="alert alert-warning">
<?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'proud'); ?>
</div>
<![endif]-->
<?php
do_action('get_header');
?>
<?php echo Wrapper\alert_bar(); ?>
<div class="wrap <?php echo Wrapper\container_class(); ?>" role="document">
<?php if ($proudcore::$layout->page_parent_info('title')) : ?>
<?php get_template_part('templates/page-header-breadcrumb'); ?>
<?php endif; ?>
<div id="content-main" class="content row">
<?php if ($proudcore::$layout->page_parent_info('noagency')) : ?>
<aside class="sidebar"><!-- no agency sidebar -->
<?php include Wrapper\sidebar_path(); ?>
</aside><!-- /.sidebar -->
<?php endif; ?>
<?php if ($proudcore::$layout->page_parent_info('agency')) : ?>
<aside class="sidebar"><!-- agency sidebar -->
<?php include Wrapper\sidebar_agency_path(); ?>
</aside><!-- /.sidebar -->
<?php endif; ?>
<?php if ($proudcore::$layout->page_parent_info('proud-topic')) : ?>
<aside class="sidebar"><!-- topic sidebar -->
<?php include Wrapper\sidebar_proudtopic_path(); ?>
</aside><!-- /.sidebar -->
<?php endif; ?>
<main class="main"><!--PAGEWATCH-->
<?php include Wrapper\template_path(); ?>
<!--PAGEWATCH--></main><!-- /.main -->
</div><!-- /.content -->
</div><!-- /.wrap -->
<?php
do_action('get_footer');
get_template_part('templates/footer-actions');
get_template_part('templates/footer');
do_action('proud_footer');
do_action('proud_settings');
wp_footer();
?>
</body>
</html>