-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
40 lines (26 loc) · 882 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
<?php get_header(); ?>
<div id="content" class="row">
<div id="main" class="<?php simple_boostrap_main_classes(); ?>" role="main">
<?php get_sidebar('sticky'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php
if( $post->post_type == 'podcast' ){
$multiple_on_page = true;
include(get_stylesheet_directory() . '/podcast-episode.php');
} else {
simple_boostrap_display_post(false);
}
?>
<?php endwhile; ?>
<?php simple_boostrap_page_navi(); ?>
<?php else : ?>
<article id="post-not-found" class="block">
<p><?php _e("No posts found.", "simple-bootstrap"); ?></p>
</article>
<?php endif; ?>
</div>
<?php get_sidebar("left"); ?>
<?php get_sidebar("right"); ?>
</div>
<?php get_footer(); ?>