Social Media Feather | social media sharing - Version 1.2.3

Version Description

  • Fix check for single posts to include all singular pages
  • Set image dimensions attributes to match icon size
  • Fix for images stacking vertically in some themes
  • Fix for automatic follow not shown when automatic share was disabled
Download this release

Release Info

Developer Synved
Plugin Icon 128x128 Social Media Feather | social media sharing
Version 1.2.3
Comparing to
See all releases

Code changes from version 1.2.2 to 1.2.3

readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Social Media Feather ===
2
  Contributors: Synved
3
  Donate link: http://synved.com/wordpress-social-media-feather/
4
- Tags: shortcode, shortcodes, link, links, url, permalink, permalinks, time, icons, button, buttons, free, content, plugin, Share, sharing, page, pages, widget, CSS, list, media, profile, shortlinks, social, social media, Like, twitter, google, Facebook, Reddit, youtube, bookmark, bookmarks, bookmarking, pinterest, linkedin, image, edit, manage, mail, Post, posts, Style, seo, title, filter
5
  Requires at least: 3.1
6
- Tested up to: 3.5.1
7
  Stable tag: trunk
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -75,7 +75,7 @@ For following buttons you can use:
75
 
76
  = Related Links: =
77
 
78
- * [WordPress Social Media Feather Official Page](http://synved.com/wordpress-social-media-feather/ "WordPress Social Media Feather – lightweight social sharing and following")
79
  * [Extra Social Icons Skins](http://synved.com/product/feather-extra-social-icons/ "Add 8 extra social icon skins to the Social Media Feather plugin!")
80
  * [Grey Fade addon that can grey out and fade out any social icons set](http://synved.com/product/feather-grey-fade/ "Customize any of the available social icon skins with 2 cool effects!")
81
  * [Our own site](http://synved.com/) where you can see social sharing and following in action
@@ -107,6 +107,12 @@ Have a look at [our site](http://synved.com/) or the [Stripefolio portfolio them
107
 
108
  == Changelog ==
109
 
 
 
 
 
 
 
110
  = 1.2.2 =
111
  * Added option to limit automatic appending to single post/pages
112
 
1
  === Social Media Feather ===
2
  Contributors: Synved
3
  Donate link: http://synved.com/wordpress-social-media-feather/
4
+ Tags: shortcode, shortcodes, link, links, url, permalink, permalinks, time, icons, button, buttons, free, content, plugin, Share, sharing, page, pages, widget, CSS, list, media, profile, shortlinks, social, social media, Like, twitter, google, Facebook, Reddit, youtube, bookmark, bookmarks, bookmarking, pinterest, linkedin, image, edit, manage, mail, Post, posts, Style, seo, title, filter, follow, following
5
  Requires at least: 3.1
6
+ Tested up to: 3.5.2
7
  Stable tag: trunk
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
75
 
76
  = Related Links: =
77
 
78
+ * [WordPress Social Media Plugin Official Page](http://synved.com/wordpress-social-media-feather/ "WordPress Social Media Feather – lightweight social sharing and following")
79
  * [Extra Social Icons Skins](http://synved.com/product/feather-extra-social-icons/ "Add 8 extra social icon skins to the Social Media Feather plugin!")
80
  * [Grey Fade addon that can grey out and fade out any social icons set](http://synved.com/product/feather-grey-fade/ "Customize any of the available social icon skins with 2 cool effects!")
81
  * [Our own site](http://synved.com/) where you can see social sharing and following in action
107
 
108
  == Changelog ==
109
 
110
+ = 1.2.3 =
111
+ * Fix check for single posts to include all singular pages
112
+ * Set image dimensions attributes to match icon size
113
+ * Fix for images stacking vertically in some themes
114
+ * Fix for automatic follow not shown when automatic share was disabled
115
+
116
  = 1.2.2 =
117
  * Added option to limit automatic appending to single post/pages
118
 
social-media-feather.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Social Media Feather
4
  Plugin URI: http://synved.com/wordpress-social-media-feather/
5
  Description: Super lightweight social media plugin to add nice and effective social sharing and following buttons and icons anywhere on your site without the extra burden
6
  Author: Synved
7
- Version: 1.2.2
8
  Author URI: http://synved.com/
9
 
10
  LEGAL STATEMENTS
4
  Plugin URI: http://synved.com/wordpress-social-media-feather/
5
  Description: Super lightweight social media plugin to add nice and effective social sharing and following buttons and icons anywhere on your site without the extra burden
6
  Author: Synved
7
+ Version: 1.2.3
8
  Author URI: http://synved.com/
9
 
10
  LEGAL STATEMENTS
synved-social/synved-social-setup.php CHANGED
@@ -648,12 +648,12 @@ function synved_social_wp_the_content($content, $id = null)
648
 
649
  if (!$exclude_share && synved_option_get('synved_social', 'automatic_share_single'))
650
  {
651
- $exclude_share = !is_single($id);
652
  }
653
 
654
  if (!$exclude_follow && synved_option_get('synved_social', 'automatic_follow_single'))
655
  {
656
- $exclude_follow = !is_single($id);
657
  }
658
  }
659
 
@@ -809,7 +809,7 @@ function synved_social_init()
809
  //add_action('wp_print_styles', 'synved_social_print_styles');
810
  }
811
 
812
- if (synved_option_get('synved_social', 'automatic_share'))
813
  {
814
  add_filter('the_content', 'synved_social_wp_the_content', 10, 2);
815
  }
648
 
649
  if (!$exclude_share && synved_option_get('synved_social', 'automatic_share_single'))
650
  {
651
+ $exclude_share = !is_singular($id);
652
  }
653
 
654
  if (!$exclude_follow && synved_option_get('synved_social', 'automatic_follow_single'))
655
  {
656
+ $exclude_follow = !is_singular($id);
657
  }
658
  }
659
 
809
  //add_action('wp_print_styles', 'synved_social_print_styles');
810
  }
811
 
812
+ if (synved_option_get('synved_social', 'automatic_share') || synved_option_get('synved_social', 'automatic_follow'))
813
  {
814
  add_filter('the_content', 'synved_social_wp_the_content', 10, 2);
815
  }
synved-social/synved-social.php CHANGED
@@ -3,7 +3,7 @@
3
  Module Name: Synved Social
4
  Description: Social sharing and following tools
5
  Author: Synved
6
- Version: 1.2.2
7
  Author URI: http://synved.com/
8
  License: GPLv2
9
 
@@ -18,8 +18,8 @@ In no event shall Synved Ltd. be liable to you or any third party for any direct
18
 
19
 
20
  define('SYNVED_SOCIAL_LOADED', true);
21
- define('SYNVED_SOCIAL_VERSION', 100020002);
22
- define('SYNVED_SOCIAL_VERSION_STRING', '1.2.2');
23
 
24
  define('SYNVED_SOCIAL_ADDON_PATH', str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, dirname(__FILE__) . '/addons'));
25
 
@@ -852,9 +852,10 @@ function synved_social_button_list_markup($context, $vars = null, $buttons = nul
852
  'tag' => 'img',
853
  'alt' => $button_key,
854
  'title' => $title,
855
- 'class' => 'synved-share-image',
856
  'width' => $size,
857
- 'style' => 'width:' . $size . 'px;' . $style,
 
858
  'src' => $image_uri,
859
  )
860
  )
@@ -877,7 +878,7 @@ function synved_social_button_list_markup($context, $vars = null, $buttons = nul
877
 
878
  if (synved_option_get('synved_social', 'show_credit'))
879
  {
880
- $out .= '<a target="_blank" rel="nofollow" title="' . __('WordPress Social Media Feather', 'synved-social') . '" href="http://synved.com/wordpress-social-media-feather/" style="color:#444; text-decoration:none; font-size:8px; margin-left:5px;vertical-align:10px;white-space:nowrap;"><span>' . __('by ', 'synved-social') . '</span><img style="margin:0;padding:0;" alt="feather" src="' . $uri . '/image/icon.png" /></a>';
881
  }
882
  }
883
 
3
  Module Name: Synved Social
4
  Description: Social sharing and following tools
5
  Author: Synved
6
+ Version: 1.2.3
7
  Author URI: http://synved.com/
8
  License: GPLv2
9
 
18
 
19
 
20
  define('SYNVED_SOCIAL_LOADED', true);
21
+ define('SYNVED_SOCIAL_VERSION', 100020003);
22
+ define('SYNVED_SOCIAL_VERSION_STRING', '1.2.3');
23
 
24
  define('SYNVED_SOCIAL_ADDON_PATH', str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, dirname(__FILE__) . '/addons'));
25
 
852
  'tag' => 'img',
853
  'alt' => $button_key,
854
  'title' => $title,
855
+ 'class' => 'synved-share-image synved-social-image synved-social-image-' . $context,
856
  'width' => $size,
857
+ 'height' => $size,
858
+ 'style' => 'display: inline;width:' . $size . 'px;' . 'height:' . $size . 'px;' . $style,
859
  'src' => $image_uri,
860
  )
861
  )
878
 
879
  if (synved_option_get('synved_social', 'show_credit'))
880
  {
881
+ $out .= '<a class="synved-social-credit" target="_blank" rel="nofollow" title="' . __('WordPress Social Media Feather', 'synved-social') . '" href="http://synved.com/wordpress-social-media-feather/" style="color:#444; text-decoration:none; font-size:8px; margin-left:5px;vertical-align:10px;white-space:nowrap;"><span>' . __('by ', 'synved-social') . '</span><img style="display: inline;margin:0;padding:0;width:16px;height:16px;" width="16" height="16" alt="feather" src="' . $uri . '/image/icon.png" /></a>';
882
  }
883
  }
884