-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-podcast.php
40 lines (26 loc) · 1.03 KB
/
single-podcast.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 if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php $multiple_on_page = false; ?>
<?php include(get_stylesheet_directory() . "/podcast-episode.php"); ?>
<?php if (get_next_post() || get_previous_post()) { ?>
<nav class="block">
<ul class="pager pager-unspaced">
<li class="previous"><?php previous_post_link('%link', "« " . __( 'Previous Episode', "simple-bootstrap")); ?></li>
<li class="next"><?php next_post_link('%link', __( 'Next Episode', "simple-bootstrap") . " »"); ?></li>
</ul>
</nav>
<?php } ?>
<?php comments_template('',true); ?>
<?php endwhile; ?>
<?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(); ?>