Version Description
- Facebook like button bug is fixed.
- Facebook send button not available.
- Email button bug fixed.
- Added query strings to all WP Socializer CSS and JS files.
Download this release
Release Info
Developer | vaakash |
Plugin | WP Socializer |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.4.1
- Thumbs.db +0 -0
- admin/wpsr-admin.php +3 -3
- includes/wpsr-facebook.php +29 -18
- includes/wpsr-floatingbar.php +2 -2
- includes/wpsr-shortcodes.php +2 -2
- includes/wpsr-socialbuttons.php +4 -4
- public/social-icons/Thumbs.db +0 -0
- public/social-icons/temp/Thumbs.db +0 -0
- public/social-icons/temp/wp-socializer-sprite-16px-2.png +0 -0
- public/social-icons/temp/wp-socializer-sprite-16px.png +0 -0
- public/social-icons/temp/wp-socializer-sprite-32px-2.png +0 -0
- public/social-icons/temp/wp-socializer-sprite-32px.png +0 -0
- readme.txt +10 -2
- wp-socializer.php +5 -9
Thumbs.db
ADDED
Binary file
|
admin/wpsr-admin.php
CHANGED
@@ -83,7 +83,7 @@ echo
|
|
83 |
<span class="admSprites facebookIcon"></span>Facebook
|
84 |
<ul class="childMenu">
|
85 |
<li openTag="{facebook-like}">Like button</li>
|
86 |
-
<li
|
87 |
</ul>
|
88 |
</li>
|
89 |
|
@@ -931,7 +931,7 @@ function wpsr_admin_page(){
|
|
931 |
<div class="section">
|
932 |
<table width="100%" border="0">
|
933 |
<tr>
|
934 |
-
<td height="52"><label for="wpsr_addthis_username"><?php _e('
|
935 |
<td><input type="text" id="wpsr_addthis_username" name="wpsr_addthis_username" value="<?php echo $wpsr_addthis['username']; ?>" /><br /><span class="smallText"> <?php _e('If available', 'wpsr'); ?></span></td>
|
936 |
<td><label for="wpsr_addthis_lang"><?php _e('Language', 'wpsr'); ?></label></td>
|
937 |
<td><select name="wpsr_addthis_lang" id="wpsr_addthis_lang">
|
@@ -1167,7 +1167,7 @@ function wpsr_admin_page(){
|
|
1167 |
<table width="100%" border="0">
|
1168 |
<tr>
|
1169 |
<td height="38"><label for="wpsr_facebook_appid"><?php _e('Application ID', 'wpsr'); ?></label></td>
|
1170 |
-
<td><input name="wpsr_facebook_appid" id="wpsr_facebook_appid" type="text" value="<?php echo $wpsr_facebook['appid']; ?>"/><br /><span class="smallText"><?php _e('Useful in analytics', 'wpsr');
|
1171 |
</tr>
|
1172 |
</table>
|
1173 |
</div>
|
83 |
<span class="admSprites facebookIcon"></span>Facebook
|
84 |
<ul class="childMenu">
|
85 |
<li openTag="{facebook-like}">Like button</li>
|
86 |
+
<li style="opacity:0.2" title="Not available">Like button + Send button</li>
|
87 |
</ul>
|
88 |
</li>
|
89 |
|
931 |
<div class="section">
|
932 |
<table width="100%" border="0">
|
933 |
<tr>
|
934 |
+
<td height="52"><label for="wpsr_addthis_username"><?php _e('AddThis PubID', 'wpsr'); ?></label></td>
|
935 |
<td><input type="text" id="wpsr_addthis_username" name="wpsr_addthis_username" value="<?php echo $wpsr_addthis['username']; ?>" /><br /><span class="smallText"> <?php _e('If available', 'wpsr'); ?></span></td>
|
936 |
<td><label for="wpsr_addthis_lang"><?php _e('Language', 'wpsr'); ?></label></td>
|
937 |
<td><select name="wpsr_addthis_lang" id="wpsr_addthis_lang">
|
1167 |
<table width="100%" border="0">
|
1168 |
<tr>
|
1169 |
<td height="38"><label for="wpsr_facebook_appid"><?php _e('Application ID', 'wpsr'); ?></label></td>
|
1170 |
+
<td><input name="wpsr_facebook_appid" id="wpsr_facebook_appid" type="text" value="<?php echo $wpsr_facebook['appid']; ?>"/><br /><span class="smallText"><?php _e('Useful in analytics', 'wpsr'); ?>. Enter a <b>valid</b> ID or else leave blank.</span></td>
|
1171 |
</tr>
|
1172 |
</table>
|
1173 |
</div>
|
includes/wpsr-facebook.php
CHANGED
@@ -1,25 +1,10 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Facebook buttons Processor code for WP Socializer Plugin
|
4 |
-
* Version : 1.
|
5 |
* Author : Aakash Chakravarthy
|
6 |
*/
|
7 |
|
8 |
-
function wpsr_facebook_script(){
|
9 |
-
// Get the appId
|
10 |
-
$wpsr_facebook = get_option('wpsr_facebook_data');
|
11 |
-
|
12 |
-
return "\n<!-- WP Socializer - Facebook Script -->\n<div id=\"fb-root\"></div>
|
13 |
-
<script type=\"text/javascript\">(function(d, s, id) {
|
14 |
-
var js, fjs = d.getElementsByTagName(s)[0];
|
15 |
-
if (d.getElementById(id)) return;
|
16 |
-
js = d.createElement(s); js.id = id;
|
17 |
-
js.src = \"//connect.facebook.net/en_US/all.js#xfbml=1" . ((empty($wpsr_facebook['appid'])) ? '' : '&appId=' . $wpsr_facebook['appid']) . "\";
|
18 |
-
fjs.parentNode.insertBefore(js, fjs);
|
19 |
-
}(document, 'script', 'facebook-jssdk'));
|
20 |
-
</script>\n<!-- WP Socializer - Facebook Script -->\n";
|
21 |
-
}
|
22 |
-
|
23 |
function wpsr_facebook($args = ''){
|
24 |
global $post;
|
25 |
|
@@ -38,6 +23,7 @@ function wpsr_facebook($args = ''){
|
|
38 |
'verb' => 'like',
|
39 |
'font' => 'arial',
|
40 |
'color' => 'light',
|
|
|
41 |
'text' => __('Share on Facebook', 'wpsr'),
|
42 |
'image' => WPSR_PUBLIC_URL . 'buttons/facebook-bt.png',
|
43 |
'params' => '',
|
@@ -51,9 +37,33 @@ function wpsr_facebook($args = ''){
|
|
51 |
switch($output){
|
52 |
// Output ordinary button
|
53 |
case 'button':
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
$facebook_processed .=
|
56 |
-
'<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
break;
|
58 |
|
59 |
// Output Image format
|
@@ -87,6 +97,7 @@ function wpsr_facebook_bt($type){
|
|
87 |
'font' => $wpsr_facebook['font'],
|
88 |
'verb' => $wpsr_facebook['verb'],
|
89 |
'color' => $wpsr_facebook['color'],
|
|
|
90 |
));
|
91 |
## End Output
|
92 |
|
1 |
<?php
|
2 |
/*
|
3 |
* Facebook buttons Processor code for WP Socializer Plugin
|
4 |
+
* Version : 1.7
|
5 |
* Author : Aakash Chakravarthy
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
function wpsr_facebook($args = ''){
|
9 |
global $post;
|
10 |
|
23 |
'verb' => 'like',
|
24 |
'font' => 'arial',
|
25 |
'color' => 'light',
|
26 |
+
'appid' => '',
|
27 |
'text' => __('Share on Facebook', 'wpsr'),
|
28 |
'image' => WPSR_PUBLIC_URL . 'buttons/facebook-bt.png',
|
29 |
'params' => '',
|
37 |
switch($output){
|
38 |
// Output ordinary button
|
39 |
case 'button':
|
40 |
+
|
41 |
+
if($style == 'standard' && $showfaces == 1){
|
42 |
+
$height = 80;
|
43 |
+
}
|
44 |
+
if ($style == 'standard' && $showfaces == 0){
|
45 |
+
$height = 35;
|
46 |
+
}
|
47 |
+
if ($style == 'button_count'){
|
48 |
+
$height = 21;
|
49 |
+
}
|
50 |
+
if ($style == 'box_count'){
|
51 |
+
$height = 62;
|
52 |
+
}
|
53 |
+
|
54 |
$facebook_processed .=
|
55 |
+
'<iframe src="http://www.facebook.com/plugins/like.php?' .
|
56 |
+
'&href=' . $url .
|
57 |
+
'&layout=' . $style .
|
58 |
+
'&show_faces=' . $showfaces .
|
59 |
+
'&width=' . $width .
|
60 |
+
'&action=' . $verb .
|
61 |
+
'&font=' . $font .
|
62 |
+
'&colorscheme=' . $color .
|
63 |
+
'&height=' . $height .
|
64 |
+
'&appId=' . $appid .
|
65 |
+
'" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:' . $width . 'px; height:' . $height . 'px;" allowTransparency="true"></iframe>';
|
66 |
+
|
67 |
break;
|
68 |
|
69 |
// Output Image format
|
97 |
'font' => $wpsr_facebook['font'],
|
98 |
'verb' => $wpsr_facebook['verb'],
|
99 |
'color' => $wpsr_facebook['color'],
|
100 |
+
'appid' => $wpsr_facebook['appid']
|
101 |
));
|
102 |
## End Output
|
103 |
|
includes/wpsr-floatingbar.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Floating share bar Processor code for WP Socializer Plugin
|
4 |
-
* Version : 1.
|
5 |
* Since : v2.4
|
6 |
* Author : Aakash Chakravarthy
|
7 |
*/
|
@@ -61,7 +61,7 @@ function wpsr_floatingbts_output(){
|
|
61 |
echo do_shortcode(wpsr_process_floatingbts());
|
62 |
echo '
|
63 |
<!-- Start WP Socializer | Floating bar - JS file-->
|
64 |
-
<script type="text/javascript" src="' . WPSR_PUBLIC_URL . 'js/wp-socializer-floating-bar-js.js"></script>
|
65 |
<!-- End WP Socializer | Floating bar - JS file -->
|
66 |
';
|
67 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
* Floating share bar Processor code for WP Socializer Plugin
|
4 |
+
* Version : 1.1
|
5 |
* Since : v2.4
|
6 |
* Author : Aakash Chakravarthy
|
7 |
*/
|
61 |
echo do_shortcode(wpsr_process_floatingbts());
|
62 |
echo '
|
63 |
<!-- Start WP Socializer | Floating bar - JS file-->
|
64 |
+
<script type="text/javascript" src="' . WPSR_PUBLIC_URL . 'js/wp-socializer-floating-bar-js.js?v=' . WPSR_VERSION . '"></script>
|
65 |
<!-- End WP Socializer | Floating bar - JS file -->
|
66 |
';
|
67 |
}
|
includes/wpsr-shortcodes.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Shortcodes for WP Socializer plugin
|
4 |
-
* Version : 2.
|
5 |
* Author : Aakash Chakravarthy
|
6 |
* Since : 2.0
|
7 |
*/
|
@@ -58,7 +58,7 @@ add_shortcode('wpsr_digg', 'wpsr_digg_shortcode');
|
|
58 |
|
59 |
## Facebook Shortcode
|
60 |
function wpsr_facebook_shortcode($atts){
|
61 |
-
return wpsr_facebook($atts)
|
62 |
}
|
63 |
add_shortcode('wpsr_facebook', 'wpsr_facebook_shortcode');
|
64 |
|
1 |
<?php
|
2 |
/*
|
3 |
* Shortcodes for WP Socializer plugin
|
4 |
+
* Version : 2.1
|
5 |
* Author : Aakash Chakravarthy
|
6 |
* Since : 2.0
|
7 |
*/
|
58 |
|
59 |
## Facebook Shortcode
|
60 |
function wpsr_facebook_shortcode($atts){
|
61 |
+
return wpsr_facebook($atts);
|
62 |
}
|
63 |
add_shortcode('wpsr_facebook', 'wpsr_facebook_shortcode');
|
64 |
|
includes/wpsr-socialbuttons.php
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Social buttons Processor code for WP Socializer Plugin
|
4 |
-
* Version : 4.
|
5 |
* Author : Aakash Chakravarthy
|
6 |
*/
|
7 |
|
8 |
function wpsr_socialbts_script(){
|
9 |
echo "\n<!-- Start WP Socializer | Social Buttons CSS File -->\n";
|
10 |
-
echo '<link rel="stylesheet" type="text/css" media="all" href="' . WPSR_PUBLIC_URL . 'css/wp-socializer-buttons-css.css" />';
|
11 |
echo "\n<!-- End WP Socializer | Social Buttons CSS File -->\n";
|
12 |
}
|
13 |
|
14 |
function wpsr_addtofavorites_script(){
|
15 |
echo "\n<!-- Start WP Socializer | Bookmark File -->\n";
|
16 |
-
echo '<script type="text/javascript" src="' . WPSR_PUBLIC_URL . 'js/wp-socializer-bookmark-js.js"></script>';
|
17 |
echo "\n<!-- End WP Socializer | Bookmark CSS File -->\n";
|
18 |
}
|
19 |
|
@@ -109,7 +109,7 @@ function wpsr_get_shorturl($url){
|
|
109 |
return urlencode($url);
|
110 |
}
|
111 |
}else{
|
112 |
-
$url = 'http://api.bit.ly/v3/shorten?login=' . $username . '&apiKey=' . $apikey . '&
|
113 |
$ch = curl_init();
|
114 |
$timeout = 5;
|
115 |
curl_setopt($ch,CURLOPT_URL,$url);
|
1 |
<?php
|
2 |
/*
|
3 |
* Social buttons Processor code for WP Socializer Plugin
|
4 |
+
* Version : 4.5
|
5 |
* Author : Aakash Chakravarthy
|
6 |
*/
|
7 |
|
8 |
function wpsr_socialbts_script(){
|
9 |
echo "\n<!-- Start WP Socializer | Social Buttons CSS File -->\n";
|
10 |
+
echo '<link rel="stylesheet" type="text/css" media="all" href="' . WPSR_PUBLIC_URL . 'css/wp-socializer-buttons-css.css?v=' . WPSR_VERSION . '" />';
|
11 |
echo "\n<!-- End WP Socializer | Social Buttons CSS File -->\n";
|
12 |
}
|
13 |
|
14 |
function wpsr_addtofavorites_script(){
|
15 |
echo "\n<!-- Start WP Socializer | Bookmark File -->\n";
|
16 |
+
echo '<script type="text/javascript" src="' . WPSR_PUBLIC_URL . 'js/wp-socializer-bookmark-js.js?v=' . WPSR_VERSION . '"></script>';
|
17 |
echo "\n<!-- End WP Socializer | Bookmark CSS File -->\n";
|
18 |
}
|
19 |
|
109 |
return urlencode($url);
|
110 |
}
|
111 |
}else{
|
112 |
+
$url = 'http://api.bit.ly/v3/shorten?login=' . $username . '&apiKey=' . $apikey . '&longUrl=' . urlencode($url) . '&format=txt';
|
113 |
$ch = curl_init();
|
114 |
$timeout = 5;
|
115 |
curl_setopt($ch,CURLOPT_URL,$url);
|
public/social-icons/Thumbs.db
ADDED
Binary file
|
public/social-icons/temp/Thumbs.db
ADDED
Binary file
|
public/social-icons/temp/wp-socializer-sprite-16px-2.png
ADDED
Binary file
|
public/social-icons/temp/wp-socializer-sprite-16px.png
ADDED
Binary file
|
public/social-icons/temp/wp-socializer-sprite-32px-2.png
ADDED
Binary file
|
public/social-icons/temp/wp-socializer-sprite-32px.png
ADDED
Binary file
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: social, social bookmarking, bookmarks, bookmarking, bookmarks menu, share,
|
|
6 |
Donate Link: http://bit.ly/wpsrDonate
|
7 |
Requires at least: 2.8
|
8 |
Tested up to: 3.3.x
|
9 |
-
Stable tag: 2.4
|
10 |
|
11 |
Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
|
12 |
|
@@ -24,6 +24,8 @@ WP Socializer is an advanced plugin for inserting all kinds of Social bookmarkin
|
|
24 |
|
25 |
[youtube="http://www.youtube.com/v/1uimAE8rFYE"]
|
26 |
|
|
|
|
|
27 |
= Buttons available =
|
28 |
|
29 |
Using WP Socializer, you can insert all these buttons into your site. These buttons can be inserted easily in any desired way. There is no fixed way as other plugins do.
|
@@ -49,7 +51,7 @@ The social buttons can be inserted above or below posts easily. There are no fix
|
|
49 |
|
50 |
Automatic adjustments are made to display the buttons in feeds. Custom buttons can also be added. Bit.ly integration is also available. Button scripts are optimized for site performance.
|
51 |
|
52 |
-
Exclude the social buttons in specific pages. Insert the social buttons easily in Widgets using the [HTML Javascript Plugin](
|
53 |
|
54 |
= Reference links =
|
55 |
For more information on the plugin, you can use the below links.
|
@@ -97,6 +99,12 @@ For custom placement in theme files and posts, check out the following documenta
|
|
97 |
|
98 |
== Changelog ==
|
99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
= 2.4 =
|
101 |
* Admin UI is completely changed as per users request.
|
102 |
* Floating share buttons are added.
|
6 |
Donate Link: http://bit.ly/wpsrDonate
|
7 |
Requires at least: 2.8
|
8 |
Tested up to: 3.3.x
|
9 |
+
Stable tag: 2.4.1
|
10 |
|
11 |
Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
|
12 |
|
24 |
|
25 |
[youtube="http://www.youtube.com/v/1uimAE8rFYE"]
|
26 |
|
27 |
+
(Check out the changelog for new fixes in this version)
|
28 |
+
|
29 |
= Buttons available =
|
30 |
|
31 |
Using WP Socializer, you can insert all these buttons into your site. These buttons can be inserted easily in any desired way. There is no fixed way as other plugins do.
|
51 |
|
52 |
Automatic adjustments are made to display the buttons in feeds. Custom buttons can also be added. Bit.ly integration is also available. Button scripts are optimized for site performance.
|
53 |
|
54 |
+
Exclude the social buttons in specific pages. Insert the social buttons easily in Widgets using the [HTML Javascript Plugin](html-javascript-adder "A plugin for adding advanced html, text widgets in the sidebar").
|
55 |
|
56 |
= Reference links =
|
57 |
For more information on the plugin, you can use the below links.
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
+
= 2.4.1 =
|
103 |
+
* Facebook like button bug is fixed.
|
104 |
+
* Facebook send button not available.
|
105 |
+
* Email button bug fixed.
|
106 |
+
* Added query strings to all WP Socializer CSS and JS files.
|
107 |
+
|
108 |
= 2.4 =
|
109 |
* Admin UI is completely changed as per users request.
|
110 |
* Floating share buttons are added.
|
wp-socializer.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Socializer
|
4 |
-
Version: 2.4
|
5 |
Plugin URI: http://www.aakashweb.com/
|
6 |
Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
|
7 |
Author: Aakash Chakravarthy
|
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_URL')) {
|
|
14 |
$wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
|
15 |
}
|
16 |
|
17 |
-
define('WPSR_VERSION', '2.4');
|
18 |
define('WPSR_AUTHOR', 'Aakash Chakravarthy');
|
19 |
define('WPSR_URL', $wpsr_url);
|
20 |
define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
|
@@ -198,7 +198,7 @@ $wpsr_socialsites_list = array(
|
|
198 |
'name' => 'Email',
|
199 |
'titleText' => __('Email this ', 'wpsr') . '',
|
200 |
'icon' => 'email.png',
|
201 |
-
'url' => 'mailto
|
202 |
'support32px' => 1,
|
203 |
),
|
204 |
|
@@ -1073,7 +1073,7 @@ add_filter('plugin_action_links', 'wpsr_plugin_actions', 10, 2);
|
|
1073 |
if( !is_admin()){
|
1074 |
// jQuery
|
1075 |
wp_deregister_script('jquery');
|
1076 |
-
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false,
|
1077 |
wp_enqueue_script('jquery');
|
1078 |
}
|
1079 |
|
@@ -1236,7 +1236,7 @@ function wpsr_process_template($no, $rss = 0){
|
|
1236 |
wpsr_sharethis_bt('regular'), wpsr_sharethis_bt('regular2'), wpsr_sharethis_bt('buttons'),
|
1237 |
wpsr_sharethis_bt('classic'), wpsr_plusone_bt('small'), wpsr_plusone_bt('medium'),
|
1238 |
wpsr_plusone_bt('standard'), wpsr_plusone_bt('tall'), wpsr_retweet_bt(),
|
1239 |
-
wpsr_digg_bt(), wpsr_facebook_bt('like'),
|
1240 |
wpsr_reddit_bt('1'), wpsr_reddit_bt('2'), wpsr_reddit_bt('3'),
|
1241 |
wpsr_stumbleupon_bt('1'), wpsr_stumbleupon_bt('2'), wpsr_stumbleupon_bt('3'),
|
1242 |
wpsr_stumbleupon_bt('5'), wpsr_linkedin_bt('standard'), wpsr_linkedin_bt('right'),
|
@@ -1436,10 +1436,6 @@ function wpsr_scripts_adder(){
|
|
1436 |
echo wpsr_retweet_twitter_script();
|
1437 |
}
|
1438 |
|
1439 |
-
if(wpsr_button_used('facebook') == 1){
|
1440 |
-
echo wpsr_facebook_script();
|
1441 |
-
} // Since v2.4
|
1442 |
-
|
1443 |
if(wpsr_button_used('digg') == 1){
|
1444 |
echo wpsr_digg_script();
|
1445 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Socializer
|
4 |
+
Version: 2.4.1
|
5 |
Plugin URI: http://www.aakashweb.com/
|
6 |
Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
|
7 |
Author: Aakash Chakravarthy
|
14 |
$wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
|
15 |
}
|
16 |
|
17 |
+
define('WPSR_VERSION', '2.4.1');
|
18 |
define('WPSR_AUTHOR', 'Aakash Chakravarthy');
|
19 |
define('WPSR_URL', $wpsr_url);
|
20 |
define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
|
198 |
'name' => 'Email',
|
199 |
'titleText' => __('Email this ', 'wpsr') . '',
|
200 |
'icon' => 'email.png',
|
201 |
+
'url' => 'mailto:?subject={de-title}&body={de-excerpt} - {de-url}', // Fixed the bug in v2.4.1
|
202 |
'support32px' => 1,
|
203 |
),
|
204 |
|
1073 |
if( !is_admin()){
|
1074 |
// jQuery
|
1075 |
wp_deregister_script('jquery');
|
1076 |
+
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false, WPSR_VERSION);
|
1077 |
wp_enqueue_script('jquery');
|
1078 |
}
|
1079 |
|
1236 |
wpsr_sharethis_bt('regular'), wpsr_sharethis_bt('regular2'), wpsr_sharethis_bt('buttons'),
|
1237 |
wpsr_sharethis_bt('classic'), wpsr_plusone_bt('small'), wpsr_plusone_bt('medium'),
|
1238 |
wpsr_plusone_bt('standard'), wpsr_plusone_bt('tall'), wpsr_retweet_bt(),
|
1239 |
+
wpsr_digg_bt(), wpsr_facebook_bt('like'), '' /* Facebook Send button not available */,
|
1240 |
wpsr_reddit_bt('1'), wpsr_reddit_bt('2'), wpsr_reddit_bt('3'),
|
1241 |
wpsr_stumbleupon_bt('1'), wpsr_stumbleupon_bt('2'), wpsr_stumbleupon_bt('3'),
|
1242 |
wpsr_stumbleupon_bt('5'), wpsr_linkedin_bt('standard'), wpsr_linkedin_bt('right'),
|
1436 |
echo wpsr_retweet_twitter_script();
|
1437 |
}
|
1438 |
|
|
|
|
|
|
|
|
|
1439 |
if(wpsr_button_used('digg') == 1){
|
1440 |
echo wpsr_digg_script();
|
1441 |
}
|