forked from sams/Thematic-html5boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template-blog.php
57 lines (37 loc) · 1.13 KB
/
template-blog.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
48
49
50
51
52
53
54
55
56
57
<?php
/*
Template Name: Blog Page
*/
// calling the header.php
get_header();
// action hook for placing content above #container
thematic_abovecontainer(); ?>
<aside class="leftCol">
<?php thematic_sidebar(); ?>
</aside>
<section id="main" class="main">
<?php
thematic_abovecontent();
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("paged=$paged");
// create the navigation above the content
thematic_navigation_above();
// calling the widget area 'index-top'
get_sidebar('index-top');
// action hook for placing content above the index loop
thematic_above_indexloop();
// action hook creating the index loop
thematic_indexloop();
// action hook for placing content below the index loop
thematic_below_indexloop();
// calling the widget area 'index-bottom'
get_sidebar('index-bottom');
// create the navigation below the content
thematic_navigation_below();
thematic_belowcontent(); ?>
</section><!-- #main -->
<?php
// action hook for placing content below #container
thematic_belowcontainer();
// calling footer.php
get_footer();
?>