-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentry-footer.php
33 lines (30 loc) · 1.19 KB
/
entry-footer.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
<?php ob_start() ?>
<?php the_tags("", ", ", ""); ?>
<?php $tags = ob_get_contents(); ob_end_clean(); ?>
<?php if ( is_single() || is_page() ) : ?>
<div class="social">
<a class="FlattrButton"
title="<?php the_title() ?>"
data-flattr-uid="piratpartiet"
data-flattr-tags="<?php echo strip_tags($tags) ?>"
data-flattr-category="text"
href="<?php the_permalink() ?>">Flattr this</a>
<div class="fb-like" data-href="<?php the_permalink() ?>" data-send="false" data-layout="box_count" data-width="48" data-show-faces="false"></div>
<div class="g-plusone" data-size="tall"></div>
<div class="pusha-button">
<a href="http://www.pusha.se/posta?url=<?php echo urlencode(get_permalink()) ?>" target="_blank">
<img alt="Pusha" src="//static.pusha.se/176/i/push_arrow.png" title="Pusha denna nyhet" width=56 height=56 />
</a>
</div>
<div class="tweetmeme_button">
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="sv" data-size="large">Tweeta</a>
</div>
</div>
<?php
wp_enqueue_script('flattr');
wp_enqueue_script('gplusone');
wp_enqueue_script('twitter');
?>
<?php endif ?>
<?php echo $tags ?>
<div class="clearfix"></div>