WordPress Share Buttons Plugin – AddThis - Version 2.3.0

Version Description

  • Add Google Analytics option
  • Update settings interface
Download this release

Release Info

Developer jorbin
Plugin Icon 128x128 WordPress Share Buttons Plugin – AddThis
Version 2.3.0
Comparing to
See all releases

Code changes from version 2.2.2 to 2.3.0

addthis_settings_functions.php CHANGED
@@ -92,7 +92,9 @@ function addthis_kses($string)
92
  ?>
93
  <tr>
94
  <td id="<?php echo $name ?>" colspan="2">
95
- <p><?php _e("$name the post", 'addthis_trans_domain') ?>&nbsp;&nbsp;<span class="description"><input type="checkbox" name="addthis_settings[show_<?php echo $name; ?>]" <?php echo ('none' == $option) ? 'checked="checked"' : '';?> />&nbsp;none</span></p>
 
 
96
  <?php $imgLocationBase = apply_filters( 'at_files_uri', plugins_url( '' , basename(dirname(__FILE__)))) . '/addthis/img/' ;
97
  $imgLocationBase = apply_filters( 'addthis_files_uri', plugins_url( '' , basename(dirname(__FILE__)))) . '/addthis/img/' ;
98
  foreach ($addthis_new_styles as $k => $v)
@@ -103,7 +105,7 @@ function addthis_kses($string)
103
  $checked = 'checked="checked"';
104
  $class = '';
105
  }
106
- echo "<p class='$name"."_option select_row $class '><input $checked type='radio' value='".$k."' name='addthis_settings[$name]' /><img alt='".$k."' src='". $imgLocationBase . $v['img'] ."'/></p>";
107
  }
108
 
109
  $class = 'hidden';
@@ -113,15 +115,15 @@ function addthis_kses($string)
113
  $class = '';
114
  }
115
 
116
- echo "<div class='$name"."_option select_row $class '><input $checked type='radio' value='custom' name='addthis_settings[$name]' id='$name"."_custom_button' /> Build your own</input>";
117
 
118
  echo "<ul class='$name"."_option_custom hidden'>";
119
  $custom_16 = ($custom_size == 16) ? 'selected="selected"' : '' ;
120
  $custom_32 = ($custom_size == 32) ? 'selected="selected"' : '' ;
121
 
122
- echo "<li class='nocheck'><span class='at_custom_label'>Size:</span><select name='addthis_settings[$name"."_custom_size]'><option value='16' $custom_16 >16x16</option><option value='32' $custom_32 >32x32</option></select><br/><span class='description'>The size of the icons you want to display</span></li>";
123
  echo "<li><input $do_custom_services class='at_do_custom' type='checkbox' name='addthis_settings[$name"."_do_custom_services]' value='true' /><span class='at_custom_label'>Services to always show:</span><input class='at_custom_input' name='addthis_settings[$name"."_custom_services]' value='$custom_services'/><br/><span class='description'>Enter a comma-separated list of <a href='//addthis.com/services'>service codes</a> </span></li>";
124
- echo "<li><input type='checkbox' $do_custom_preferred class='at_do_custom' name='addthis_settings[$name"."_do_custom_preferred]' value='true' /><span class='at_custom_label'>Auto Personalized:</span>
125
  <select name='addthis_settings[$name"."_custom_preferred]' class='at_custom_input'>";
126
  for($i=0; $i <= 11; $i++)
127
  {
@@ -131,10 +133,10 @@ function addthis_kses($string)
131
  echo '<option value="'.$i.'" '.$selected.'>'.$i.'</option>';
132
 
133
  }
134
- echo "</select><br/><span class='description'>Enter the number of automatticly user personalized items you want displayed</span></li>";
135
  $custom_more = ( $custom_more ) ? 'checked="checked"' : '';
136
 
137
- echo "<li><input $custom_more type='checkbox' class='at_do_custom' name='addthis_settings[$name"."_custom_more]' value='true' /><span class='at_custom_label'>More</span><br/><span class='description'>Display our iconic orange plus sign that offers sharing to over 300 destinations</span></li>";
138
  echo "</ul></div>";
139
 
140
  $class = 'hidden';
@@ -145,15 +147,15 @@ function addthis_kses($string)
145
  $class = '';
146
  }
147
 
148
- echo "<div class='$name"."_option select_row $class '> <input $checked type='radio' value='custom_string' name='addthis_settings[$name]' id='$name"."_custom_string' />Custom Button</input>";
149
- echo "<br />";
150
  echo "<textarea rows='5' cols='120' name='addthis_settings[$name"."_custom_string]' id='$name"."_custom_string_input' />".esc_textarea($custom_string)."</textarea>";
151
 
152
  echo '</div>';
153
  ?>
154
-
155
-
156
- <a class="<?php echo $name;?>_option" href="#<?php echo $name;?>_more" id="<?php echo $name;?>_more">addtional style options</a>
 
157
  </td>
158
  </tr>
159
 
92
  ?>
93
  <tr>
94
  <td id="<?php echo $name ?>" colspan="2">
95
+ <fieldset>
96
+ <legend>&nbsp; <?php _e("Choose the sharing tool to display <b>$name</b> the post:", 'addthis_trans_domain') ?> &nbsp;</legend>
97
+
98
  <?php $imgLocationBase = apply_filters( 'at_files_uri', plugins_url( '' , basename(dirname(__FILE__)))) . '/addthis/img/' ;
99
  $imgLocationBase = apply_filters( 'addthis_files_uri', plugins_url( '' , basename(dirname(__FILE__)))) . '/addthis/img/' ;
100
  foreach ($addthis_new_styles as $k => $v)
105
  $checked = 'checked="checked"';
106
  $class = '';
107
  }
108
+ echo "<div class='$name"."_option select_row $class '><span class='radio'><input $checked type='radio' value='".$k."' name='addthis_settings[$name]' /></span><img alt='".$k."' src='". $imgLocationBase . $v['img'] ."' align='left' /><div class='clear'></div></div>";
109
  }
110
 
111
  $class = 'hidden';
115
  $class = '';
116
  }
117
 
118
+ echo "<div class='$name"."_option select_row $class mt20'><span class='radio mt4'><input $checked type='radio' value='custom' name='addthis_settings[$name]' id='$name"."_custom_button' /></span> Build your own<div class='clear'></div></div>";
119
 
120
  echo "<ul class='$name"."_option_custom hidden'>";
121
  $custom_16 = ($custom_size == 16) ? 'selected="selected"' : '' ;
122
  $custom_32 = ($custom_size == 32) ? 'selected="selected"' : '' ;
123
 
124
+ echo "<li class='nocheck'><span class='at_custom_label'>Size:</span><select name='addthis_settings[$name"."_custom_size]'><option value='16' $custom_16 >16x16</option><option value='32' $custom_32 >32x32</option></select><br/><span class='description'>The size of the icons to display</span></li>";
125
  echo "<li><input $do_custom_services class='at_do_custom' type='checkbox' name='addthis_settings[$name"."_do_custom_services]' value='true' /><span class='at_custom_label'>Services to always show:</span><input class='at_custom_input' name='addthis_settings[$name"."_custom_services]' value='$custom_services'/><br/><span class='description'>Enter a comma-separated list of <a href='//addthis.com/services'>service codes</a> </span></li>";
126
+ echo "<li><input type='checkbox' $do_custom_preferred class='at_do_custom' name='addthis_settings[$name"."_do_custom_preferred]' value='true' /><span class='at_custom_label'>Automatically personalized:</span>
127
  <select name='addthis_settings[$name"."_custom_preferred]' class='at_custom_input'>";
128
  for($i=0; $i <= 11; $i++)
129
  {
133
  echo '<option value="'.$i.'" '.$selected.'>'.$i.'</option>';
134
 
135
  }
136
+ echo "</select><br/><span class='description'>Enter the number of automatically user-personalized items you want displayed</span></li>";
137
  $custom_more = ( $custom_more ) ? 'checked="checked"' : '';
138
 
139
+ echo "<li><input $custom_more type='checkbox' class='at_do_custom' name='addthis_settings[$name"."_custom_more]' value='true' /><span class='at_custom_label'>More</span><br/><span class='description'>Display our iconic logo that offers sharing to over 330 destinations</span></li>";
140
  echo "</ul></div>";
141
 
142
  $class = 'hidden';
147
  $class = '';
148
  }
149
 
150
+ echo "<div class='$name"."_option select_row $class '><span class='radio mt4'><input $checked type='radio' value='custom_string' name='addthis_settings[$name]' id='$name"."_custom_string' /></span> Custom button<div class='clear'></div></div>";
 
151
  echo "<textarea rows='5' cols='120' name='addthis_settings[$name"."_custom_string]' id='$name"."_custom_string_input' />".esc_textarea($custom_string)."</textarea>";
152
 
153
  echo '</div>';
154
  ?>
155
+ <div class="select_row description"><span class='radio mt0'><input type="radio" name="addthis_settings[<?php echo $name; ?>]" <?php echo ('none' == $option) ? 'checked="checked"' : '';?> value='none' /></span>None</div>
156
+ <p><a class="<?php echo $name;?>_option" href="#<?php echo $name;?>_more" id="<?php echo $name;?>_more">More options</a></p>
157
+
158
+ </fieldset>
159
  </td>
160
  </tr>
161
 
addthis_social_widget.php CHANGED
@@ -26,14 +26,14 @@ else return;
26
  * Plugin Name: AddThis Social Bookmarking Widget
27
  * Plugin URI: http://www.addthis.com
28
  * 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.
29
- * Version: 2.2.2
30
  *
31
  * Author: The AddThis Team
32
  * Author URI: http://www.addthis.com/blog
33
  */
34
 
35
  define( 'addthis_style_default' , 'small_toolbox_with_share');
36
- define( 'ADDTHIS_PLUGIN_VERSION', '2.2.2');
37
 
38
  $addthis_settings = array();
39
  $addthis_settings['isdropdown'] = 'true';
@@ -65,7 +65,9 @@ $addthis_new_styles = array(
65
  ), // Plus sign share | four buttons
66
  'large_toolbox' => array( 'src' => '<div class="addthis_toolbox addthis_default_style addthis_32x32_style" %s ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>', 'img' => 'toolbox-large.png', 'name' => 'Large Toolbox', 'above' => 'hidden ', 'below' => ''
67
  ), // 32x32
68
- 'fb_tw_sc' => array( 'src' => '<div class="addthis_toolbox addthis_default_style " %s ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>' , 'img' => 'fb-tw-sc.jpg' , 'name' => 'Like, Tweet, Counter', 'above' => '', 'below' => 'hidden'
 
 
69
  ), // facebook tweet share counter
70
  'simple_button' => array('src' => '<div class="addthis_toolbox addthis_default_style " %s><a href="//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47f81ddfbdce" class="addthis_button_compact">Share</a></div>', 'img' => 'share.jpg', 'name' => 'Share Button', 'above' => 'hidden ', 'below' => 'hidden'
71
  ), // Plus sign share
@@ -378,7 +380,7 @@ function addthis_admin_notices(){
378
  if ($options == false && ! get_user_meta($user_id, 'addthis_ignore_notices'))
379
  {
380
  echo '<div class="updated addthis_setup_nag"><p>';
381
- printf(__('Setup the AddThis plugin so you can start having your users share your content around the web<br /> <a href="%1$s">Setup options</a> | <a href="%2$s" id="php_below_min_nag-no">Ignore this notice</a>'),
382
  admin_url('options-general.php?page=' . basename(__FILE__) ),
383
  '?addthis_nag_ignore=0');
384
  echo "</p></div>";
@@ -862,6 +864,8 @@ foreach (array('addthis_show_stats', 'addthis_append_data', 'addthis_showonhome'
862
  $options[$field] = false;
863
 
864
  }
 
 
865
 
866
  //[addthis_twitter_template]
867
  if ( isset ($data['addthis_twitter_template']) && strlen($data['addthis_twitter_template']) != 0 )
@@ -1317,18 +1321,22 @@ function addthis_output_script($return = false )
1317
 
1318
 
1319
  $addthis_config = array();
 
1320
 
1321
  if ( isset($options['addthis_append_data']) && $options['addthis_append_data'] == true)
1322
  $addthis_config["data_track_clickback"] = true;
1323
  else
1324
  $addthis_config["data_track_clickback"] = false;
 
 
 
 
 
1325
 
1326
- /*/
1327
  if ( isset($options['addthis_addressbar']) && $options['addthis_addressbar'] == true)
1328
  $addthis_config["data_track_addressbar"] = true;
1329
  else
1330
  $addthis_config["data_track_addressbar"] = false;
1331
- //*/
1332
 
1333
  if ( isset($options['addthis_language']) && strlen($options['addthis_language']) == 2)
1334
  $addthis_config['ui_language'] = $options['addthis_language'];
@@ -1366,11 +1374,10 @@ function addthis_output_script($return = false )
1366
  }
1367
  if ( isset( $options['addthis_share_json'] ) && $options['addthis_share_json'] != '')
1368
  $script .= 'if (typeof(addthis_share) == "undefined"){ addthis_share = ' . $options['addthis_share_json'] . ';}';
1369
- elseif (isset($addthis_share))
1370
  $script .= 'if (typeof(addthis_share) == "undefined"){ addthis_share = ' . json_encode( apply_filters('addthis_share_js_var', $addthis_share ) ) .';}';
1371
  $script .= '</script>';
1372
 
1373
-
1374
  $script .= '<script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js#pubid='.$pub.'"></script>';
1375
 
1376
 
@@ -1539,7 +1546,7 @@ function addthis_admin_menu()
1539
  'style' => addthis_style_default ,
1540
  'location' => 'below',
1541
  'below' => 'large_toolbox',
1542
- 'above' => 'fb_tw_sc',
1543
  'addthis_show_stats' => true,
1544
  'addthis_append_data'=> true,
1545
  'addthis_showonhome' => true,
@@ -1566,6 +1573,7 @@ function addthis_admin_menu()
1566
  'below_custom_string' => '',
1567
  'addthis_twitter_template' => '',
1568
  'addthis_508' => '',
 
1569
  'addthis_bitly_login' => '',
1570
  'addthis_bitly_key' => '',
1571
  'addthis_config_json' => '',
@@ -1624,133 +1632,148 @@ function addthis_plugin_options_php4() {
1624
  </ul>
1625
  <div class='clear'>&nbsp;</div>
1626
  <div id="tabs-1">
1627
- <table class="form-table">
1628
- <tbody>
1629
- <?php _addthis_choose_icons('above', $options ); ?>
1630
- <?php _addthis_choose_icons('below', $options ); ?>
1631
- <tr valign="top">
1632
- <td colspan="2"><?php _e('Enter a profile, username and password to discover how your content is being shared, and how your most influential audience members are bringing traffic back to your site. Learn what interests them – and to what degree – and how thoses interests are driving sharing. <a href="//addthis.com/features" target="_blank">Click here for more information on the benefits of register</a>.<a href="//www.addthis.com/help/faq#accounts" target="_blank">Click here for more information on usernames and profiles</a> ', 'addthis_trans_domain');?> </td>
1633
- </tr>
1634
- <tr valign="top">
1635
- <th scope="row"><?php _e("AddThis profile id:", 'addthis_trans_domain' ); ?></th>
1636
- <td><input id="addthis_profile" type="text" name="addthis_settings[addthis_profile]" value="<?php echo $profile; ?>" autofill='off' autocomplete='off' /></td>
1637
- </tr>
1638
- <tr valign="top">
1639
- <th scope="row"><?php _e("AddThis username:", 'addthis_trans_domain' ); ?></th>
1640
- <td><input id="addthis_username" type="text" name="addthis_settings[addthis_username]" value="<?php echo $username; ?>" autofill='off' autocomplete='off' /></td>
1641
- </tr>
1642
- <tr id="password_row" >
1643
- <th scope="row"><?php _e("AddThis password:", 'addthis_trans_domain' ); ?><br/><span style="font-size:10px">(required for displaying stats)</span></th>
1644
- <td><input id="addthis_password" type="password" name="addthis_settings[addthis_password]" value="<?php echo $password; ?>" autocomplete='off' autofill='off' /></td>
1645
- </tr>
1646
- </tbody>
1647
- </table>
1648
- <div class='clear'>&nbsp;</div>
1649
- </div>
 
 
 
 
 
 
 
 
 
1650
  <div id="tabs-2">
1651
- <table class="form-table">
1652
- <tr>
1653
- <th scope="row"><?php _e("Show stats in admin dashboard:", 'addthis_trans_domain' ); ?></th>
1654
- <td><input type="checkbox" name="addthis_settings[addthis_show_stats]" value="true" <?php echo ($addthis_show_stats == true ? 'checked="checked"' : ''); ?>/></td>
1655
- </tr>
1656
- <tr>
1657
- <th scope="row"><?php _e("Track <a href=\"//www.addthis.com/blog/2010/03/11/clickback-analytics-measure-traffic-back-to-your-site-from-addthis/\" target=\"_blank\">clickbacks</a>:", 'addthis_trans_domain' ); ?></th>
1658
- <td><input type="checkbox" name="addthis_settings[addthis_append_data]" value="true" <?php echo $addthis_append_data == true ? 'checked="checked"' : ''; ?>/></td>
1659
- </tr>
1660
- <tr>
1661
- <th scope="row"><?php _e("Track Address Bar Shares", 'addthis_trans_domain' ); ?></th>
1662
- <td><input type="checkbox" name="addthis_settings[addthis_addressbar]" value="true" <?php echo ($addthis_addressbar == true ? 'checked="checked"' : ''); ?>/></td>
1663
- </tr>
1664
- <tr>
1665
- <th scope="row"><?php _e("Show on homepage:", 'addthis_trans_domain' ); ?></th>
1666
- <td><input type="checkbox" name="addthis_settings[addthis_showonhome]" value="true" <?php echo ($addthis_showonhome == true ? 'checked="checked"' : ''); ?>/></td>
1667
- </tr>
1668
- <tr>
1669
- <th scope="row"><?php _e("Show on <a href=\"//codex.wordpress.org/Pages\" target=\"blank\">pages</a>:", 'addthis_trans_domain' ); ?></th>
1670
- <td><input type="checkbox" name="addthis_settings[addthis_showonpages]" value="true" <?php echo ( $addthis_showonpages == true ? 'checked="checked"' : ''); ?>/></td>
1671
- </tr>
1672
- <tr>
1673
- <th scope="row"><?php _e("Show in archives:", 'addthis_trans_domain' ); ?></th>
1674
- <td><input type="checkbox" name="addthis_settings[addthis_showonarchives]" value="true" <?php echo ($addthis_showonarchives == true ? 'checked="checked"' : ''); ?>/></td>
1675
- </tr>
1676
- <tr>
1677
- <th scope="row"><?php _e("Show in categories:", 'addthis_trans_domain' ); ?></th>
1678
- <td><input type="checkbox" name="addthis_settings[addthis_showoncats]" value="true" <?php echo ( $addthis_showoncats == true ? 'checked="checked"' : ''); ?>/></td>
1679
- </tr>
1680
- <tr>
1681
- <th scope="row"><?php _e("Show on excerpts:", 'addthis_trans_domain' ); ?></th>
1682
- <td><input type="checkbox" name="addthis_settings[addthis_showonexcerpts]" value="true" <?php echo ( $addthis_showonexcerpts == true ? 'checked="checked"' : ''); ?>/></td>
1683
- </tr>
1684
- <tr>
1685
- <th scope="row"><?php _e("Enable Enhanced Accessibility", 'addthis_trans_domain' ); ?></th>
1686
- <td><input type="checkbox" name="addthis_settings[addthis_508]" value="true" <?php echo ( $addthis_508 == true ? 'checked="checked"' : ''); ?>/></td>
1687
- </tr>
1688
- <tr valign="top">
1689
- <td colspan="2"></td>
1690
- </tr>
1691
- <tr valign="top">
1692
- <td colspan="2">For more details on the following options, see <a href="//addthis.com/customization">our customization docs</a>.</td>
1693
- </tr>
1694
- <tr valign="top">
1695
- <th scope="row"><?php _e("Custom service list:", 'addthis_trans_domain' ); ?><br /><span class='description'><?php _e(
1696
- 'Important: AddThis optimizes your list of services based on popularity and language, and personalizes the list for each user. You may decrease sharing by over-riding these features.'
1697
- , 'addthis_trans_domain') ?>
1698
- </span></th>
1699
- <td><input size='60' type="text" name="addthis_settings[addthis_options]" value="<?php echo $addthis_options; ?>" /><br />
1700
- <span class='description'><?php _e('Enter a comma-separated list of <a href="//addthis.com/services/list">service codes</a>', 'addthis_trans_domain' ); ?></span>
1701
- </td>
1702
- </tr>
1703
- <tr valign="top">
1704
- <th scope="row"><?php _e("Brand:", 'addthis_trans_domain' ); ?></th>
1705
- <td><input type="text" name="addthis_settings[addthis_brand]" value="<?php echo $addthis_brand; ?>" /></td>
1706
- </tr>
1707
- <tr valign="top">
1708
- <th scope="row"><?php _e("<a href='http://www.addthis.com/help/client-api#configuration-sharing-templates'>Twitter Template</a> (not for tweet button) :", 'addthis_trans_domain' ); ?></th>
1709
- <td><input type="text" name="addthis_settings[addthis_twitter_template]" value="<?php echo $addthis_twitter_template; ?>" /></td>
1710
- </tr>
1711
- <tr valign="top">
1712
- <th scope="row"><?php _e("Bitly Login", 'addthis_trans_domain' ); ?></th>
1713
- <td><input type="text" name="addthis_settings[addthis_bitly_login]" value="<?php echo $addthis_bitly_login; ?>" /></td>
1714
- </tr>
1715
- <tr valign="top">
1716
- <th scope="row"><?php _e("Bitly Key", 'addthis_trans_domain' ); ?></th>
1717
- <td><input type="text" name="addthis_settings[addthis_bitly_key]" value="<?php echo $addthis_bitly_key; ?>" /></td>
1718
- </tr>
1719
- <tr valign="top">
1720
- <th scope="row"><?php _e("Language:", 'addthis_trans_domain' ); ?></th>
1721
- <td>
1722
- <select name="addthis_settings[addthis_language]">
1723
- <?php
1724
- $curlng = $addthis_language;
1725
- foreach ($addthis_languages as $lng=>$name)
1726
- {
1727
- echo "<option value=\"$lng\"". ($lng == $curlng ? " selected='selected'":""). ">$name</option>";
1728
- }
1729
- ?>
1730
- </select>
1731
- </td>
1732
- </tr>
1733
- <tr valign="top">
1734
- <th scope="row"><?php _e("Header background:", 'addthis_trans_domain' ); ?></th>
1735
- <td><input type="text" name="addthis_settings[addthis_header_background]" value="<?php echo $addthis_header_background; ?>" /></td>
1736
- </tr>
1737
- <tr valign="top">
1738
- <th scope="row"><?php _e("Header color:", 'addthis_trans_domain' ); ?></th>
1739
- <td><input type="text" name="addthis_settings[addthis_header_color]" value="<?php echo $addthis_header_color; ?>" /></td>
1740
- </tr>
1741
- <tr valign="top">
1742
- <th scope="row"><?php _e("addthis_config values (json format):", 'addthis_trans_domain' ); ?></th>
1743
- <td><textarea rows='3' cols='40' type="text" name="addthis_settings[addthis_config_json]" /><?php echo $addthis_config_json; ?></textarea></td>
1744
- </tr>
1745
- <tr valign="top">
1746
- <th scope="row"><?php _e("addthis_share values (json format):", 'addthis_trans_domain' ); ?></th>
1747
- <td><textarea rows='3' cols='40' type="text" name="addthis_settings[addthis_share_json]" /><?php echo $addthis_share_json; ?></textarea></td>
1748
- </tr>
1749
- </table>
1750
- <div class='clear'>&nbsp;</div>
1751
- </div>
 
 
 
 
 
1752
  </div>
1753
  <div class="clear">&nbsp;</div>
 
1754
  <p class="submit">
1755
  <?php
1756
  // Build Preview Link
@@ -1762,9 +1785,9 @@ function addthis_plugin_options_php4() {
1762
  $preview_link = htmlspecialchars( add_query_arg( array( 'preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'preview_iframe' => true, 'TB_iframe' => 'true' ), $preview_link ) );
1763
 
1764
 
1765
- ?>
1766
- <a href="<?php echo $preview_link; ?>" class="thickbox thickbox-preview" id="preview" ><?php _e('Preview'); ?></a>
1767
- <input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" />
1768
  </p>
1769
 
1770
  </form>
26
  * Plugin Name: AddThis Social Bookmarking Widget
27
  * Plugin URI: http://www.addthis.com
28
  * 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.
29
+ * Version: 2.3.0
30
  *
31
  * Author: The AddThis Team
32
  * Author URI: http://www.addthis.com/blog
33
  */
34
 
35
  define( 'addthis_style_default' , 'small_toolbox_with_share');
36
+ define( 'ADDTHIS_PLUGIN_VERSION', '2.3.0');
37
 
38
  $addthis_settings = array();
39
  $addthis_settings['isdropdown'] = 'true';
65
  ), // Plus sign share | four buttons
66
  'large_toolbox' => array( 'src' => '<div class="addthis_toolbox addthis_default_style addthis_32x32_style" %s ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>', 'img' => 'toolbox-large.png', 'name' => 'Large Toolbox', 'above' => 'hidden ', 'below' => ''
67
  ), // 32x32
68
+ 'fb_tw_sc' => array( 'src' => '<div class="addthis_toolbox addthis_default_style " %s ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>' , 'img' => 'fb-tw-sc.jpg' , 'name' => 'Like, Tweet, Counter', 'above' => 'hidden', 'below' => 'hidden'
69
+ ), // facebook tweet share counter
70
+ 'fb_tw_p1_sc' => array( 'src' => '<div class="addthis_toolbox addthis_default_style " %s ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>' , 'img' => 'fb-tw-p1-sc.jpg' , 'name' => 'Like, Tweet, +1, Share', 'above' => '', 'below' => 'hidden'
71
  ), // facebook tweet share counter
72
  'simple_button' => array('src' => '<div class="addthis_toolbox addthis_default_style " %s><a href="//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47f81ddfbdce" class="addthis_button_compact">Share</a></div>', 'img' => 'share.jpg', 'name' => 'Share Button', 'above' => 'hidden ', 'below' => 'hidden'
73
  ), // Plus sign share
380
  if ($options == false && ! get_user_meta($user_id, 'addthis_ignore_notices'))
381
  {
382
  echo '<div class="updated addthis_setup_nag"><p>';
383
+ printf(__('Configure the AddThis plugin to enable users to share your content around the web.<br /> <a href="%1$s">Configuration options</a> | <a href="%2$s" id="php_below_min_nag-no">Ignore this notice</a>'),
384
  admin_url('options-general.php?page=' . basename(__FILE__) ),
385
  '?addthis_nag_ignore=0');
386
  echo "</p></div>";
864
  $options[$field] = false;
865
 
866
  }
867
+ if ( isset ($data['data_ga_property']) && strlen($data['data_ga_property']) != 0)
868
+ $options['data_ga_property'] = sanitize_text_field($data['data_ga_property']);
869
 
870
  //[addthis_twitter_template]
871
  if ( isset ($data['addthis_twitter_template']) && strlen($data['addthis_twitter_template']) != 0 )
1321
 
1322
 
1323
  $addthis_config = array();
1324
+ $addthis_share = array();
1325
 
1326
  if ( isset($options['addthis_append_data']) && $options['addthis_append_data'] == true)
1327
  $addthis_config["data_track_clickback"] = true;
1328
  else
1329
  $addthis_config["data_track_clickback"] = false;
1330
+
1331
+ if ( isset($options['data_ga_property']) ){
1332
+ $addthis_config['data_ga_property'] = $options['data_ga_property'];
1333
+ $addthis_config['data_ga_social'] = true;
1334
+ }
1335
 
 
1336
  if ( isset($options['addthis_addressbar']) && $options['addthis_addressbar'] == true)
1337
  $addthis_config["data_track_addressbar"] = true;
1338
  else
1339
  $addthis_config["data_track_addressbar"] = false;
 
1340
 
1341
  if ( isset($options['addthis_language']) && strlen($options['addthis_language']) == 2)
1342
  $addthis_config['ui_language'] = $options['addthis_language'];
1374
  }
1375
  if ( isset( $options['addthis_share_json'] ) && $options['addthis_share_json'] != '')
1376
  $script .= 'if (typeof(addthis_share) == "undefined"){ addthis_share = ' . $options['addthis_share_json'] . ';}';
1377
+ else
1378
  $script .= 'if (typeof(addthis_share) == "undefined"){ addthis_share = ' . json_encode( apply_filters('addthis_share_js_var', $addthis_share ) ) .';}';
1379
  $script .= '</script>';
1380
 
 
1381
  $script .= '<script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js#pubid='.$pub.'"></script>';
1382
 
1383
 
1546
  'style' => addthis_style_default ,
1547
  'location' => 'below',
1548
  'below' => 'large_toolbox',
1549
+ 'above' => 'fb_tw_p1_sc',
1550
  'addthis_show_stats' => true,
1551
  'addthis_append_data'=> true,
1552
  'addthis_showonhome' => true,
1573
  'below_custom_string' => '',
1574
  'addthis_twitter_template' => '',
1575
  'addthis_508' => '',
1576
+ 'data_ga_property' => '',
1577
  'addthis_bitly_login' => '',
1578
  'addthis_bitly_key' => '',
1579
  'addthis_config_json' => '',
1632
  </ul>
1633
  <div class='clear'>&nbsp;</div>
1634
  <div id="tabs-1">
1635
+ <table class="form-table">
1636
+ <tbody>
1637
+ <?php _addthis_choose_icons('above', $options ); ?>
1638
+ <?php _addthis_choose_icons('below', $options ); ?>
1639
+ </tbody>
1640
+ </table>
1641
+
1642
+ <br/>
1643
+
1644
+ <div style="margin-left:5px;">
1645
+ <?php _e("<h3><a href='https://www.addthis.com/register?profile=wpp' target='_blank'>Register</a> for free in-depth analytics reports and better understand your site's social traffic.</h3>", 'addthis_trans_domain');?>
1646
+ </div>
1647
+ <table class="form-table" style="width:400px;">
1648
+ <tbody>
1649
+ <tr valign="top">
1650
+ <td><?php _e("AddThis profile ID:", 'addthis_trans_domain' ); ?></th>
1651
+ <td><input id="addthis_profile" type="text" name="addthis_settings[addthis_profile]" value="<?php echo $profile; ?>" autofill='off' autocomplete='off' /></td>
1652
+ </tr>
1653
+ <tr valign="top">
1654
+ <td><?php _e("AddThis username:", 'addthis_trans_domain' ); ?></th>
1655
+ <td><input id="addthis_username" type="text" name="addthis_settings[addthis_username]" value="<?php echo $username; ?>" autofill='off' autocomplete='off' /></td>
1656
+ </tr>
1657
+ <tr id="password_row" >
1658
+ <td><?php _e("AddThis password:", 'addthis_trans_domain' ); ?><br/><span style="font-size:10px">(required for displaying stats)</span></th>
1659
+ <td><input id="addthis_password" type="password" name="addthis_settings[addthis_password]" value="<?php echo $password; ?>" autocomplete='off' autofill='off' /></td>
1660
+ </tr>
1661
+ </tbody>
1662
+ </table>
1663
+ <div class='clear'>&nbsp;</div>
1664
+ <br/>
1665
+ </div>
1666
+
1667
  <div id="tabs-2">
1668
+ <table class="form-table">
1669
+ <tr>
1670
+ <th scope="row"><?php _e("Show stats in admin dashboard:", 'addthis_trans_domain' ); ?></th>
1671
+ <td><input type="checkbox" name="addthis_settings[addthis_show_stats]" value="true" <?php echo ($addthis_show_stats == true ? 'checked="checked"' : ''); ?>/></td>
1672
+ </tr>
1673
+ <tr>
1674
+ <th scope="row"><?php _e("Track <a href=\"//www.addthis.com/blog/2010/03/11/clickback-analytics-measure-traffic-back-to-your-site-from-addthis/\" target=\"_blank\">clickbacks</a>:", 'addthis_trans_domain' ); ?></th>
1675
+ <td><input type="checkbox" name="addthis_settings[addthis_append_data]" value="true" <?php echo $addthis_append_data == true ? 'checked="checked"' : ''; ?>/></td>
1676
+ </tr>
1677
+ <tr>
1678
+ <th scope="row"><?php _e("Track address bar shares:", 'addthis_trans_domain' ); ?></th>
1679
+ <td><input type="checkbox" name="addthis_settings[addthis_addressbar]" value="true" <?php echo ($addthis_addressbar == true ? 'checked="checked"' : ''); ?>/></td>
1680
+ </tr>
1681
+ <tr>
1682
+ <th scope="row"><?php _e("Show on homepage:", 'addthis_trans_domain' ); ?></th>
1683
+ <td><input type="checkbox" name="addthis_settings[addthis_showonhome]" value="true" <?php echo ($addthis_showonhome == true ? 'checked="checked"' : ''); ?>/></td>
1684
+ </tr>
1685
+ <tr>
1686
+ <th scope="row"><?php _e("Show on <a href=\"//codex.wordpress.org/Pages\" target=\"blank\">pages</a>:", 'addthis_trans_domain' ); ?></th>
1687
+ <td><input type="checkbox" name="addthis_settings[addthis_showonpages]" value="true" <?php echo ( $addthis_showonpages == true ? 'checked="checked"' : ''); ?>/></td>
1688
+ </tr>
1689
+ <tr>
1690
+ <th scope="row"><?php _e("Show in archives:", 'addthis_trans_domain' ); ?></th>
1691
+ <td><input type="checkbox" name="addthis_settings[addthis_showonarchives]" value="true" <?php echo ($addthis_showonarchives == true ? 'checked="checked"' : ''); ?>/></td>
1692
+ </tr>
1693
+ <tr>
1694
+ <th scope="row"><?php _e("Show in categories:", 'addthis_trans_domain' ); ?></th>
1695
+ <td><input type="checkbox" name="addthis_settings[addthis_showoncats]" value="true" <?php echo ( $addthis_showoncats == true ? 'checked="checked"' : ''); ?>/></td>
1696
+ </tr>
1697
+ <tr>
1698
+ <th scope="row"><?php _e("Show on excerpts:", 'addthis_trans_domain' ); ?></th>
1699
+ <td><input type="checkbox" name="addthis_settings[addthis_showonexcerpts]" value="true" <?php echo ( $addthis_showonexcerpts == true ? 'checked="checked"' : ''); ?>/></td>
1700
+ </tr>
1701
+ <tr>
1702
+ <th scope="row"><?php _e("Enable enhanced accessibility:", 'addthis_trans_domain' ); ?></th>
1703
+ <td><input type="checkbox" name="addthis_settings[addthis_508]" value="true" <?php echo ( $addthis_508 == true ? 'checked="checked"' : ''); ?>/></td>
1704
+ </tr>
1705
+ <tr>
1706
+ <th scope="row"><?php _e("Google Analytics property ID:", 'addthis_trans_domain' ); ?></th>
1707
+ <td><input type="text" name="addthis_settings[data_ga_property]" value="<?php echo $data_ga_property ?>"/></td>
1708
+ </tr>
1709
+
1710
+ <tr valign="top">
1711
+ <td colspan="2"></td>
1712
+ </tr>
1713
+ <tr valign="top">
1714
+ <td colspan="2">For more details on the following options, see <a href="//addthis.com/customization">our customization documentation</a>.</td>
1715
+ </tr>
1716
+ <tr valign="top">
1717
+ <th scope="row"><?php _e("Custom service list:", 'addthis_trans_domain' ); ?><br /><span class='description'><?php _e(
1718
+ 'Important: AddThis optimizes displayed services based on popularity and language, and personalizes the list for each user. You may decrease sharing by overriding these features.'
1719
+ , 'addthis_trans_domain') ?>
1720
+ </span></th>
1721
+ <td><input size='60' type="text" name="addthis_settings[addthis_options]" value="<?php echo $addthis_options; ?>" /><br />
1722
+ <span class='description'><?php _e('Enter a comma-separated list of <a href="//addthis.com/services/list">service codes</a>', 'addthis_trans_domain' ); ?></span>
1723
+ </td>
1724
+ </tr>
1725
+ <tr valign="top">
1726
+ <th scope="row"><?php _e("Brand:", 'addthis_trans_domain' ); ?></th>
1727
+ <td><input type="text" name="addthis_settings[addthis_brand]" value="<?php echo $addthis_brand; ?>" /></td>
1728
+ </tr>
1729
+ <tr valign="top">
1730
+ <th scope="row"><?php _e("<a href='http://www.addthis.com/help/client-api#configuration-sharing-templates'>Twitter Template:</a><br/><span class='description'>(not for tweet button)</span>", 'addthis_trans_domain' ); ?></th>
1731
+ <td><input type="text" name="addthis_settings[addthis_twitter_template]" value="<?php echo $addthis_twitter_template; ?>" /></td>
1732
+ </tr>
1733
+ <tr valign="top">
1734
+ <th scope="row"><?php _e("Bitly login:", 'addthis_trans_domain' ); ?></th>
1735
+ <td><input type="text" name="addthis_settings[addthis_bitly_login]" value="<?php echo $addthis_bitly_login; ?>" /></td>
1736
+ </tr>
1737
+ <tr valign="top">
1738
+ <th scope="row"><?php _e("Bitly key:", 'addthis_trans_domain' ); ?></th>
1739
+ <td><input type="text" name="addthis_settings[addthis_bitly_key]" value="<?php echo $addthis_bitly_key; ?>" /></td>
1740
+ </tr>
1741
+ <tr valign="top">
1742
+ <th scope="row"><?php _e("Language:", 'addthis_trans_domain' ); ?></th>
1743
+ <td>
1744
+ <select name="addthis_settings[addthis_language]">
1745
+ <?php
1746
+ $curlng = $addthis_language;
1747
+ foreach ($addthis_languages as $lng=>$name)
1748
+ {
1749
+ echo "<option value=\"$lng\"". ($lng == $curlng ? " selected='selected'":""). ">$name</option>";
1750
+ }
1751
+ ?>
1752
+ </select>
1753
+ </td>
1754
+ </tr>
1755
+ <tr valign="top">
1756
+ <th scope="row"><?php _e("Header background:", 'addthis_trans_domain' ); ?></th>
1757
+ <td><input type="text" name="addthis_settings[addthis_header_background]" value="<?php echo $addthis_header_background; ?>" /></td>
1758
+ </tr>
1759
+ <tr valign="top">
1760
+ <th scope="row"><?php _e("Header color:", 'addthis_trans_domain' ); ?></th>
1761
+ <td><input type="text" name="addthis_settings[addthis_header_color]" value="<?php echo $addthis_header_color; ?>" /></td>
1762
+ </tr>
1763
+ <tr valign="top">
1764
+ <th scope="row"><?php _e("addthis_config values:<br/><span class=\"description\">(json format)</span>", 'addthis_trans_domain' ); ?></th>
1765
+ <td><textarea rows='3' cols='40' type="text" name="addthis_settings[addthis_config_json]" /><?php echo $addthis_config_json; ?></textarea></td>
1766
+ </tr>
1767
+ <tr valign="top">
1768
+ <th scope="row"><?php _e("addthis_share values:<br/><span class=\"description\">(json format)</span>", 'addthis_trans_domain' ); ?></th>
1769
+ <td><textarea rows='3' cols='40' type="text" name="addthis_settings[addthis_share_json]" /><?php echo $addthis_share_json; ?></textarea></td>
1770
+ </tr>
1771
+ </table>
1772
+ <div class='clear'>&nbsp;</div>
1773
+ </div>
1774
  </div>
1775
  <div class="clear">&nbsp;</div>
1776
+
1777
  <p class="submit">
1778
  <?php
1779
  // Build Preview Link
1785
  $preview_link = htmlspecialchars( add_query_arg( array( 'preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'preview_iframe' => true, 'TB_iframe' => 'true' ), $preview_link ) );
1786
 
1787
 
1788
+ ?>
1789
+ <input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" />
1790
+ <a href="<?php echo $preview_link; ?>" class="thickbox thickbox-preview" id="preview" ><?php _e('Preview'); ?></a>
1791
  </p>
1792
 
1793
  </form>
css/options-page.css CHANGED
@@ -1,5 +1,5 @@
1
  h3.page-title {
2
- float: left;
3
  }
4
  .page-header{
5
  border-bottom: 1px solid #CCCCCC;
@@ -7,35 +7,93 @@ float: left;
7
  width: 100%;
8
  height:63px;
9
  }
10
- .nav-tab-wrapper li{
11
- float: left;
12
- border-bottom:none;
13
- padding: 8px 24px;
14
- border-bottom: 1px solid #CCCCCC;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  }
16
- h2.nav-tab-wrapper{
17
- border:none;
 
 
 
18
  }
19
- .nav-tab-wrapper li.ui-tabs-selected{
20
- -moz-border-radius: 5px 5px 0 0;
21
- border-top:1px solid #ccc;
22
- border-left:1px solid #ccc;
23
- border-right: 1px solid #ccc;
24
- border-bottom: none;
25
  }
26
 
27
- h2.nav-tab-wrapper{
28
- padding-left: 5px;
29
  }
30
- .nav-tab-wrapper li a{
31
- color:#464646;
32
- text-decoration:none;
 
 
33
  }
34
- .form-table{
35
- width: 600px;
36
- float: left;
37
- display: block;
 
 
38
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  .more-info{
40
  float: left;
41
  width: 200px;
@@ -44,8 +102,9 @@ p.submit {
44
  clear: both;
45
  }
46
  #tabs{
47
- display:block;
48
- height: 100%;
 
49
  }
50
  .ui-tabs-panel{
51
  }
1
  h3.page-title {
2
+ float: left;
3
  }
4
  .page-header{
5
  border-bottom: 1px solid #CCCCCC;
7
  width: 100%;
8
  height:63px;
9
  }
10
+ ul.nav-tab-wrapper {
11
+ height: 57px;
12
+ border-bottom: 1px solid #ccc;
13
+ }
14
+ ul.nav-tab-wrapper li:first-child {
15
+ margin-left: 10px;
16
+ }
17
+ ul.nav-tab-wrapper li {
18
+ float: left;
19
+ border-bottom: none;
20
+ padding: 14px 24px;
21
+ margin: 0;
22
+ border-bottom: 1px solid #CCCCCC;
23
+ }
24
+ ul.nav-tab-wrapper li a{
25
+ text-decoration:none;
26
+ color:#464646;
27
+ }
28
+ ul.nav-tab-wrapper li h2.nav-tab-wrapper{
29
+ margin: 0;
30
+ padding: 0;
31
+ border: none;
32
+ }
33
+ ul.nav-tab-wrapper li.ui-tabs-selected{
34
+ -moz-border-radius: 5px 5px 0 0;
35
+ border-top:1px solid #ccc;
36
+ border-left:1px solid #ccc;
37
+ border-right: 1px solid #ccc;
38
+ border-bottom: 1px solid #fff;
39
+ padding-bottom: 13px;
40
+ }
41
+
42
+
43
+ .select_row {
44
+ min-height: 20px;
45
+ padding-bottom: 1px;
46
  }
47
+ .select_row .radio {
48
+ display: inline-block;
49
+ width: 25px;
50
+ margin-top: 8px;
51
+ float: left;
52
  }
53
+ .select_row img {
54
+ border: none;
 
 
 
 
55
  }
56
 
57
+ .clear {
58
+ height: 1px;
59
  }
60
+ .mt4 { margin-top: 4px !important; }
61
+ .mt20 { margin-top: 20px !important; }
62
+
63
+ .description {
64
+ margin-bottom: 20px;
65
  }
66
+ .description span.radio {
67
+ margin-top: 4px;
68
+ }
69
+
70
+ .form-table {
71
+ border-collapse: collapse;
72
  }
73
+ .form-table td{
74
+ padding: 5px;
75
+ }
76
+ .form-table fieldset {
77
+ padding: 20px;
78
+ margin-bottom: 20px;
79
+ border: 1px solid #ccc;
80
+ border-radius: 5px;
81
+ -moz-border-radius: 5px;
82
+ -webkit-border-radius: 5px;
83
+ }
84
+ .form-table fieldset .clear {
85
+ height: 10px;
86
+ }
87
+
88
+ .submit {
89
+ padding-top: 20px;
90
+ }
91
+ .submit a {
92
+ margin-left: 20px;
93
+ }
94
+
95
+
96
+
97
  .more-info{
98
  float: left;
99
  width: 200px;
102
  clear: both;
103
  }
104
  #tabs{
105
+ display:block;
106
+ height: 100%;
107
+ padding-bottom: 20px;
108
  }
109
  .ui-tabs-panel{
110
  }
img/fb-tw-p1-sc.jpg ADDED
Binary file
readme.txt CHANGED
@@ -3,12 +3,12 @@ Contributors: _mjk_, jorbin
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
4
  Requires at least: 2.9
5
  Tested up to: 3.2.1
6
- Stable tag: 2.2.2
7
 
8
- The AddThis Social Bookmarking Widget allows any visitor to bookmark and share your site easily with over 300 popular services including Google +1, Facebook Like and Twitter.
9
 
10
  == Description ==
11
- Get more traffic back to your site by installing the AddThis WordPress plugin. With AddThis, your users can promote your content by sharing to 295 of the most popular social networking and bookmarking sites (like Facebook, Twitter, Digg, StumbleUpon and MySpace). Our button is small, unobtrusive, quick to load and recognized all over the web. We also optionaly support address bar sharing in modern browsers.
12
 
13
  Optionally, sign up for a free 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.
14
 
@@ -58,7 +58,7 @@ All of the options required through this plugin require javascript. JavaScript
58
  Over 1,200,000 sites have installed AddThis. With over a billion unique users, AddThis is helping share content all over the world, in more than sixty languages. You might be surprised who's sharing their website using AddThis--<a href="http://www.addthis.com/features#partners">here are just a few</a>.
59
 
60
  = What services does AddThis support? =
61
- We currently support over 300 services, from email and blogging platforms to social networks and news aggregators, and we add new services every month. Want to know if your favorite service is supported? This list is accurate up to the minute: <a href="http://www.addthis.com/services">http://www.addthis.com/services</a>.
62
 
63
  = How do I remove AddThis from a page =
64
  In the screen options you can enable the AddThis meta box. Check the box and save if you've already published that page or post to disable AddThis on that page or post.
@@ -74,6 +74,10 @@ In the screen options you can enable the AddThis meta box. Check the box and sa
74
  PHP 5+ is preferred; PHP 4 is supported.
75
 
76
  == Changelog ==
 
 
 
 
77
  = 2.2.2 =
78
  * Fix custom button whitespace saving issue
79
 
@@ -170,6 +174,9 @@ Fixed nondeterministic bug with the_title(), causing the title to occasionally a
170
 
171
 
172
  == Upgrade Notice ==
 
 
 
173
  = 2.2.1 =
174
  Add 3.2 compatability
175
 
@@ -180,7 +187,7 @@ More Customization options
180
  More Features, More Filters, More Social Goodness
181
 
182
  = 2.0.5 =
183
- Force service codes to be lowercase and If opting out of clickback tracking, set config to force opting out
184
 
185
  = 2.0.4 =
186
  Fix conflict with other plugins and other bug fixes
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
4
  Requires at least: 2.9
5
  Tested up to: 3.2.1
6
+ Stable tag: 2.3.0
7
 
8
+ The AddThis Social Bookmarking Widget allows any visitor to bookmark and share your site easily with over 330 popular services.
9
 
10
  == Description ==
11
+ Get more traffic back to your site by installing the AddThis WordPress plugin. With AddThis, your users can promote your content by sharing to 330 of the most popular social networking and bookmarking sites (like Facebook, Twitter, Digg, StumbleUpon and MySpace). We also support address bar sharing in modern browsers. Our button is small, unobtrusive, quick to load and recognized all over the web.
12
 
13
  Optionally, sign up for a free 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.
14
 
58
  Over 1,200,000 sites have installed AddThis. With over a billion unique users, AddThis is helping share content all over the world, in more than sixty languages. You might be surprised who's sharing their website using AddThis--<a href="http://www.addthis.com/features#partners">here are just a few</a>.
59
 
60
  = What services does AddThis support? =
61
+ We currently support over 330 services, from email and blogging platforms to social networks and news aggregators, and we add new services every month. Want to know if your favorite service is supported? This list is accurate up to the minute: <a href="http://www.addthis.com/services">http://www.addthis.com/services</a>.
62
 
63
  = How do I remove AddThis from a page =
64
  In the screen options you can enable the AddThis meta box. Check the box and save if you've already published that page or post to disable AddThis on that page or post.
74
  PHP 5+ is preferred; PHP 4 is supported.
75
 
76
  == Changelog ==
77
+ = 2.3.0 =
78
+ * Add Google Analytics option
79
+ * Update settings interface
80
+
81
  = 2.2.2 =
82
  * Fix custom button whitespace saving issue
83
 
174
 
175
 
176
  == Upgrade Notice ==
177
+ = 2.3.0 =
178
+ Improve the Settings interface and add Google Analytics Integration
179
+
180
  = 2.2.1 =
181
  Add 3.2 compatability
182
 
187
  More Features, More Filters, More Social Goodness
188
 
189
  = 2.0.5 =
190
+ Force service codes to be lowercase and, if opting out of clickback tracking, set config to force opting out
191
 
192
  = 2.0.4 =
193
  Fix conflict with other plugins and other bug fixes
screenshot-3.png CHANGED
Binary file