-
Notifications
You must be signed in to change notification settings - Fork 1
/
single.php
executable file
·104 lines (64 loc) · 3.02 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php get_header(); ?>
<div id='single'>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class='posttitlebar'>
<div class='heading'><?php the_title(); ?><?php
if (is_sticky()) echo '<small style="color: #C33;"> !</small>';
?></div>
<div class='dateauthor'>
<!-- <?php the_time('M jS, Y') ?> by <?php the_author() ?> --><?php
foreach((get_the_category()) as $cat)
{
print
"<a href='" . get_category_link($cat->cat_ID) . "'>" .
"$cat->cat_name, </a>";
}
?><!-- | Reviewers: <?php
print
get_the_tag_list(
$before = ' ',
$sep = ', ',
$after = '');
?> -->
<div class='review-count'>Reviews: <strong><?php comments_number('0', '1', '%' );?></strong></div>
</div>
</div>
<div class='postmetabox1'>
<div class='postmetadata1'>
<h3 style="margin-top: 0em;">Average Rankings</h3>
<?php if (function_exists('ratings_table')) ratings_table(); ?>
</div>
</div>
<div class='entry'>
<?php the_content(); ?>
<strong> <a
class='morelink'
title='Click to view post and comments'
href='<?php the_permalink(); ?>'>Review the full application and score »</a></strong>
<br clear='all' />
<?php wp_delete_post_link('(trash)', '<div class="post-edit">', '</div>'); ?>
<?php edit_post_link( $link, $before, $after, $id ); ?>
</div> <!-- entry -->
<div id="nav-below">
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
<br /><br />
Status: <?php the_tags( $before, $separator, $after ); ?>
</div><!-- #nav-below -->
</div> <!-- post -->
<?php endwhile; ?>
<br clear='all' />
<?php
wp_link_pages(
array
(
'before' => '<div id="subpagelinks"><span>Pages:</span> ',
'after' => '</div>',
'next_or_number' => 'number'
)
);
?>
</div>
<?php comments_template(); ?>
<?php get_footer(); ?>