-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.php
47 lines (37 loc) · 1.24 KB
/
index.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
38
39
40
41
42
43
44
45
46
47
<?php
/**
* Index Template
*
* The index template is a placeholder for all cases that don't have a template file.
* Ideally, all fases would be handled by a more appropriate template according to the
* current page context (for example, `tag.php` for a `post_tag` archive or `single.php`
* for a single blog post).
*
* @package WooFramework
* @subpackage Template
*/
get_header();
global $woo_options;
?>
<!-- #content Starts -->
<?php woo_content_before(); ?>
<div id="content" class="row">
<div id="main-sidebar-container">
<!-- #main Starts -->
<?php woo_main_before(); ?>
<div id="main" class="col-left">
<?php
if ( is_home() && is_active_sidebar( 'homepage' ) ) {
dynamic_sidebar( 'homepage' );
} else {
get_template_part( 'loop', 'index' );
}
?>
</div><!-- /#main -->
<?php woo_main_after(); ?>
<?php get_sidebar(); ?>
</div><!-- /#main-sidebar-container -->
<?php get_sidebar( 'alt' ); ?>
</div><!-- /#content -->
<?php woo_content_after(); ?>
<?php get_footer(); ?>