PluginProbe
Social Share Buttons / 1.1.2
Social Share Buttons v1.1.2
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
← All changes | classes/network/simple.php +9 -6 1.01.1.2 View file →
@@ -36,8 +36,9 @@
36 36 class emailNetwork extends mbNetwork
37 37 {
38 38 protected $network = 'email';
39 39 protected $icon = 'fa-envelope';
40 + protected $icon_type = 'fas';
40 41 protected $color = '#5e5e5e';
41 42 protected $forcesamewindow = true;
42 43
43 44 public function __construct()
@@ -51,9 +52,10 @@
51 52
52 53 class facebookNetwork extends mbNetwork
53 54 {
54 55 protected $network = 'facebook';
55 - protected $icon = 'fa-facebook';
56 +
57 + protected $icon = 'fa-facebook-f';
56 58 protected $color = '#3b5998';
57 59
58 60 public function __construct()
59 61 {
@@ -73,9 +75,9 @@
73 75
74 76 class linkedinNetwork extends mbNetwork
75 77 {
76 78 protected $network = 'linkedin';
77 - protected $icon = 'fa-linkedin';
79 + protected $icon = 'fa-linkedin-in';
78 80 protected $color = '#007bb6';
79 81
80 82 public function __construct()
81 83 {
@@ -82,9 +84,9 @@
82 84 parent::__construct();
83 85 $this->label = __('Share','mbsocial');
84 86 $this->share_url = 'https://www.linkedin.com/shareArticle?mini=true&url={url}';
85 87 $this->profile_url = 'https://www.linkedin.com/in/{profile}';
86 - // Linkedin counts where killed
88 + // Linkedin counts where killed
87 89 //$this->count_api = 'https://www.linkedin.com/countserv/count/share?url={url}&format=json';
88 90 //$this->countable = true;
89 91 //$this->return_var = 'count';
90 92
@@ -97,8 +99,9 @@
97 99 class printNetwork extends mbNetwork
98 100 {
99 101 protected $network = 'print';
100 102 protected $icon = 'fa-print';
103 + protected $icon_type = 'fas';
101 104 protected $color = '#5e5e5e';
102 105 protected $forcesamewindow = true;
103 106
104 107 public function __construct()
@@ -208,11 +211,10 @@
208 211
209 212 $this->popup = false;
210 213
211 214 $this->label = __('View', 'mbsocial');
212 - $this->profile_url = 'https://youtube.com/user/{profile}';
215 + $this->profile_url = 'https://youtube.com/{profile}';
213 216
214 -
215 217 }
216 218 }
217 219
218 220 class snapchatNetwork extends mbNetwork
@@ -238,8 +240,9 @@
238 240 {
239 241 protected $network = 'rss';
240 242 protected $priority = 'readmore';
241 243 protected $icon = 'fa-rss';
244 + protected $icon_type = 'fas';
242 245 protected $color = '#F99000';
243 246
244 247 protected $share_profile = false;
245 248 // protected $profile_placeholder = '';
@@ -271,9 +274,9 @@
271 274 class vimeoNetwork extends mbNetwork
272 275 {
273 276 protected $network = 'vimeo';
274 277 protected $priority = 'readmore';
275 - protected $icon = 'fa-vimeo';
278 + protected $icon = 'fa-vimeo-v';
276 279 protected $color = '#1ab7ea';
277 280
278 281 public function __construct()
279 282 {