-
Notifications
You must be signed in to change notification settings - Fork 0
/
post-socials.php
28 lines (26 loc) · 1.25 KB
/
post-socials.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
<?php
global $data, $social_position;
if ($data['social_media'] == 1) {
$class = "";
if ($social_position[$data['social_position']] == 'right')
$class = " fixed-right";
else if ($social_position[$data['social_position']] == 'left')
$class = " fixed-left";
echo "<div class='tt-share-widget clearfix $class' id='sharing-1'>";
if ($data['social_twitter'] == 1)
echo "<span class='st_twitter_hcount' displayText='Tweet'></span>";
if ($data['social_googlePlus'] == 1)
echo "<span class='st_plusone_hcount' displayText='Google +1'></span>";
if ($data['social_linkedin'] == 1)
echo "<span class='st_linkedin_hcount' displayText='LinkedIn'></span>";
if ($data['social_pinterest'] == 1)
echo "<span class='st_pinterest_hcount' displayText='Pinterest'></span>";
if ($data['social_facebook'] == 1)
echo "<span class='st_facebook_hcount' displayText='Facebook'></span>";
if ($data['social_email'] == 1)
echo "<span class='st_email_hcount' displayText='Email'></span>";
if ($data['social_stumbleupon'] == 1)
echo "<span class='st_stumbleupon_hcount' displayText='StumbleUpon'></span>";
echo "</div>";
}
?>