-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathsingle.php
76 lines (69 loc) · 2.37 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php get_header(); ?>
<div class="section content">
<div class="row">
<div class="content-primary">
<div class="skin">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div class="post" id="post-'<?php the_ID(); ?>'">
<div class="post-title">
<h1><?php the_title(); ?></h1>
</div>
<div class="post-info">
<div class="commentbubble">
<?php comments_popup_link( '0', '1', '%', 'comments-link', '-'); ?>
</div>
<div class="cal-icon">
<span class="day"><?php the_time('j'); ?></span>
<span class="month"><?php the_time('m.'); ?></span>
<span class="year"><?php the_time('Y'); ?></span>
</div>
</div>
<div class="post-entry">
<?php the_content(); ?>
</div>
<div class="post-meta">
<div><?php twentyten_posted_on(); ?><?php twentyten_posted_in(); ?></div>
<div><?php edit_post_link( __( 'Bearbeiten', 'twentyten' ), '', '' ); ?></div>
</div>
</div>
<hr>
<div class="post-comments">
<?php comments_template( '', true ); ?>
</div>
<div class="post-nav">
<ul>
<?php previous_post_link('<li class="back">%link</li>', '%title', $in_same_cat = false, $excluded_categories = ''); ?>
<?php next_post_link('<li class="forward">%link</li>', '%title', $in_same_cat = false, $excluded_categories = ''); ?>
</ul>
<h3><?php _e('Das könnte dich auch interessieren:') ?></h3>
<ul class="related">
<?php do_action(
'related_posts_by_category',
array(
'orderby' => 'post_date',
'order' => 'DESC',
'limit' => 5,
'echo' => true,
'before' => '<li>',
'inside' => '',
'outside' => '',
'after' => '</li>',
'rel' => 'follow',
'type' => 'post',
'image' => array(1, 1),
'message' => 'Keine Treffer'
)
) ?>
</ul>
</div>
<?php endwhile; // end of the loop. ?>
</div>
</div>
<div class="content-aside">
<div class="skin">
<?php get_sidebar(); ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>