-
Notifications
You must be signed in to change notification settings - Fork 1
/
content-single.php
58 lines (52 loc) · 2.03 KB
/
content-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
<article id='article-full' class="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<!-- / article title -->
<h2>
<span class='title'><?php the_title(); ?></span>
<span class='category'><?php the_category(', ','single'); ?></span>
<?php if ( 'post' == get_post_type() ) : ?>
<span class='creation-date'>
<?php the_date(); ?>
</span><!-- .creation-date -->
<span class='author'>
<a href="#authorbox"><?php the_author(); ?></a>
</span><!-- .creation-date -->
<?php endif; ?>
</h2>
<hr style='clear:both; visibility:hidden' />
<?php echo get_the_post_thumbnail($post->ID, array(375,375), array('class'=>'right last')); ?>
<?php the_content(); ?>
<ul class='tags'>
<?php the_tags('<li>','</li><li>','</li>'); ?>
</ul>
<!-- / author box -->
<aside class='author'>
<a name="authorbox" class="anchor"></a>
<div class='thumbnail right'>
<a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>">
<?php echo get_avatar( get_the_author_meta( 'ID' )); ?>
</a>
</div>
<div class='name'>
<a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>"><?php the_author(); ?></a>
</div>
<?php if ( get_the_author_meta( 'description' )) :
// If a user has filled out their description
?>
<div class='bio'>
<a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>"><?php the_author_meta( 'description' ); ?></a>
</div>
<?php endif; ?>
</aside>
<div id='sharebox'>
<div class='addthis_toolbox addthis_default_style '>
<a class='addthis_button_facebook_like' fb:like:layout='button_count'></a>
<a class='addthis_button_tweet'
tw:related='<?php echo revenudebase_twitter_username(); ?>'
tw:via='<?php echo revenudebase_twitter_username(); ?>'></a>
<a class='addthis_button_google_plusone' g:plusone:size='medium'></a>
<!-- /%a{ :class=>"addthis_counter addthis_pill_style" } -->
<script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'></script>
</div>
</div>
<?php comments_template(); ?>
</article>