My favorites | Sign in
Project Home Wiki Issues
Checkout   Browse   Changes    
 
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
105
106
107
108
109
110
111
112
113
114
115
116
117
<?php get_header(); ?>

<div id="primary" class="single-post">
<div class="inside">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="primary">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?></a></h1>

<?php if ($hemingwayEx_options['reddit_button'] == 1): ?>
<div style="float:left; margin: 10px;">
<script type='text/javascript'>reddit_url='<?php the_permalink(); ?>'; reddit_title='<?php wp_title(''); ?>'; reddit_bgcolor = "0c0c0c";</script>
<script type="text/javascript" src="http://www.reddit.com/button.js?t=3"></script>
</div>
<?php endif; ?>

<?php the_content('<p class="serif">'. __('Read the rest of this entry &raquo;','hemingwayex') .'</p>'); ?>

<?php if (function_exists('emo_vote_display')): ?>
<p><div style="text-align:center"><strong><small>No time for a comment? Simply click on one of the colours below to let me know how you found this post.</small></strong></div></p>
<?php emo_vote_display('', '', ''); ?>
<?php endif; ?>

<?php if (function_exists('similar_posts')): ?>
<?php similar_posts('limit=3&skip=0&prefix=<div class="similar">Other similar posts you might like: &output_template={link}&divider= | &suffix=</div>') ?>
<?php endif; ?>

<hr class="hide" />
</div>
<div class="secondary snap_noshots">
<div class="abt-this-page"><?php _e('About this entry','hemingwayex') ?></div>
<div class="featured">
<?php if ($post->post_excerpt) the_excerpt(); else { ?>
<p><?php _e('You&rsquo;re currently reading an entry written by ','hemingwayex'); the_author(); ?></p>
<?php } ?>
<dl>
<dt><?php _e('Published','hemingwayex') ?>:</dt>
<dd><?php the_time( $hemingwayEx->date_format() . '.y' ) ?> / <?php the_time('ga') ?></dd>
</dl>
<dl>
<dt><?php _e('Category','hemingwayex') ?>:</dt>
<dd><?php the_category(', ') ?></dd>
</dl>
<dl>
<dt><?php _e('Tags','hemingwayex') ?>:</dt>
<dd><?php the_tags('', ', '); ?></dd>
</dl>
<?php if (function_exists('wp_related_posts')) { ?>
<dl>
<?php wp_related_posts(); ?>
</dl>
<?php } ?>
<?php if (function_exists('the_postrank')): ?>
<dl>
<dt>Postrank:</dt>
<dd><a href="http://www.postrank.com/feed/300313ec66539a0b46a85526e8349e43"><span style="color:#<?php the_postrank_color(); ?>;"><?php the_postrank(); ?></span></a></dd>
</dl>
<?php endif; ?>

<?php if (function_exists('mtw_wordcount')): ?>
<dl>
<dt>Word count:</dt>
<dd><?php echo mtw_wordcount(); ?></dd>
</dl>
<?php endif; ?>
<?php if ($hemingwayEx_options['post_navigation'] == 1) { ?>
<dl>
<dt><?php _e('Post Navigation','hemingwayex') ?>:<br /></dt>
<dd><?php previous_post_link(); ?><br /><?php next_post_link(); ?></dd>
</dl>
<?php } ?>

<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('Singepost Sidebar') ) : ?>
<?php endif; ?>

<?php edit_post_link(__('Edit this entry.','hemingwayex'), '<dl><dt>' . __('Edit','hemingwayex') .':</dt><dd> ', '</dd></dl>'); ?>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<!-- [END] #primary -->

<hr class="hide" />
<div id="secondary">
<div class="inside snap_noshots">

<?php if ('open' == $post-> comment_status) {
// Comments are open ?>
<div class="comment-head">
<?php if (function_exists('id_activate_hooks')) { // If Intense Debate Comments are not active remove the comment count?>
<span class="details"><a href="#respond">Jump to comment form</a><!-- | <?php comments_rss_link('comments rss'); ?> --> <?php if ('open' == $post->ping_status): ?>| <a href="<?php trackback_url(true); ?>">trackback uri</a><?php endif; ?></span>
<?php } else { // If Intense Debate Comments are not active go to normal ?>
<div class="num-comments"><?php comments_number('No comments','1 Comment','% Comments'); ?></div>
<span class="details"><a href="#comment-form"><?php _e('Jump to comment form','hemingwayex') ?></a> | <?php comments_rss_link('comments rss'); ?> <a href="#what-is-comment-rss" class="help">[?]</a> <?php if ('open' == $post->ping_status): ?>| <a href="<?php trackback_url(true); ?>"><?php _e('trackback uri','hemingwayex') ?></a> <a href="#what-is-trackback" class="help">[?]</a><?php endif; ?></span>
<?php } ?>
</div>
<?php } elseif ('open' != $post-> comment_status) {
// Neither Comments, nor Pings are open ?>
<div class="comment-head">
<h2><?php _e('Comments are closed','hemingwayex') ?></h2>
<span class="details"><?php _e('Comments are currently closed on this entry.','hemingwayex') ?></span>
</div>
<?php } ?>

<?php if (function_exists('backlinks')) backlinks(); ?>

<?php comments_template(); ?>

<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.', 'hemingwayex') ?></p>
<?php endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Change log

r18 by DbZero on Nov 26, 2009   Diff
Widgetized single post sidebar and
brightened the font colour
Go to: 

Older revisions

r17 by DbZero on Oct 1, 2009   Diff
Added backlinks code before the
comments
r16 by DbZero on Sep 16, 2009   Diff
Made excerpt on the single page only
show if there is one.
r14 by DbZero on Sep 14, 2009   Diff
Added different seriesbox colours for
each style. Removed some elements from
being snaped by the snapshots plugin.
Make the comment count before the
comments not visible if Intense Debate
...
All revisions of this file

File info

Size: 5654 bytes, 117 lines

File properties

svn:executable
*
Powered by Google Project Hosting