Version Description
- Fixed: styling tweeks for twitter button without count.
Download this release
Release Info
Developer | nathanrice |
Plugin | Genesis Simple Share |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
- README.md +1 -1
- lib/css/share.css +4 -3
- lib/sharrre/jquery.sharrre.js +1 -1
- lib/sharrre/jquery.sharrre.min.js +1 -1
- package.json +16 -16
- plugin.php +2 -2
- readme.txt +10 -7
README.md
CHANGED
@@ -19,4 +19,4 @@ Once there you can choose which post types Simple Share will be active on, if it
|
|
19 |
Tips and Tricks
|
20 |
==================
|
21 |
|
22 |
-
[Additional Usage Tips](https://github.com/copyblogger/genesis-simple-share/wiki/Usage-Tips)
|
19 |
Tips and Tricks
|
20 |
==================
|
21 |
|
22 |
+
[Additional Usage Tips](https://github.com/copyblogger/genesis-simple-share/wiki/Usage-Tips)
|
lib/css/share.css
CHANGED
@@ -269,10 +269,11 @@
|
|
269 |
.share-tall .twitter .count:before {
|
270 |
content: '\f202';
|
271 |
display: block;
|
272 |
-
line-height:
|
273 |
font-family: 'Genericons';
|
274 |
font-size: 20px;
|
275 |
-
|
|
|
276 |
-webkit-font-smoothing: antialiased;
|
277 |
-webkit-transition: all 0.3s ease-in-out;
|
278 |
-moz-transition: all 0.3s ease-in-out;
|
@@ -388,4 +389,4 @@
|
|
388 |
.share-outlined .sharrre:hover .count,
|
389 |
.share-outlined .sharrre:hover .share {
|
390 |
color: #fff;
|
391 |
-
}
|
269 |
.share-tall .twitter .count:before {
|
270 |
content: '\f202';
|
271 |
display: block;
|
272 |
+
line-height: 44px;
|
273 |
font-family: 'Genericons';
|
274 |
font-size: 20px;
|
275 |
+
position: relative;
|
276 |
+
top: 5px;
|
277 |
-webkit-font-smoothing: antialiased;
|
278 |
-webkit-transition: all 0.3s ease-in-out;
|
279 |
-moz-transition: all 0.3s ease-in-out;
|
389 |
.share-outlined .sharrre:hover .count,
|
390 |
.share-outlined .sharrre:hover .share {
|
391 |
color: #fff;
|
392 |
+
}
|
lib/sharrre/jquery.sharrre.js
CHANGED
@@ -580,7 +580,7 @@
|
|
580 |
|
581 |
if( hideCount ){
|
582 |
$(this.element).html(
|
583 |
-
'<div class="box no-count">' +
|
584 |
(this.options.title !== '' ? '<a class="share" href="#">' + this.options.title + '</a>' : '') +
|
585 |
'</div>'
|
586 |
);
|
580 |
|
581 |
if( hideCount ){
|
582 |
$(this.element).html(
|
583 |
+
'<div class="box no-count"><a class="count" href="#"></a>' +
|
584 |
(this.options.title !== '' ? '<a class="share" href="#">' + this.options.title + '</a>' : '') +
|
585 |
'</div>'
|
586 |
);
|
lib/sharrre/jquery.sharrre.min.js
CHANGED
@@ -32,7 +32,7 @@ self.options.count[name]+=count;self.options.total+=count;self.renderer();self.r
|
|
32 |
else{self.renderer();self.rendererPerso();}}).fail(function(){self.renderer();self.rendererPerso();});}
|
33 |
else{self.renderer();self.rendererPerso();}};Plugin.prototype.rendererPerso=function(){var shareCount=0;for(e in this.options.count){shareCount++;}
|
34 |
if(shareCount===this.options.shareTotal){this.options.render(this,this.options);}};Plugin.prototype.renderer=function(){var total=this.options.total,template=this.options.template
|
35 |
-
hideCount=this.options.hideCount;if(hideCount){$(this.element).html('<div class="box no-count">'+
|
36 |
(this.options.title!==''?'<a class="share" href="#">'+this.options.title+'</a>':'')+'</div>');}
|
37 |
else{if(this.options.shorterTotal===true){total=this.shorterTotal(total);}
|
38 |
if(template!==''){template=template.replace('{total}',total);$(this.element).html(template);}
|
32 |
else{self.renderer();self.rendererPerso();}}).fail(function(){self.renderer();self.rendererPerso();});}
|
33 |
else{self.renderer();self.rendererPerso();}};Plugin.prototype.rendererPerso=function(){var shareCount=0;for(e in this.options.count){shareCount++;}
|
34 |
if(shareCount===this.options.shareTotal){this.options.render(this,this.options);}};Plugin.prototype.renderer=function(){var total=this.options.total,template=this.options.template
|
35 |
+
hideCount=this.options.hideCount;if(hideCount){$(this.element).html('<div class="box no-count"><a class="count" href="#"></a>'+
|
36 |
(this.options.title!==''?'<a class="share" href="#">'+this.options.title+'</a>':'')+'</div>');}
|
37 |
else{if(this.options.shorterTotal===true){total=this.shorterTotal(total);}
|
38 |
if(template!==''){template=template.replace('{total}',total);$(this.element).html(template);}
|
package.json
CHANGED
@@ -7,21 +7,21 @@
|
|
7 |
},
|
8 |
"dependencies": {},
|
9 |
"devDependencies": {
|
10 |
-
"grunt": "
|
11 |
-
"grunt-autoprefixer": "
|
12 |
-
"grunt-checktextdomain": "
|
13 |
-
"grunt-contrib-cssmin": "
|
14 |
-
"grunt-contrib-imagemin": "
|
15 |
-
"grunt-contrib-jshint": "
|
16 |
-
"grunt-contrib-uglify": "
|
17 |
-
"grunt-contrib-watch": "
|
18 |
-
"grunt-csscomb": "
|
19 |
-
"grunt-jsbeautifier": "
|
20 |
-
"grunt-jsvalidate": "
|
21 |
-
"grunt-phplint": "
|
22 |
-
"grunt-styledocco": "
|
23 |
-
"grunt-wp-i18n": "
|
24 |
-
"load-grunt-tasks": "
|
25 |
},
|
26 |
"plugin": {
|
27 |
"name": "Genesis Simple Share",
|
@@ -29,7 +29,7 @@
|
|
29 |
"description": "A simple sharing plugin using the Share script.",
|
30 |
"author": "StudioPress",
|
31 |
"authoruri": "http://www.studiopress.com/",
|
32 |
-
"version": "1.0.
|
33 |
"license": "GPL-2.0+",
|
34 |
"licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
|
35 |
"textdomain": "genesis-simple-share"
|
7 |
},
|
8 |
"dependencies": {},
|
9 |
"devDependencies": {
|
10 |
+
"grunt": "*",
|
11 |
+
"grunt-autoprefixer": "*",
|
12 |
+
"grunt-checktextdomain": "*",
|
13 |
+
"grunt-contrib-cssmin": "*",
|
14 |
+
"grunt-contrib-imagemin": "*",
|
15 |
+
"grunt-contrib-jshint": "*",
|
16 |
+
"grunt-contrib-uglify": "*",
|
17 |
+
"grunt-contrib-watch": "*",
|
18 |
+
"grunt-csscomb": "*",
|
19 |
+
"grunt-jsbeautifier": "*",
|
20 |
+
"grunt-jsvalidate": "*",
|
21 |
+
"grunt-phplint": "*",
|
22 |
+
"grunt-styledocco": "*",
|
23 |
+
"grunt-wp-i18n": "*",
|
24 |
+
"load-grunt-tasks": "*"
|
25 |
},
|
26 |
"plugin": {
|
27 |
"name": "Genesis Simple Share",
|
29 |
"description": "A simple sharing plugin using the Share script.",
|
30 |
"author": "StudioPress",
|
31 |
"authoruri": "http://www.studiopress.com/",
|
32 |
+
"version": "1.0.6",
|
33 |
"license": "GPL-2.0+",
|
34 |
"licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
|
35 |
"textdomain": "genesis-simple-share"
|
plugin.php
CHANGED
@@ -5,9 +5,9 @@ Plugin URI:
|
|
5 |
|
6 |
Description: A simple sharing plugin using the Share script.
|
7 |
|
8 |
-
Version: 1.0.
|
9 |
|
10 |
-
Author:
|
11 |
Author URI: http://www.copyblogger.com
|
12 |
|
13 |
Text Domain: genesis-simple-share
|
5 |
|
6 |
Description: A simple sharing plugin using the Share script.
|
7 |
|
8 |
+
Version: 1.0.6
|
9 |
|
10 |
+
Author: Rainmaker Digital LLC
|
11 |
Author URI: http://www.copyblogger.com
|
12 |
|
13 |
Text Domain: genesis-simple-share
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: nathanrice, studiopress, wpmuguru, nick_thegeek, bgardner
|
|
3 |
Tags: genesis, share, share buttons, facebook, twitter, pinterest, stumbleupon, linkedin, social
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 4.3.1
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -31,24 +31,27 @@ https://github.com/copyblogger/genesis-simple-share/wiki/Usage-Tips
|
|
31 |
|
32 |
== Changelog ==
|
33 |
|
|
|
|
|
|
|
34 |
= 1.0.5 =
|
35 |
-
* Fixed: styling issues following removal of tweet count
|
36 |
|
37 |
= 1.0.4 =
|
38 |
-
* Include a force to show argument in icon output functions
|
39 |
* Disabled Twitter counter for now because twitter is removing the ability to get the counts after 10-2015.
|
40 |
|
41 |
= 1.0.3 =
|
42 |
-
* Fix error resulting in double icon output
|
43 |
|
44 |
= 1.0.2 =
|
45 |
-
* Fix error where icons do not show in archives when showing the excerpt
|
46 |
|
47 |
= 1.0.1 =
|
48 |
-
* Fixes potential error where only first post in archive will show share buttons
|
49 |
|
50 |
= 1.0 =
|
51 |
-
* Initial WordPress.org release
|
52 |
|
53 |
== Upgrade Notice ==
|
54 |
|
3 |
Tags: genesis, share, share buttons, facebook, twitter, pinterest, stumbleupon, linkedin, social
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 4.3.1
|
6 |
+
Stable tag: 1.0.6
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
31 |
|
32 |
== Changelog ==
|
33 |
|
34 |
+
= 1.0.6 =
|
35 |
+
* Fixed: styling tweeks for twitter button without count.
|
36 |
+
|
37 |
= 1.0.5 =
|
38 |
+
* Fixed: styling issues following removal of tweet count.
|
39 |
|
40 |
= 1.0.4 =
|
41 |
+
* Include a force to show argument in icon output functions.
|
42 |
* Disabled Twitter counter for now because twitter is removing the ability to get the counts after 10-2015.
|
43 |
|
44 |
= 1.0.3 =
|
45 |
+
* Fix error resulting in double icon output.
|
46 |
|
47 |
= 1.0.2 =
|
48 |
+
* Fix error where icons do not show in archives when showing the excerpt.
|
49 |
|
50 |
= 1.0.1 =
|
51 |
+
* Fixes potential error where only first post in archive will show share buttons.
|
52 |
|
53 |
= 1.0 =
|
54 |
+
* Initial WordPress.org release.
|
55 |
|
56 |
== Upgrade Notice ==
|
57 |
|