Simple Social Media Share Buttons – Social Sharing for Everyone - Version 3.0.1

Version Description

  • Please upgrade immediately. Many enhancements, new features and bugfixes.

=

Download this release

Release Info

Developer hiddenpearls
Plugin Icon 128x128 Simple Social Media Share Buttons – Social Sharing for Everyone
Version 3.0.1
Comparing to
See all releases

Code changes from version 3.0.0 to 3.0.1

Files changed (2) hide show
  1. readme.txt +14 -11
  2. simple-social-buttons.php +9 -7
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Simple Social Media Share Buttons - Social Sharing for Everyone ===
2
  Contributors: hiddenpearls, WPBrigade, desideveloper
3
- Donate link: https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/
4
  Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, twitter, pinterest, plus one
5
  Requires at least: 4.0
6
  Tested up to: 5.3
7
- Stable tag: 3.0.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ Simple Social Media Share Buttons adds an advanced set of social media sharing b
12
 
13
  == Description ==
14
 
15
- [Simple Social Buttons](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.") adds ( with lots of options like Sidebar, inline, above and below the posts content, on photos, popups, fly ins ) an advanced set of social media sharing buttons to your WordPress sites, such as: Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest.
16
 
17
  > Rich set of features makes it the most flexible **Social Sharing plugin ever for Everyone**.
18
 
@@ -24,22 +24,22 @@ Simple Social Media Share Buttons adds an advanced set of social media sharing b
24
  - Social Sharing Buttons above and under the post
25
  - Hide Social Share buttons on mobile devices
26
  - Stunning Animations
27
- - [Upgrade to Pro](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.") for customizing the colors
28
 
29
  **SideBar**
30
  - Social Share buttons on left & right sidebars with Animations
31
  - Hide Social Share buttons on mobile devices
32
  - Display Total Share counts
33
- - [Upgrade to Pro](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.") for customizing the colors
34
 
35
- **on Media** *[Premium Feature](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")*
36
  - Set Social Share buttons positions on left, right etc with Animations
37
  - Hide Social Share buttons on mobile devices
38
  - Display Total Share counts
39
  - Settings for customizing the colors
40
  - Apply Social Share buttons on Specific Custom Post Types
41
 
42
- **Popups** *[Premium Feature](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")*
43
  - Social Share buttons on popups
44
  - Trigger popups as soon as use scrolls the page
45
  - Trigger popups on Exit/Intent.
@@ -47,7 +47,7 @@ Simple Social Media Share Buttons adds an advanced set of social media sharing b
47
  - Display Total Share counts
48
  - Options for customizing the colors
49
 
50
- **Fly-ins** *[Premium Feature](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")*
51
  - Social Share Flyins on bottom left & right with Animations
52
  - Hide Social Share Fly-ins on mobile devices
53
  - Display Total Share counts
@@ -99,7 +99,7 @@ That's it. Buttons will show on your blog posts or any custom type you want. Jus
99
 
100
  = How to use it? =
101
 
102
- Check the written [documentation](https://wpbrigade.com/docs-article/getting-started-simple-social-buttons/) with screenshots.
103
 
104
  = Why use this plugin? =
105
 
@@ -113,7 +113,7 @@ Use [plugin's forum](http://wordpress.org/support/plugin/simple-social-buttons "
113
 
114
  Premium version includes Priority support, premium features like access to customizing colors of social media buttons, Social popups, fly-ins, on Media Social buttons etc
115
 
116
- Check the more details [here](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-faqs&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")
117
 
118
  = Is there a shortcode for custom install? =
119
 
@@ -147,11 +147,14 @@ like_button_size = small(default), large
147
 
148
  == Upgrade Notice ==
149
 
150
- = 3.0.0 =
151
  * Please upgrade immediately. Many enhancements, new features and bugfixes.
152
 
153
  == Changelog ==
154
 
 
 
 
155
  = 3.0.0 - 2019-11-19 =
156
  * New Feature: Introducing Social Sharing Gutenberg Blocks.
157
  * New Feature: Option to delete settings in database on uninstall.
1
  === Simple Social Media Share Buttons - Social Sharing for Everyone ===
2
  Contributors: hiddenpearls, WPBrigade, desideveloper
3
+ Donate link: https://simplesocialbuttons.com/
4
  Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, twitter, pinterest, plus one
5
  Requires at least: 4.0
6
  Tested up to: 5.3
7
+ Stable tag: 3.0.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ [Simple Social Buttons](https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.") adds ( with lots of options like Sidebar, inline, above and below the posts content, on photos, popups, fly ins ) an advanced set of social media sharing buttons to your WordPress sites, such as: Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest.
16
 
17
  > Rich set of features makes it the most flexible **Social Sharing plugin ever for Everyone**.
18
 
24
  - Social Sharing Buttons above and under the post
25
  - Hide Social Share buttons on mobile devices
26
  - Stunning Animations
27
+ - [Upgrade to Pro](https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.") for customizing the colors
28
 
29
  **SideBar**
30
  - Social Share buttons on left & right sidebars with Animations
31
  - Hide Social Share buttons on mobile devices
32
  - Display Total Share counts
33
+ - [Upgrade to Pro](https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.") for customizing the colors
34
 
35
+ **on Media** *[Premium Feature](https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")*
36
  - Set Social Share buttons positions on left, right etc with Animations
37
  - Hide Social Share buttons on mobile devices
38
  - Display Total Share counts
39
  - Settings for customizing the colors
40
  - Apply Social Share buttons on Specific Custom Post Types
41
 
42
+ **Popups** *[Premium Feature](https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")*
43
  - Social Share buttons on popups
44
  - Trigger popups as soon as use scrolls the page
45
  - Trigger popups on Exit/Intent.
47
  - Display Total Share counts
48
  - Options for customizing the colors
49
 
50
+ **Fly-ins** *[Premium Feature](https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=link-readme&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")*
51
  - Social Share Flyins on bottom left & right with Animations
52
  - Hide Social Share Fly-ins on mobile devices
53
  - Display Total Share counts
99
 
100
  = How to use it? =
101
 
102
+ Check the written [documentation](https://simplesocialbuttons.com/documentation/) with screenshots.
103
 
104
  = Why use this plugin? =
105
 
113
 
114
  Premium version includes Priority support, premium features like access to customizing colors of social media buttons, Social popups, fly-ins, on Media Social buttons etc
115
 
116
+ Check the more details [here](https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=link-faqs&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")
117
 
118
  = Is there a shortcode for custom install? =
119
 
147
 
148
  == Upgrade Notice ==
149
 
150
+ = 3.0.1 =
151
  * Please upgrade immediately. Many enhancements, new features and bugfixes.
152
 
153
  == Changelog ==
154
 
155
+ = 3.0.1 - 2019-12-09 =
156
+ * Enhancement: Speed Optimized and code refactored.
157
+
158
  = 3.0.0 - 2019-11-19 =
159
  * New Feature: Introducing Social Sharing Gutenberg Blocks.
160
  * New Feature: Option to delete settings in database on uninstall.
simple-social-buttons.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Plugin Name: Simple Social Buttons
4
- * Plugin URI: http://www.WPBrigade.com/wordpress/plugins/simple-social-buttons/
5
  * Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Facebook, Twitter, WhatsApp, Viber, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
6
- * Version: 3.0.0
7
  * Author: WPBrigade
8
- * Author URI: http://www.WPBrigade.com/
9
  * Text Domain: simple-social-buttons
10
  * Domain Path: /lang
11
  */
@@ -44,7 +44,7 @@ class SimpleSocialButtonsPR {
44
  * @isnce
45
  * @var string
46
  */
47
- public $pluginVersion = '3.0.0';
48
 
49
  /**
50
  * Plugin Prefix
@@ -466,7 +466,9 @@ class SimpleSocialButtonsPR {
466
  * since 2.0.21
467
  */
468
  if ( isset( $this->selected_networks['twitter'] ) ) {
469
- echo "<script type='text/javascript'>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://static1.twitcount.com/js/twitcount.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitcount_plugins');</script>";
 
 
470
  }
471
 
472
  }
@@ -494,8 +496,8 @@ class SimpleSocialButtonsPR {
494
  * @return void
495
  */
496
  public function front_block_scripts() {
497
- wp_enqueue_script( 'ssb-blocks-front-js', plugins_url( 'assets/js/blocks.frontend.js', __FILE__ ), array(), SSB_VERSION );
498
- wp_enqueue_style( 'ssb-blocks-front-css', plugins_url( 'assets/css/blocks.style.css', __FILE__ ), array(), SSB_VERSION );
499
 
500
  if ( isset( $this->extra_option['ssb_js'] ) && ! empty( $this->extra_option['ssb_js'] ) ) {
501
  wp_add_inline_script( 'ssb-blocks-front-js', $this->extra_option['ssb_js'] );
1
  <?php
2
  /**
3
  * Plugin Name: Simple Social Buttons
4
+ * Plugin URI: https://simplesocialbuttons.com/
5
  * Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Facebook, Twitter, WhatsApp, Viber, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
6
+ * Version: 3.0.1
7
  * Author: WPBrigade
8
+ * Author URI: https://www.WPBrigade.com/
9
  * Text Domain: simple-social-buttons
10
  * Domain Path: /lang
11
  */
44
  * @isnce
45
  * @var string
46
  */
47
+ public $pluginVersion = '3.0.1';
48
 
49
  /**
50
  * Plugin Prefix
466
  * since 2.0.21
467
  */
468
  if ( isset( $this->selected_networks['twitter'] ) ) {
469
+ echo "<script type='text/javascript'>function initTwitCount(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://static1.twitcount.com/js/twitcount.js';fjs.parentNode.insertBefore(js,fjs)}}
470
+ var ssb_twit_count_init=!1;addEventListener('mouseover',function(event){if(!ssb_twit_count_init){initTwitCount(document,'script','twitcount_plugins')
471
+ ssb_twit_count_init=!0}})</script>";
472
  }
473
 
474
  }
496
  * @return void
497
  */
498
  public function front_block_scripts() {
499
+ // wp_enqueue_script( 'ssb-blocks-front-js', plugins_url( 'assets/js/blocks.frontend.js', __FILE__ ), array(), SSB_VERSION );
500
+ // wp_enqueue_style( 'ssb-blocks-front-css', plugins_url( 'assets/css/blocks.style.css', __FILE__ ), array(), SSB_VERSION );
501
 
502
  if ( isset( $this->extra_option['ssb_js'] ) && ! empty( $this->extra_option['ssb_js'] ) ) {
503
  wp_add_inline_script( 'ssb-blocks-front-js', $this->extra_option['ssb_js'] );