-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.php
More file actions
35 lines (28 loc) · 876 Bytes
/
home.php
File metadata and controls
35 lines (28 loc) · 876 Bytes
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
<?php
/**
* Home template file
*
* This will handle the blog page if it is defined on a post in the "Settings > Reading" admin panel.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WP_Basic_Bootstrap
* @since WP_Basic_Bootstrap 1.0
*/
$template = get_template_type();
$page_type = get_page_type();
$show_on_front = get_option('show_on_front');
if (BASICBOOTSTRAP_TPLDBG) {
error_log('loaded file : '.__FILE__);
error_log('page type : '.$page_type);
error_log('applied template : '.$template);
}
get_header_hierarchical('home'); ?>
<div id="content" role="main">
<?php if ($show_on_front == 'page') : ?>
<?php get_the_breadcrumb(); ?>
<?php endif; ?>
<?php get_template_part_hierarchical('partials/loop'); ?>
</div>
<?php get_sidebar_hierarchical('home'); ?>
<?php get_footer_hierarchical('home'); ?>