Version Description
- Minor bug fixes.
Download this release
Release Info
Developer | srijith.v |
Plugin | WordPress Share Buttons Plugin – AddThis |
Version | 3.5.2 |
Comparing to | |
See all releases |
Code changes from version 3.5.1 to 3.5.2
- addthis_settings_functions.php +5 -3
- addthis_social_widget.php +97 -95
- js/options-page.32.js +8 -0
- js/options-page.js +8 -0
- readme.txt +8 -2
addthis_settings_functions.php
CHANGED
@@ -29,6 +29,8 @@ function addthis_kses($string, $customstyles)
|
|
29 |
$mytags['a'][ 'fblikecolorscheme' ]= array();
|
30 |
$mytags['a'][ 'fblikeref' ]= array();
|
31 |
$mytags['a'][ 'fblikehref' ]= array();
|
|
|
|
|
32 |
$mytags['a'][ 'twcount' ]= array();
|
33 |
$mytags['a'][ 'twurl' ]= array();
|
34 |
$mytags['a'][ 'twvia' ]= array();
|
@@ -43,8 +45,8 @@ function addthis_kses($string, $customstyles)
|
|
43 |
$mytags['a'][ 'pipinitmedia' ]= array();
|
44 |
$mytags['a'][ 'pipinitdescription' ]= array();
|
45 |
|
46 |
-
$pretags = array( 'g:plusone:', 'fb:like:', 'tw:', 'pi:pinit:');
|
47 |
-
$posttags = array('gplusone', 'fblike', 'tw', 'pipinit');
|
48 |
|
49 |
foreach($pretags as $i => $attr)
|
50 |
{
|
@@ -300,4 +302,4 @@ function _addthis_swap_first_two_elements (&$array, $key)
|
|
300 |
</tr>
|
301 |
|
302 |
<?php
|
303 |
-
}
|
29 |
$mytags['a'][ 'fblikecolorscheme' ]= array();
|
30 |
$mytags['a'][ 'fblikeref' ]= array();
|
31 |
$mytags['a'][ 'fblikehref' ]= array();
|
32 |
+
$mytags['a'][ 'fbsharelayout' ]= array();
|
33 |
+
$mytags['a'][ 'fblikelocale' ]= array();
|
34 |
$mytags['a'][ 'twcount' ]= array();
|
35 |
$mytags['a'][ 'twurl' ]= array();
|
36 |
$mytags['a'][ 'twvia' ]= array();
|
45 |
$mytags['a'][ 'pipinitmedia' ]= array();
|
46 |
$mytags['a'][ 'pipinitdescription' ]= array();
|
47 |
|
48 |
+
$pretags = array( 'g:plusone:', 'fb:like:', 'tw:', 'pi:pinit:', 'fb:share:layout', 'fb:like:locale');
|
49 |
+
$posttags = array('gplusone', 'fblike', 'tw', 'pipinit', 'fbsharelayout', 'fblikelocale');
|
50 |
|
51 |
foreach($pretags as $i => $attr)
|
52 |
{
|
302 |
</tr>
|
303 |
|
304 |
<?php
|
305 |
+
}
|
addthis_social_widget.php
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
* Plugin Name: AddThis Social Bookmarking Widget
|
24 |
* Plugin URI: http://www.addthis.com
|
25 |
* Description: Help your visitor promote your site! The AddThis Social Bookmarking Widget allows any visitor to bookmark your site easily with many popular services. Sign up for an AddThis.com account to see how your visitors are sharing your content--which services they're using for sharing, which content is shared the most, and more. It's all free--even the pretty charts and graphs.
|
26 |
-
* Version: 3.5.
|
27 |
*
|
28 |
* Author: The AddThis Team
|
29 |
* Author URI: http://www.addthis.com/blog
|
@@ -379,70 +379,72 @@ function addthis_custom_toolbox($options, $url, $title)
|
|
379 |
if (isset($options['size']) && $options['size'] == '32')
|
380 |
$outerClasses .= ' addthis_32x32_style';
|
381 |
|
382 |
-
$
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
|
|
418 |
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
}
|
426 |
|
427 |
-
if (isset($options['more']) && $options['more'] == true)
|
428 |
-
{
|
429 |
-
$button .= '<a class="addthis_button_compact"></a>';
|
430 |
-
}
|
431 |
-
|
432 |
-
if (isset($options['counter']) && ($options['counter'] != "") && ($options['counter'] !== false))
|
433 |
-
{
|
434 |
-
if ($options['counter'] === true)
|
435 |
-
{ //no style was specified
|
436 |
-
$button .= '<a class="addthis_counter"></a>';
|
437 |
-
}
|
438 |
-
else
|
439 |
-
{ //a specific style was specified such as pill_style or bubble_style
|
440 |
-
$button .= '<a class="addthis_counter addthis_'.$options['counter'].'"></a>';
|
441 |
-
}
|
442 |
-
}
|
443 |
-
|
444 |
-
$button .= '</div>';
|
445 |
-
|
446 |
return $button;
|
447 |
|
448 |
}
|
@@ -595,10 +597,8 @@ function addthis_render_dashboard_widget() {
|
|
595 |
echo 'No Password entered';
|
596 |
return false;
|
597 |
}
|
598 |
-
$domain = get_home_url();
|
599 |
-
|
600 |
|
601 |
-
$domain =
|
602 |
|
603 |
if (isset($options['profile']))
|
604 |
$profile = '&pubid='.urlencode($options['profile']);
|
@@ -1439,7 +1439,21 @@ function addthis_display_social_widget($content, $filtered = true, $below_excerp
|
|
1439 |
{
|
1440 |
if (isset ($styles[$options['above']]))
|
1441 |
{
|
1442 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1443 |
}
|
1444 |
elseif ($options['above'] == 'custom')
|
1445 |
{
|
@@ -1457,19 +1471,6 @@ function addthis_display_social_widget($content, $filtered = true, $below_excerp
|
|
1457 |
$custom = preg_replace( '/<\s*div\s*/', '<div %s ', $options['above_custom_string'] );
|
1458 |
$above = apply_filters('addthis_above_content', $custom);
|
1459 |
}
|
1460 |
-
|
1461 |
-
if (isset ($options['above_chosen_list']) && strlen($options['above_chosen_list']) != 0) {
|
1462 |
-
if (isset ($options['above']) && $options['above'] == 'large_toolbox') {
|
1463 |
-
$aboveOptions['size'] = '32';
|
1464 |
-
}
|
1465 |
-
elseif (isset ($options['above']) && $options['above'] == 'small_toolbox') {
|
1466 |
-
$aboveOptions['size'] = '16';
|
1467 |
-
}
|
1468 |
-
$aboveOptions['type'] = $options['above'];
|
1469 |
-
$aboveOptions['services'] = $options['above_chosen_list'];
|
1470 |
-
$aboveOptions['addthis_options'] = $options['addthis_options'];
|
1471 |
-
$above = apply_filters('addthis_above_content', addthis_custom_toolbox($aboveOptions, $url, $title) );
|
1472 |
-
}
|
1473 |
}
|
1474 |
elseif ($display)
|
1475 |
$above = apply_filters('addthis_above_content','' );
|
@@ -1480,7 +1481,21 @@ function addthis_display_social_widget($content, $filtered = true, $below_excerp
|
|
1480 |
{
|
1481 |
if (isset ($styles[$options['below']]))
|
1482 |
{
|
1483 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1484 |
}
|
1485 |
elseif ($options['below'] == 'custom')
|
1486 |
{
|
@@ -1496,19 +1511,6 @@ function addthis_display_social_widget($content, $filtered = true, $below_excerp
|
|
1496 |
$custom = preg_replace( '/<\s*div\s*/', '<div %s ', $options['below_custom_string'] );
|
1497 |
$below = apply_filters('addthis_below_content', $custom);
|
1498 |
}
|
1499 |
-
|
1500 |
-
if (isset ($options['below_chosen_list']) && strlen($options['below_chosen_list']) != 0) {
|
1501 |
-
if (isset ($options['below']) && $options['below'] == 'large_toolbox') {
|
1502 |
-
$belowOptions['size'] = '32';
|
1503 |
-
}
|
1504 |
-
elseif (isset ($options['below']) && $options['below'] == 'small_toolbox') {
|
1505 |
-
$belowOptions['size'] = '16';
|
1506 |
-
}
|
1507 |
-
$belowOptions['type'] = $options['below'];
|
1508 |
-
$belowOptions['services'] = $options['below_chosen_list'];
|
1509 |
-
$belowOptions['addthis_options'] = $options['addthis_options'];
|
1510 |
-
$below = apply_filters('addthis_above_content', addthis_custom_toolbox($belowOptions, $url, $title) );
|
1511 |
-
}
|
1512 |
}
|
1513 |
elseif ($below_excerpt && $display && $options['below'] != 'none' )
|
1514 |
{
|
@@ -1526,14 +1528,14 @@ function addthis_display_social_widget($content, $filtered = true, $below_excerp
|
|
1526 |
{
|
1527 |
if ( isset($above) )
|
1528 |
{
|
1529 |
-
if ($options['above'] == 'custom')
|
1530 |
$content = $above . $content;
|
1531 |
else
|
1532 |
$content = sprintf($above, $url_above) . $content;
|
1533 |
}
|
1534 |
if ( isset($below) )
|
1535 |
{
|
1536 |
-
if ($options['below'] == 'custom')
|
1537 |
$content = $content . $below;
|
1538 |
else
|
1539 |
$content = $content . sprintf($below, $url_below);
|
23 |
* Plugin Name: AddThis Social Bookmarking Widget
|
24 |
* Plugin URI: http://www.addthis.com
|
25 |
* Description: Help your visitor promote your site! The AddThis Social Bookmarking Widget allows any visitor to bookmark your site easily with many popular services. Sign up for an AddThis.com account to see how your visitors are sharing your content--which services they're using for sharing, which content is shared the most, and more. It's all free--even the pretty charts and graphs.
|
26 |
+
* Version: 3.5.2
|
27 |
*
|
28 |
* Author: The AddThis Team
|
29 |
* Author URI: http://www.addthis.com/blog
|
379 |
if (isset($options['size']) && $options['size'] == '32')
|
380 |
$outerClasses .= ' addthis_32x32_style';
|
381 |
|
382 |
+
if (isset($options['type']) && $options['type'] != 'custom_string') {
|
383 |
+
$button = '<div class="'.$outerClasses.'" '.$identifier.' >';
|
384 |
+
|
385 |
+
if (isset($options['addthis_options']) && $options['addthis_options'] != "") {
|
386 |
+
$addthis_options = split(',', $options['addthis_options']);
|
387 |
+
foreach ($addthis_options as $option) {
|
388 |
+
$option = trim($option);
|
389 |
+
if ($option != 'more') {
|
390 |
+
$button .= '<a class="addthis_button_'.$option.'"></a>';
|
391 |
+
}
|
392 |
+
}
|
393 |
+
}
|
394 |
+
else if (isset($options['services']) ) {
|
395 |
+
$services = explode(',', $options['services']);
|
396 |
+
foreach ($services as $service)
|
397 |
+
{
|
398 |
+
$service = trim($service);
|
399 |
+
if ($service == 'more' || $service == 'compact') {
|
400 |
+
if (isset($options['type']) && $options['type'] != 'fb_tw_p1_sc') {
|
401 |
+
$button .= '<a class="addthis_button_compact"></a>';
|
402 |
+
}
|
403 |
+
}
|
404 |
+
else if ($service == 'counter') {
|
405 |
+
if (isset($options['type']) && $options['type'] == 'fb_tw_p1_sc') {
|
406 |
+
$button .= '<a class="addthis_counter addthis_pill_style"></a>';
|
407 |
+
}
|
408 |
+
else {
|
409 |
+
$button .= '<a class="addthis_counter addthis_bubble_style"></a>';
|
410 |
+
}
|
411 |
+
}
|
412 |
+
else if ($service == 'google_plusone') {
|
413 |
+
$button .= '<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>';
|
414 |
+
}
|
415 |
+
else
|
416 |
+
$button .= '<a class="addthis_button_'.strtolower($service).'"></a>';
|
417 |
+
}
|
418 |
+
}
|
419 |
|
420 |
+
if (isset($options['preferred']) && is_numeric($options['preferred']))
|
421 |
+
{
|
422 |
+
for ($a = 1; $a <= $options['preferred']; $a++)
|
423 |
+
{
|
424 |
+
$button .= '<a class="addthis_button_preferred_'.$a.'"></a>';
|
425 |
+
}
|
426 |
+
}
|
427 |
+
|
428 |
+
if (isset($options['more']) && $options['more'] == true)
|
429 |
+
{
|
430 |
+
$button .= '<a class="addthis_button_compact"></a>';
|
431 |
+
}
|
432 |
+
|
433 |
+
if (isset($options['counter']) && ($options['counter'] != "") && ($options['counter'] !== false))
|
434 |
+
{
|
435 |
+
if ($options['counter'] === true)
|
436 |
+
{ //no style was specified
|
437 |
+
$button .= '<a class="addthis_counter"></a>';
|
438 |
+
}
|
439 |
+
else
|
440 |
+
{ //a specific style was specified such as pill_style or bubble_style
|
441 |
+
$button .= '<a class="addthis_counter addthis_'.$options['counter'].'"></a>';
|
442 |
+
}
|
443 |
+
}
|
444 |
+
|
445 |
+
$button .= '</div>';
|
446 |
}
|
447 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
return $button;
|
449 |
|
450 |
}
|
597 |
echo 'No Password entered';
|
598 |
return false;
|
599 |
}
|
|
|
|
|
600 |
|
601 |
+
$domain = str_ireplace('www.', '', parse_url(get_home_url(), PHP_URL_HOST));
|
602 |
|
603 |
if (isset($options['profile']))
|
604 |
$profile = '&pubid='.urlencode($options['profile']);
|
1439 |
{
|
1440 |
if (isset ($styles[$options['above']]))
|
1441 |
{
|
1442 |
+
if (isset ($options['above_chosen_list']) && strlen($options['above_chosen_list']) != 0) {
|
1443 |
+
if (isset ($options['above']) && $options['above'] == 'large_toolbox') {
|
1444 |
+
$aboveOptions['size'] = '32';
|
1445 |
+
}
|
1446 |
+
elseif (isset ($options['above']) && $options['above'] == 'small_toolbox') {
|
1447 |
+
$aboveOptions['size'] = '16';
|
1448 |
+
}
|
1449 |
+
$aboveOptions['type'] = $options['above'];
|
1450 |
+
$aboveOptions['services'] = $options['above_chosen_list'];
|
1451 |
+
$aboveOptions['addthis_options'] = $options['addthis_options'];
|
1452 |
+
$above = apply_filters('addthis_above_content', addthis_custom_toolbox($aboveOptions, $url, $title) );
|
1453 |
+
}
|
1454 |
+
else {
|
1455 |
+
$above = apply_filters('addthis_above_content', $styles[$options['above']]['src']);
|
1456 |
+
}
|
1457 |
}
|
1458 |
elseif ($options['above'] == 'custom')
|
1459 |
{
|
1471 |
$custom = preg_replace( '/<\s*div\s*/', '<div %s ', $options['above_custom_string'] );
|
1472 |
$above = apply_filters('addthis_above_content', $custom);
|
1473 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1474 |
}
|
1475 |
elseif ($display)
|
1476 |
$above = apply_filters('addthis_above_content','' );
|
1481 |
{
|
1482 |
if (isset ($styles[$options['below']]))
|
1483 |
{
|
1484 |
+
if (isset ($options['below_chosen_list']) && strlen($options['below_chosen_list']) != 0) {
|
1485 |
+
if (isset ($options['below']) && $options['below'] == 'large_toolbox') {
|
1486 |
+
$belowOptions['size'] = '32';
|
1487 |
+
}
|
1488 |
+
elseif (isset ($options['below']) && $options['below'] == 'small_toolbox') {
|
1489 |
+
$belowOptions['size'] = '16';
|
1490 |
+
}
|
1491 |
+
$belowOptions['type'] = $options['below'];
|
1492 |
+
$belowOptions['services'] = $options['below_chosen_list'];
|
1493 |
+
$belowOptions['addthis_options'] = $options['addthis_options'];
|
1494 |
+
$below = apply_filters('addthis_above_content', addthis_custom_toolbox($belowOptions, $url, $title) );
|
1495 |
+
}
|
1496 |
+
else {
|
1497 |
+
$below = apply_filters('addthis_below_content', $styles[$options['below']]['src']);
|
1498 |
+
}
|
1499 |
}
|
1500 |
elseif ($options['below'] == 'custom')
|
1501 |
{
|
1511 |
$custom = preg_replace( '/<\s*div\s*/', '<div %s ', $options['below_custom_string'] );
|
1512 |
$below = apply_filters('addthis_below_content', $custom);
|
1513 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1514 |
}
|
1515 |
elseif ($below_excerpt && $display && $options['below'] != 'none' )
|
1516 |
{
|
1528 |
{
|
1529 |
if ( isset($above) )
|
1530 |
{
|
1531 |
+
if ($options['above'] == 'custom' || $options['above'] == 'custom_string')
|
1532 |
$content = $above . $content;
|
1533 |
else
|
1534 |
$content = sprintf($above, $url_above) . $content;
|
1535 |
}
|
1536 |
if ( isset($below) )
|
1537 |
{
|
1538 |
+
if ($options['below'] == 'custom' || $options['below'] == 'custom_string')
|
1539 |
$content = $content . $below;
|
1540 |
else
|
1541 |
$content = $content . sprintf($below, $url_below);
|
js/options-page.32.js
CHANGED
@@ -86,10 +86,12 @@ jQuery(document).ready(function($) {
|
|
86 |
if ( aboveCustom.is(':checked'))
|
87 |
{
|
88 |
$('.above_option_custom').removeClass('hidden');
|
|
|
89 |
}
|
90 |
else
|
91 |
{
|
92 |
$('.above_option_custom').addClass('hidden');
|
|
|
93 |
}
|
94 |
};
|
95 |
|
@@ -98,10 +100,12 @@ jQuery(document).ready(function($) {
|
|
98 |
if ( belowCustom.is(':checked'))
|
99 |
{
|
100 |
$('.below_option_custom').removeClass('hidden');
|
|
|
101 |
}
|
102 |
else
|
103 |
{
|
104 |
$('.below_option_custom').addClass('hidden');
|
|
|
105 |
}
|
106 |
};
|
107 |
|
@@ -130,10 +134,12 @@ jQuery(document).ready(function($) {
|
|
130 |
if ( aboveCustomString.is(':checked'))
|
131 |
{
|
132 |
$('.above_custom_string_input').removeClass('hidden');
|
|
|
133 |
}
|
134 |
else
|
135 |
{
|
136 |
$('.above_custom_string_input').addClass('hidden');
|
|
|
137 |
}
|
138 |
};
|
139 |
|
@@ -142,10 +148,12 @@ jQuery(document).ready(function($) {
|
|
142 |
if ( belowCustomString.is(':checked'))
|
143 |
{
|
144 |
$('.below_custom_string_input').removeClass('hidden');
|
|
|
145 |
}
|
146 |
else
|
147 |
{
|
148 |
$('.below_custom_string_input').addClass('hidden');
|
|
|
149 |
}
|
150 |
};
|
151 |
|
86 |
if ( aboveCustom.is(':checked'))
|
87 |
{
|
88 |
$('.above_option_custom').removeClass('hidden');
|
89 |
+
$('#above .personalizedMessage').addClass('hidden');
|
90 |
}
|
91 |
else
|
92 |
{
|
93 |
$('.above_option_custom').addClass('hidden');
|
94 |
+
$('#above .personalizedMessage').removeClass('hidden');
|
95 |
}
|
96 |
};
|
97 |
|
100 |
if ( belowCustom.is(':checked'))
|
101 |
{
|
102 |
$('.below_option_custom').removeClass('hidden');
|
103 |
+
$('#below .personalizedMessage').addClass('hidden');
|
104 |
}
|
105 |
else
|
106 |
{
|
107 |
$('.below_option_custom').addClass('hidden');
|
108 |
+
$('#below .personalizedMessage').removeClass('hidden');
|
109 |
}
|
110 |
};
|
111 |
|
134 |
if ( aboveCustomString.is(':checked'))
|
135 |
{
|
136 |
$('.above_custom_string_input').removeClass('hidden');
|
137 |
+
$('#above .personalizedMessage').addClass('hidden');
|
138 |
}
|
139 |
else
|
140 |
{
|
141 |
$('.above_custom_string_input').addClass('hidden');
|
142 |
+
$('#above .personalizedMessage').removeClass('hidden');
|
143 |
}
|
144 |
};
|
145 |
|
148 |
if ( belowCustomString.is(':checked'))
|
149 |
{
|
150 |
$('.below_custom_string_input').removeClass('hidden');
|
151 |
+
$('#below .personalizedMessage').addClass('hidden');
|
152 |
}
|
153 |
else
|
154 |
{
|
155 |
$('.below_custom_string_input').addClass('hidden');
|
156 |
+
$('#below .personalizedMessage').removeClass('hidden');
|
157 |
}
|
158 |
};
|
159 |
|
js/options-page.js
CHANGED
@@ -86,10 +86,12 @@ jQuery(document).ready(function($) {
|
|
86 |
if ( aboveCustom.is(':checked'))
|
87 |
{
|
88 |
$('.above_option_custom').removeClass('hidden');
|
|
|
89 |
}
|
90 |
else
|
91 |
{
|
92 |
$('.above_option_custom').addClass('hidden');
|
|
|
93 |
}
|
94 |
};
|
95 |
|
@@ -98,10 +100,12 @@ jQuery(document).ready(function($) {
|
|
98 |
if ( belowCustom.is(':checked'))
|
99 |
{
|
100 |
$('.below_option_custom').removeClass('hidden');
|
|
|
101 |
}
|
102 |
else
|
103 |
{
|
104 |
$('.below_option_custom').addClass('hidden');
|
|
|
105 |
}
|
106 |
};
|
107 |
|
@@ -130,10 +134,12 @@ jQuery(document).ready(function($) {
|
|
130 |
if ( aboveCustomString.is(':checked'))
|
131 |
{
|
132 |
$('.above_custom_string_input').removeClass('hidden');
|
|
|
133 |
}
|
134 |
else
|
135 |
{
|
136 |
$('.above_custom_string_input').addClass('hidden');
|
|
|
137 |
}
|
138 |
};
|
139 |
|
@@ -142,10 +148,12 @@ jQuery(document).ready(function($) {
|
|
142 |
if ( belowCustomString.is(':checked'))
|
143 |
{
|
144 |
$('.below_custom_string_input').removeClass('hidden');
|
|
|
145 |
}
|
146 |
else
|
147 |
{
|
148 |
$('.below_custom_string_input').addClass('hidden');
|
|
|
149 |
}
|
150 |
};
|
151 |
|
86 |
if ( aboveCustom.is(':checked'))
|
87 |
{
|
88 |
$('.above_option_custom').removeClass('hidden');
|
89 |
+
$('#above .personalizedMessage').addClass('hidden');
|
90 |
}
|
91 |
else
|
92 |
{
|
93 |
$('.above_option_custom').addClass('hidden');
|
94 |
+
$('#above .personalizedMessage').removeClass('hidden');
|
95 |
}
|
96 |
};
|
97 |
|
100 |
if ( belowCustom.is(':checked'))
|
101 |
{
|
102 |
$('.below_option_custom').removeClass('hidden');
|
103 |
+
$('#below .personalizedMessage').addClass('hidden');
|
104 |
}
|
105 |
else
|
106 |
{
|
107 |
$('.below_option_custom').addClass('hidden');
|
108 |
+
$('#below .personalizedMessage').removeClass('hidden');
|
109 |
}
|
110 |
};
|
111 |
|
134 |
if ( aboveCustomString.is(':checked'))
|
135 |
{
|
136 |
$('.above_custom_string_input').removeClass('hidden');
|
137 |
+
$('#above .personalizedMessage').addClass('hidden');
|
138 |
}
|
139 |
else
|
140 |
{
|
141 |
$('.above_custom_string_input').addClass('hidden');
|
142 |
+
$('#above .personalizedMessage').removeClass('hidden');
|
143 |
}
|
144 |
};
|
145 |
|
148 |
if ( belowCustomString.is(':checked'))
|
149 |
{
|
150 |
$('.below_custom_string_input').removeClass('hidden');
|
151 |
+
$('#below .personalizedMessage').addClass('hidden');
|
152 |
}
|
153 |
else
|
154 |
{
|
155 |
$('.below_custom_string_input').addClass('hidden');
|
156 |
+
$('#below .personalizedMessage').removeClass('hidden');
|
157 |
}
|
158 |
};
|
159 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: srijith.v, solchea, _mjk_, addthis_paul
|
3 |
Tags: share, addthis, social, bookmark, sharing, bookmarking, widget,AddThis, addtoany, aim, bookmark, buzz, del.icio.us, Digg,e-mail, email, Facebook, google bookmarks, google buzz, myspace,network, NewsVine, Reddit, Share, share this, sharethis, social, socialize, stumbleupon, twitter, windows live, yahoo buzz, pintrest, widget
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 3.6
|
6 |
-
Stable tag: 3.5.
|
7 |
|
8 |
AddThis Share Buttons help drive traffic to your site by helping visitors share, bookmark and email your content to over 330 services.
|
9 |
|
@@ -76,6 +76,9 @@ PHP 5+ is preferred; PHP 4 is supported.
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
79 |
= 3.5.1 =
|
80 |
* Reintroduced Custom Button Code box
|
81 |
|
@@ -236,6 +239,9 @@ Fixed nondeterministic bug with the_title(), causing the title to occasionally a
|
|
236 |
|
237 |
|
238 |
== Upgrade Notice ==
|
|
|
|
|
|
|
239 |
= 3.5.1 =
|
240 |
* Reintroduced Custom Button Code box
|
241 |
|
2 |
Contributors: srijith.v, solchea, _mjk_, addthis_paul
|
3 |
Tags: share, addthis, social, bookmark, sharing, bookmarking, widget,AddThis, addtoany, aim, bookmark, buzz, del.icio.us, Digg,e-mail, email, Facebook, google bookmarks, google buzz, myspace,network, NewsVine, Reddit, Share, share this, sharethis, social, socialize, stumbleupon, twitter, windows live, yahoo buzz, pintrest, widget
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 3.6.1
|
6 |
+
Stable tag: 3.5.2
|
7 |
|
8 |
AddThis Share Buttons help drive traffic to your site by helping visitors share, bookmark and email your content to over 330 services.
|
9 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 3.5.2 =
|
80 |
+
* Minor bug fixes.
|
81 |
+
|
82 |
= 3.5.1 =
|
83 |
* Reintroduced Custom Button Code box
|
84 |
|
239 |
|
240 |
|
241 |
== Upgrade Notice ==
|
242 |
+
= 3.5.2 =
|
243 |
+
* Bug fixes.
|
244 |
+
|
245 |
= 3.5.1 =
|
246 |
* Reintroduced Custom Button Code box
|
247 |
|