-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
23 lines (23 loc) · 797 Bytes
/
Copy pathsingle.php
File metadata and controls
23 lines (23 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php get_header(); ?>
<div id="main">
<div class="sidebar">
<h1 class="back-link"><a href="<?php bloginfo('url'); ?>/"><span class="nav-arrow">←</span> blog</a></h1>
</div><!--side-bar-->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php
get_template_part(
'template-parts/post',
null,
array(
'meta' => in_category( array( 'radio', 'hotinhere', 'mpb' ) ) ? 'date-only' : 'categories',
)
);
?>
<?php get_template_part( 'template-parts/comment-thread' ); ?>
<?php endwhile; else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<!-- <?php include (TEMPLATEPATH . "/searchform.php"); ?> -->
<?php endif; ?>
</div><!--row-->
<?php get_footer(); ?>