-
Notifications
You must be signed in to change notification settings - Fork 0
/
paget-page2col.php
46 lines (42 loc) · 1.4 KB
/
paget-page2col.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
<?php
/**
* Template Name: 2 Col Content (split w/ <!--more-->).
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package WordPress
* @subpackage Weaver II
* @since Weaver II 1.0
*/
weaverii_get_header('page');
if ( weaverii_getopt('wii_infobar_location') == 'top' ) get_template_part('infobar');
weaverii_inject_area('premain');
echo("\t<div id=\"main\">\n");
weaverii_trace_template(__FILE__);
weaverii_get_sidebar_left('page');
?>
<div id="container_wrap"<?php weaverii_get_page_class('page', 'container-page2col'); ?>>
<?php if (weaverii_getopt('wii_infobar_location') == 'content') get_template_part('infobar');
weaverii_inject_area('precontent'); ?>
<div id="container">
<?php weaverii_get_sidebar_top('page'); ?>
<div id="content" role="main">
<?php while ( have_posts() ) {
weaverii_post_count_clear(); the_post();
if (weaverii_use_mobile('mobile'))
get_template_part( 'content', 'page' );
else
get_template_part( 'content', 'page2col' );
comments_template( '', true );
}
?>
</div><!-- #content -->
<?php weaverii_get_sidebar_bottom('page'); ?>
</div><!-- #container -->
</div><!-- #container_wrap -->
<?php weaverii_get_sidebar_right('page');
weaverii_get_footer('page');
?>