-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
50 lines (37 loc) · 814 Bytes
/
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
48
49
50
<?php
get_header();
$subtitle=get_opt("_posts_subtitle");
$slider=get_opt('_home_slider');
$slider_prefix=get_opt('_home_slider_name');
if($slider_prefix=='default'){
$slider_prefix='';
}
$layout=get_opt('_blog_layout');
$static_image=get_opt('_blog_static_image');
include(TEMPLATEPATH . '/includes/page-header.php');
?>
<div id="content-container" class="content-gradient <?php echo $layoutclass; ?> ">
<div id="<?php echo $content_id; ?>"><?php
if(have_posts()){
while(have_posts()){
the_post();
global $more;
$more = 0;
include(TEMPLATEPATH . '/includes/post-template.php');
}
print_pagination();
}else{
echo ('No posts available');
}
?>
</div>
<?php
if($layout!='full'){
print_sidebar(get_opt('_blog_sidebar'));
}
?>
<div class="clear"></div>
</div>
<?php
get_footer();
?>