-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
executable file
·48 lines (28 loc) · 1.01 KB
/
single.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
<?php get_header(); ?>
<div class="article-wrap">
<div class="left articles">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div class="inner-wrapper">
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php include (TEMPLATEPATH . '/_/inc/meta.php' ); ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>
<?php the_tags( 'Tags: ', ', ', ''); ?>
<div class="categories"><?php _e("Categories: ", "alpaka"); the_category( ', '); ?>
</div>
<div class="related_posts">
<?php if (function_exists( related_posts() )) related_posts(); ?>
</div>
</div>
</div>
</article>
<?php comments_template(); ?>
<?php endwhile; endif; ?>
</div>
<div class="right">
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>