Version Description
- Update textdomain, generate POT.
Download this release
Release Info
Developer | nathanrice |
Plugin | Simple Social Icons |
Version | 1.0.10 |
Comparing to | |
See all releases |
Code changes from version 1.0.14 to 1.0.10
- README.md +0 -22
- css/style.css +6 -16
- languages/simple-social-icons.pot +34 -98
- package.json +16 -16
- readme.txt +69 -81
- simple-social-icons.php +23 -40
README.md
CHANGED
@@ -4,7 +4,6 @@ Contributors:
|
|
4 |
* [Nathan Rice](https://github.com/nathanrice)
|
5 |
* [StudioPress](https://github.com/studiopress)
|
6 |
* [Brian Gardner](https://github.com/bgardner)
|
7 |
-
* [Shannon Hale](https://github.com/shannonsans)
|
8 |
|
9 |
### Description
|
10 |
|
@@ -89,24 +88,3 @@ NOTE - The rights to each pictogram in the social extension are either trademark
|
|
89 |
|
90 |
1.0.7
|
91 |
* Added Bloglovin icon
|
92 |
-
|
93 |
-
1.0.8
|
94 |
-
* Added border options
|
95 |
-
|
96 |
-
1.0.9
|
97 |
-
* PHP7 compatibility
|
98 |
-
|
99 |
-
1.0.10
|
100 |
-
* Update textdomain, generate POT
|
101 |
-
|
102 |
-
1.0.11
|
103 |
-
* Update enqueue version for stylesheet, for cache busting
|
104 |
-
|
105 |
-
1.0.12
|
106 |
-
* Prevent ModSecurity blocking fonts from loading
|
107 |
-
|
108 |
-
1.0.13
|
109 |
-
* Add textdomain loader
|
110 |
-
|
111 |
-
1.0.14
|
112 |
-
* Accessibility improvements: change icon color on focus as well as on hover, add text description for assistive technologies
|
4 |
* [Nathan Rice](https://github.com/nathanrice)
|
5 |
* [StudioPress](https://github.com/studiopress)
|
6 |
* [Brian Gardner](https://github.com/bgardner)
|
|
|
7 |
|
8 |
### Description
|
9 |
|
88 |
|
89 |
1.0.7
|
90 |
* Added Bloglovin icon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/style.css
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
@font-face {
|
2 |
font-family: 'ssi-icomoon';
|
3 |
-
src:url('../font/ssi-icomoon.eot
|
4 |
-
src:url('../font/ssi-icomoon.eot?#
|
5 |
-
url('../font/ssi-icomoon.woff
|
6 |
-
url('../font/ssi-icomoon.ttf
|
7 |
-
url('../font/ssi-icomoon.svg
|
8 |
font-weight: normal;
|
9 |
font-style: normal;
|
10 |
}
|
@@ -38,6 +38,7 @@
|
|
38 |
font-variant: normal !important;
|
39 |
font-weight: normal !important;
|
40 |
line-height: 1em;
|
|
|
41 |
text-align: center;
|
42 |
text-decoration: none !important;
|
43 |
text-transform: none !important;
|
@@ -54,14 +55,3 @@
|
|
54 |
display: inline-block;
|
55 |
float: none;
|
56 |
}
|
57 |
-
|
58 |
-
.simple-social-icons .screen-reader-text {
|
59 |
-
position: absolute;
|
60 |
-
width: 1px;
|
61 |
-
height: 1px;
|
62 |
-
padding: 0;
|
63 |
-
margin: -1px;
|
64 |
-
overflow: hidden;
|
65 |
-
clip: rect(0, 0, 0, 0);
|
66 |
-
border: 0;
|
67 |
-
}
|
1 |
@font-face {
|
2 |
font-family: 'ssi-icomoon';
|
3 |
+
src:url('../font/ssi-icomoon.eot?-texv9a');
|
4 |
+
src:url('../font/ssi-icomoon.eot?#iefix-texv9a') format('embedded-opentype'),
|
5 |
+
url('../font/ssi-icomoon.woff?-texv9a') format('woff'),
|
6 |
+
url('../font/ssi-icomoon.ttf?-texv9a') format('truetype'),
|
7 |
+
url('../font/ssi-icomoon.svg?-texv9a#ssi-icomoon') format('svg');
|
8 |
font-weight: normal;
|
9 |
font-style: normal;
|
10 |
}
|
38 |
font-variant: normal !important;
|
39 |
font-weight: normal !important;
|
40 |
line-height: 1em;
|
41 |
+
speak: none;
|
42 |
text-align: center;
|
43 |
text-decoration: none !important;
|
44 |
text-transform: none !important;
|
55 |
display: inline-block;
|
56 |
float: none;
|
57 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/simple-social-icons.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GNU General Public License v2.0 (or later).
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Simple Social Icons 1.0.
|
6 |
"Report-Msgid-Bugs-To: StudioPress <translations@studiopress.com>\n"
|
7 |
-
"POT-Creation-Date: 2015-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -24,135 +24,71 @@ msgstr ""
|
|
24 |
"X-Poedit-SearchPath-0: .\n"
|
25 |
"X-Textdomain-Support: yes\n"
|
26 |
|
27 |
-
#: simple-social-icons.php:
|
28 |
msgid "Bloglovin URI"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: simple-social-icons.php:
|
32 |
-
msgid "Bloglovin"
|
33 |
-
msgstr ""
|
34 |
-
|
35 |
-
#: simple-social-icons.php:128
|
36 |
msgid "Dribbble URI"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: simple-social-icons.php:
|
40 |
-
msgid "Dribbble"
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: simple-social-icons.php:132
|
44 |
msgid "Email URI"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: simple-social-icons.php:
|
48 |
-
msgid "Email"
|
49 |
-
msgstr ""
|
50 |
-
|
51 |
-
#: simple-social-icons.php:136
|
52 |
msgid "Facebook URI"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: simple-social-icons.php:
|
56 |
-
msgid "Facebook"
|
57 |
-
msgstr ""
|
58 |
-
|
59 |
-
#: simple-social-icons.php:140
|
60 |
msgid "Flickr URI"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: simple-social-icons.php:
|
64 |
-
msgid "Flickr"
|
65 |
-
msgstr ""
|
66 |
-
|
67 |
-
#: simple-social-icons.php:144
|
68 |
msgid "GitHub URI"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: simple-social-icons.php:
|
72 |
-
msgid "GitHub"
|
73 |
-
msgstr ""
|
74 |
-
|
75 |
-
#: simple-social-icons.php:148
|
76 |
msgid "Google+ URI"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: simple-social-icons.php:
|
80 |
-
msgid "Google+"
|
81 |
-
msgstr ""
|
82 |
-
|
83 |
-
#: simple-social-icons.php:152
|
84 |
msgid "Instagram URI"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: simple-social-icons.php:
|
88 |
-
msgid "Instagram"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: simple-social-icons.php:156
|
92 |
msgid "Linkedin URI"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: simple-social-icons.php:
|
96 |
-
msgid "Linkedin"
|
97 |
-
msgstr ""
|
98 |
-
|
99 |
-
#: simple-social-icons.php:160
|
100 |
msgid "Pinterest URI"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: simple-social-icons.php:
|
104 |
-
msgid "Pinterest"
|
105 |
-
msgstr ""
|
106 |
-
|
107 |
-
#: simple-social-icons.php:164
|
108 |
msgid "RSS URI"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: simple-social-icons.php:
|
112 |
-
msgid "RSS"
|
113 |
-
msgstr ""
|
114 |
-
|
115 |
-
#: simple-social-icons.php:168
|
116 |
msgid "StumbleUpon URI"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: simple-social-icons.php:
|
120 |
-
msgid "StumbleUpon"
|
121 |
-
msgstr ""
|
122 |
-
|
123 |
-
#: simple-social-icons.php:172
|
124 |
msgid "Tumblr URI"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: simple-social-icons.php:
|
128 |
-
msgid "Tumblr"
|
129 |
-
msgstr ""
|
130 |
-
|
131 |
-
#: simple-social-icons.php:176
|
132 |
msgid "Twitter URI"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: simple-social-icons.php:
|
136 |
-
msgid "Twitter"
|
137 |
-
msgstr ""
|
138 |
-
|
139 |
-
#: simple-social-icons.php:180
|
140 |
msgid "Vimeo URI"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: simple-social-icons.php:
|
144 |
-
msgid "Vimeo"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: simple-social-icons.php:184
|
148 |
msgid "YouTube URI"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: simple-social-icons.php:
|
152 |
-
msgid "YouTube"
|
153 |
-
msgstr ""
|
154 |
-
|
155 |
-
#: simple-social-icons.php:191
|
156 |
msgid "Displays select social icons."
|
157 |
msgstr ""
|
158 |
|
@@ -160,63 +96,63 @@ msgstr ""
|
|
160 |
msgid "Simple Social Icons"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: simple-social-icons.php:
|
164 |
msgid "Title:"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: simple-social-icons.php:
|
168 |
msgid "Open links in new window?"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: simple-social-icons.php:
|
172 |
msgid "Icon Size"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: simple-social-icons.php:
|
176 |
msgid "Icon Border Radius:"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: simple-social-icons.php:
|
180 |
msgid "Border Width:"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: simple-social-icons.php:
|
184 |
msgid "Alignment"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: simple-social-icons.php:
|
188 |
msgid "Align Left"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: simple-social-icons.php:
|
192 |
msgid "Align Center"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: simple-social-icons.php:
|
196 |
msgid "Align Right"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: simple-social-icons.php:
|
200 |
msgid "Icon Font Color:"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: simple-social-icons.php:
|
204 |
msgid "Icon Font Hover Color:"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: simple-social-icons.php:
|
208 |
msgid "Background Color:"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: simple-social-icons.php:
|
212 |
msgid "Background Hover Color:"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: simple-social-icons.php:
|
216 |
msgid "Border Color:"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: simple-social-icons.php:
|
220 |
msgid "Border Hover Color:"
|
221 |
msgstr ""
|
222 |
|
2 |
# This file is distributed under the GNU General Public License v2.0 (or later).
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Simple Social Icons 1.0.9\n"
|
6 |
"Report-Msgid-Bugs-To: StudioPress <translations@studiopress.com>\n"
|
7 |
+
"POT-Creation-Date: 2015-09-29 22:00:46+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
24 |
"X-Poedit-SearchPath-0: .\n"
|
25 |
"X-Textdomain-Support: yes\n"
|
26 |
|
27 |
+
#: simple-social-icons.php:113
|
28 |
msgid "Bloglovin URI"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: simple-social-icons.php:117
|
|
|
|
|
|
|
|
|
32 |
msgid "Dribbble URI"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: simple-social-icons.php:121
|
|
|
|
|
|
|
|
|
36 |
msgid "Email URI"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: simple-social-icons.php:125
|
|
|
|
|
|
|
|
|
40 |
msgid "Facebook URI"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: simple-social-icons.php:129
|
|
|
|
|
|
|
|
|
44 |
msgid "Flickr URI"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: simple-social-icons.php:133
|
|
|
|
|
|
|
|
|
48 |
msgid "GitHub URI"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: simple-social-icons.php:137
|
|
|
|
|
|
|
|
|
52 |
msgid "Google+ URI"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: simple-social-icons.php:141
|
|
|
|
|
|
|
|
|
56 |
msgid "Instagram URI"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: simple-social-icons.php:145
|
|
|
|
|
|
|
|
|
60 |
msgid "Linkedin URI"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: simple-social-icons.php:149
|
|
|
|
|
|
|
|
|
64 |
msgid "Pinterest URI"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: simple-social-icons.php:153
|
|
|
|
|
|
|
|
|
68 |
msgid "RSS URI"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: simple-social-icons.php:157
|
|
|
|
|
|
|
|
|
72 |
msgid "StumbleUpon URI"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: simple-social-icons.php:161
|
|
|
|
|
|
|
|
|
76 |
msgid "Tumblr URI"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: simple-social-icons.php:165
|
|
|
|
|
|
|
|
|
80 |
msgid "Twitter URI"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: simple-social-icons.php:169
|
|
|
|
|
|
|
|
|
84 |
msgid "Vimeo URI"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: simple-social-icons.php:173
|
|
|
|
|
|
|
|
|
88 |
msgid "YouTube URI"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: simple-social-icons.php:180
|
|
|
|
|
|
|
|
|
92 |
msgid "Displays select social icons."
|
93 |
msgstr ""
|
94 |
|
96 |
msgid "Simple Social Icons"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: simple-social-icons.php:265
|
100 |
msgid "Title:"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: simple-social-icons.php:267
|
104 |
msgid "Open links in new window?"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: simple-social-icons.php:269
|
108 |
msgid "Icon Size"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: simple-social-icons.php:271
|
112 |
msgid "Icon Border Radius:"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: simple-social-icons.php:273
|
116 |
msgid "Border Width:"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: simple-social-icons.php:276
|
120 |
msgid "Alignment"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: simple-social-icons.php:278
|
124 |
msgid "Align Left"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: simple-social-icons.php:279
|
128 |
msgid "Align Center"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: simple-social-icons.php:280
|
132 |
msgid "Align Right"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: simple-social-icons.php:286
|
136 |
msgid "Icon Font Color:"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: simple-social-icons.php:288
|
140 |
msgid "Icon Font Hover Color:"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: simple-social-icons.php:290
|
144 |
msgid "Background Color:"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: simple-social-icons.php:292
|
148 |
msgid "Background Hover Color:"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: simple-social-icons.php:294
|
152 |
msgid "Border Color:"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: simple-social-icons.php:296
|
156 |
msgid "Border Hover Color:"
|
157 |
msgstr ""
|
158 |
|
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": "Simple Social Icons",
|
@@ -29,7 +29,7 @@
|
|
29 |
"description": "A simple, CSS and icon font driven social icons widget.",
|
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": "simple-social-icons"
|
7 |
},
|
8 |
"dependencies": {},
|
9 |
"devDependencies": {
|
10 |
+
"grunt": "^0.4.5",
|
11 |
+
"grunt-autoprefixer": "^0.8.1",
|
12 |
+
"grunt-checktextdomain": "^0.1.1",
|
13 |
+
"grunt-contrib-cssmin": "^0.10.0",
|
14 |
+
"grunt-contrib-imagemin": "^0.7.1",
|
15 |
+
"grunt-contrib-jshint": "^0.10.0",
|
16 |
+
"grunt-contrib-uglify": "^0.5.0",
|
17 |
+
"grunt-contrib-watch": "^0.6.1",
|
18 |
+
"grunt-csscomb": "~2.0.1",
|
19 |
+
"grunt-jsbeautifier": "^0.2.7",
|
20 |
+
"grunt-jsvalidate": "^0.2.2",
|
21 |
+
"grunt-phplint": "0.0.5",
|
22 |
+
"grunt-styledocco": "^0.1.4",
|
23 |
+
"grunt-wp-i18n": "^0.5.3",
|
24 |
+
"load-grunt-tasks": "^3.3.0"
|
25 |
},
|
26 |
"plugin": {
|
27 |
"name": "Simple Social Icons",
|
29 |
"description": "A simple, CSS and icon font driven social icons widget.",
|
30 |
"author": "StudioPress",
|
31 |
"authoruri": "http://www.studiopress.com/",
|
32 |
+
"version": "1.0.10",
|
33 |
"license": "GPL-2.0+",
|
34 |
"licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
|
35 |
"textdomain": "simple-social-icons"
|
readme.txt
CHANGED
@@ -1,113 +1,101 @@
|
|
1 |
-
=== Plugin Name ===
|
2 |
-
Contributors: nathanrice, studiopress, bgardner
|
3 |
-
Tags: social media, social networking, social profiles
|
4 |
-
Requires at least: 4.0
|
5 |
-
Tested up to: 4.3
|
6 |
-
Stable tag: 1.0.
|
7 |
-
|
8 |
-
This plugin allows you to insert social icons in any widget area.
|
9 |
-
|
10 |
-
== Description ==
|
11 |
-
|
12 |
-
Simple Social Icons is an easy to use, customizable way to display icons that link visitors to your various social profiles. With it, you can easily choose which profiles to link to, customize the color and size of your icons, as well as align them to the left, center, or right, all from the widget form (no settings page necessary!).
|
13 |
-
|
14 |
-
== Installation ==
|
15 |
-
|
16 |
-
1. Upload the entire simple-social-icons folder to the /wp-content/plugins/ directory
|
17 |
-
1. Activate the plugin through the 'Plugins' menu in WordPress
|
18 |
-
1. In your Widgets menu, simply drag the widget labeled "Simple Social Icons" into a widgetized Area.
|
19 |
-
1. Configure the widget by choosing a title, icon size and color, and the URLs to your various social profiles.
|
20 |
-
|
21 |
-
== Frequently Asked Questions ==
|
22 |
-
|
23 |
-
= Can I reorder the icons? =
|
24 |
-
|
25 |
-
No, not at this time.
|
26 |
-
|
27 |
-
= Which services are included? =
|
28 |
-
|
29 |
-
* Bloglovin
|
30 |
-
* Dribbble
|
31 |
-
* Email
|
32 |
-
* Facebook
|
33 |
-
* Flickr
|
34 |
-
* Github
|
35 |
-
* Google+
|
36 |
-
* Instagram
|
37 |
-
* LinkedIn
|
38 |
-
* Pinterest
|
39 |
-
* RSS
|
40 |
-
* StumbleUpon
|
41 |
-
* Tumblr
|
42 |
-
* Twitter
|
43 |
-
* Vimeo
|
44 |
-
* YouTube
|
45 |
-
|
46 |
-
NOTE - The rights to each pictogram in the social extension are either trademarked or copyrighted by the respective company. Icons that are included in the social extension can be identified at http://www.entypo.com/.
|
47 |
-
|
48 |
-
== Changelog ==
|
49 |
-
|
50 |
-
= 1.0.14 =
|
51 |
-
* Accessibility improvements: change icon color on focus as well as on hover, add text description for assistive technologies
|
52 |
-
|
53 |
-
= 1.0.13 =
|
54 |
-
* Add textdomain loader
|
55 |
-
|
56 |
-
= 1.0.12 =
|
57 |
-
* Prevent ModSecurity blocking fonts from loading
|
58 |
-
|
59 |
-
= 1.0.11 =
|
60 |
-
* Update enqueue version for stylesheet, for cache busting
|
61 |
|
62 |
= 1.0.10 =
|
63 |
-
* Update textdomain, generate POT
|
64 |
|
65 |
-
= 1.0.9 =
|
66 |
* PHP7 compatibility
|
67 |
|
68 |
-
= 1.0.8 =
|
69 |
* Added border options
|
70 |
|
71 |
-
= 1.0.7 =
|
72 |
* Added Bloglovin icon
|
73 |
|
74 |
-
= 1.0.6 =
|
75 |
* Added filters
|
76 |
|
77 |
-
= 1.0.5 =
|
78 |
* Updated LICENSE.txt file to include social extension
|
79 |
|
80 |
-
= 1.0.4 =
|
81 |
* Updated version in enqueue script function
|
82 |
|
83 |
-
= 1.0.3 =
|
84 |
* Added Tumblr icon
|
85 |
|
86 |
-
= 1.0.2 =
|
87 |
* More specific in the CSS to avoid conflicts
|
88 |
|
89 |
-
= 1.0.1 =
|
90 |
* Made color and background color more specific in the CSS to avoid conflicts
|
91 |
|
92 |
-
= 1.0.0 =
|
93 |
* Switched to icon fonts, rather than images
|
94 |
|
95 |
-
= 0.9.5 =
|
96 |
* Added Instagram icon
|
97 |
|
98 |
-
= 0.9.4 =
|
99 |
-
* Added YouTube icon
|
100 |
* Added bottom margin to icons
|
101 |
|
102 |
-
= 0.9.3 =
|
103 |
* Fixed CSS conflict in some themes
|
104 |
|
105 |
-
= 0.9.2 =
|
106 |
-
* Added new profile options
|
107 |
* Changed default border radius to 3px
|
108 |
|
109 |
-
= 0.9.1 =
|
110 |
* Fixed some styling issues
|
111 |
-
|
112 |
-
= 0.9.0 =
|
113 |
-
* Initial Beta Release
|
1 |
+
=== Plugin Name ===
|
2 |
+
Contributors: nathanrice, studiopress, bgardner
|
3 |
+
Tags: social media, social networking, social profiles
|
4 |
+
Requires at least: 4.0
|
5 |
+
Tested up to: 4.3
|
6 |
+
Stable tag: 1.0.10
|
7 |
+
|
8 |
+
This plugin allows you to insert social icons in any widget area.
|
9 |
+
|
10 |
+
== Description ==
|
11 |
+
|
12 |
+
Simple Social Icons is an easy to use, customizable way to display icons that link visitors to your various social profiles. With it, you can easily choose which profiles to link to, customize the color and size of your icons, as well as align them to the left, center, or right, all from the widget form (no settings page necessary!).
|
13 |
+
|
14 |
+
== Installation ==
|
15 |
+
|
16 |
+
1. Upload the entire simple-social-icons folder to the /wp-content/plugins/ directory
|
17 |
+
1. Activate the plugin through the 'Plugins' menu in WordPress
|
18 |
+
1. In your Widgets menu, simply drag the widget labeled "Simple Social Icons" into a widgetized Area.
|
19 |
+
1. Configure the widget by choosing a title, icon size and color, and the URLs to your various social profiles.
|
20 |
+
|
21 |
+
== Frequently Asked Questions ==
|
22 |
+
|
23 |
+
= Can I reorder the icons? =
|
24 |
+
|
25 |
+
No, not at this time.
|
26 |
+
|
27 |
+
= Which services are included? =
|
28 |
+
|
29 |
+
* Bloglovin
|
30 |
+
* Dribbble
|
31 |
+
* Email
|
32 |
+
* Facebook
|
33 |
+
* Flickr
|
34 |
+
* Github
|
35 |
+
* Google+
|
36 |
+
* Instagram
|
37 |
+
* LinkedIn
|
38 |
+
* Pinterest
|
39 |
+
* RSS
|
40 |
+
* StumbleUpon
|
41 |
+
* Tumblr
|
42 |
+
* Twitter
|
43 |
+
* Vimeo
|
44 |
+
* YouTube
|
45 |
+
|
46 |
+
NOTE - The rights to each pictogram in the social extension are either trademarked or copyrighted by the respective company. Icons that are included in the social extension can be identified at http://www.entypo.com/.
|
47 |
+
|
48 |
+
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
= 1.0.10 =
|
51 |
+
* Update textdomain, generate POT.
|
52 |
|
53 |
+
= 1.0.9 =
|
54 |
* PHP7 compatibility
|
55 |
|
56 |
+
= 1.0.8 =
|
57 |
* Added border options
|
58 |
|
59 |
+
= 1.0.7 =
|
60 |
* Added Bloglovin icon
|
61 |
|
62 |
+
= 1.0.6 =
|
63 |
* Added filters
|
64 |
|
65 |
+
= 1.0.5 =
|
66 |
* Updated LICENSE.txt file to include social extension
|
67 |
|
68 |
+
= 1.0.4 =
|
69 |
* Updated version in enqueue script function
|
70 |
|
71 |
+
= 1.0.3 =
|
72 |
* Added Tumblr icon
|
73 |
|
74 |
+
= 1.0.2 =
|
75 |
* More specific in the CSS to avoid conflicts
|
76 |
|
77 |
+
= 1.0.1 =
|
78 |
* Made color and background color more specific in the CSS to avoid conflicts
|
79 |
|
80 |
+
= 1.0.0 =
|
81 |
* Switched to icon fonts, rather than images
|
82 |
|
83 |
+
= 0.9.5 =
|
84 |
* Added Instagram icon
|
85 |
|
86 |
+
= 0.9.4 =
|
87 |
+
* Added YouTube icon
|
88 |
* Added bottom margin to icons
|
89 |
|
90 |
+
= 0.9.3 =
|
91 |
* Fixed CSS conflict in some themes
|
92 |
|
93 |
+
= 0.9.2 =
|
94 |
+
* Added new profile options
|
95 |
* Changed default border radius to 3px
|
96 |
|
97 |
+
= 0.9.1 =
|
98 |
* Fixed some styling issues
|
99 |
+
|
100 |
+
= 0.9.0 =
|
101 |
+
* Initial Beta Release
|
simple-social-icons.php
CHANGED
@@ -6,23 +6,12 @@ Description: A simple, CSS and icon font driven social icons widget.
|
|
6 |
Author: Nathan Rice
|
7 |
Author URI: http://www.nathanrice.net/
|
8 |
|
9 |
-
Version: 1.0.
|
10 |
-
|
11 |
-
Text Domain: simple-social-icons
|
12 |
-
Domain Path: /languages
|
13 |
|
14 |
License: GNU General Public License v2.0 (or later)
|
15 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
16 |
*/
|
17 |
|
18 |
-
add_action( 'plugins_loaded', 'simple_social_icons_load_textdomain' );
|
19 |
-
/**
|
20 |
-
* Load textdomain
|
21 |
-
*/
|
22 |
-
function simple_social_icons_load_textdomain() {
|
23 |
-
load_plugin_textdomain( 'simple-social-icons', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
|
24 |
-
}
|
25 |
-
|
26 |
class Simple_Social_Icons_Widget extends WP_Widget {
|
27 |
|
28 |
/**
|
@@ -122,67 +111,67 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
122 |
$this->profiles = apply_filters( 'simple_social_default_profiles', array(
|
123 |
'bloglovin' => array(
|
124 |
'label' => __( 'Bloglovin URI', 'simple-social-icons' ),
|
125 |
-
'pattern' => '<li class="social-bloglovin"><a href="%s" %s
|
126 |
),
|
127 |
'dribbble' => array(
|
128 |
'label' => __( 'Dribbble URI', 'simple-social-icons' ),
|
129 |
-
'pattern' => '<li class="social-dribbble"><a href="%s" %s
|
130 |
),
|
131 |
'email' => array(
|
132 |
'label' => __( 'Email URI', 'simple-social-icons' ),
|
133 |
-
'pattern' => '<li class="social-email"><a href="%s" %s
|
134 |
),
|
135 |
'facebook' => array(
|
136 |
'label' => __( 'Facebook URI', 'simple-social-icons' ),
|
137 |
-
'pattern' => '<li class="social-facebook"><a href="%s" %s
|
138 |
),
|
139 |
'flickr' => array(
|
140 |
'label' => __( 'Flickr URI', 'simple-social-icons' ),
|
141 |
-
'pattern' => '<li class="social-flickr"><a href="%s" %s
|
142 |
),
|
143 |
'github' => array(
|
144 |
'label' => __( 'GitHub URI', 'simple-social-icons' ),
|
145 |
-
'pattern' => '<li class="social-github"><a href="%s" %s
|
146 |
),
|
147 |
'gplus' => array(
|
148 |
'label' => __( 'Google+ URI', 'simple-social-icons' ),
|
149 |
-
'pattern' => '<li class="social-gplus"><a href="%s" %s
|
150 |
),
|
151 |
'instagram' => array(
|
152 |
'label' => __( 'Instagram URI', 'simple-social-icons' ),
|
153 |
-
'pattern' => '<li class="social-instagram"><a href="%s" %s
|
154 |
),
|
155 |
'linkedin' => array(
|
156 |
'label' => __( 'Linkedin URI', 'simple-social-icons' ),
|
157 |
-
'pattern' => '<li class="social-linkedin"><a href="%s" %s
|
158 |
),
|
159 |
'pinterest' => array(
|
160 |
'label' => __( 'Pinterest URI', 'simple-social-icons' ),
|
161 |
-
'pattern' => '<li class="social-pinterest"><a href="%s" %s
|
162 |
),
|
163 |
'rss' => array(
|
164 |
'label' => __( 'RSS URI', 'simple-social-icons' ),
|
165 |
-
'pattern' => '<li class="social-rss"><a href="%s" %s
|
166 |
),
|
167 |
'stumbleupon' => array(
|
168 |
'label' => __( 'StumbleUpon URI', 'simple-social-icons' ),
|
169 |
-
'pattern' => '<li class="social-stumbleupon"><a href="%s" %s
|
170 |
),
|
171 |
'tumblr' => array(
|
172 |
'label' => __( 'Tumblr URI', 'simple-social-icons' ),
|
173 |
-
'pattern' => '<li class="social-tumblr"><a href="%s" %s
|
174 |
),
|
175 |
'twitter' => array(
|
176 |
'label' => __( 'Twitter URI', 'simple-social-icons' ),
|
177 |
-
'pattern' => '<li class="social-twitter"><a href="%s" %s
|
178 |
),
|
179 |
'vimeo' => array(
|
180 |
'label' => __( 'Vimeo URI', 'simple-social-icons' ),
|
181 |
-
'pattern' => '<li class="social-vimeo"><a href="%s" %s
|
182 |
),
|
183 |
'youtube' => array(
|
184 |
'label' => __( 'YouTube URI', 'simple-social-icons' ),
|
185 |
-
'pattern' => '<li class="social-youtube"><a href="%s" %s
|
186 |
),
|
187 |
) );
|
188 |
|
@@ -208,7 +197,7 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
208 |
add_action( 'admin_footer-widgets.php', array( $this, 'print_scripts' ), 9999 );
|
209 |
|
210 |
}
|
211 |
-
|
212 |
/**
|
213 |
* Color Picker.
|
214 |
*
|
@@ -222,7 +211,7 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
222 |
wp_enqueue_script( 'wp-color-picker' );
|
223 |
wp_enqueue_script( 'underscore' );
|
224 |
}
|
225 |
-
|
226 |
/**
|
227 |
* Print scripts.
|
228 |
*
|
@@ -232,7 +221,7 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
232 |
function print_scripts() {
|
233 |
?>
|
234 |
<script>
|
235 |
-
( function( $ ){
|
236 |
function initColorPicker( widget ) {
|
237 |
widget.find( '.ssiw-color-picker' ).wpColorPicker( {
|
238 |
change: function ( event ) {
|
@@ -401,7 +390,7 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
401 |
|
402 |
$cssfile = apply_filters( 'simple_social_default_css', plugin_dir_url( __FILE__ ) . 'css/style.css' );
|
403 |
|
404 |
-
wp_enqueue_style( 'simple-social-icons-font', esc_url( $cssfile ), array(), '1.0.
|
405 |
}
|
406 |
|
407 |
/**
|
@@ -425,8 +414,7 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
425 |
/** The CSS to output */
|
426 |
$css = '
|
427 |
.simple-social-icons ul li a,
|
428 |
-
.simple-social-icons ul li a:hover
|
429 |
-
.simple-social-icons ul li a:focus {
|
430 |
background-color: ' . $instance['background_color'] . ' !important;
|
431 |
border-radius: ' . $instance['border_radius'] . 'px;
|
432 |
color: ' . $instance['icon_color'] . ' !important;
|
@@ -435,15 +423,10 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
435 |
padding: ' . $icon_padding . 'px;
|
436 |
}
|
437 |
|
438 |
-
.simple-social-icons ul li a:hover
|
439 |
-
.simple-social-icons ul li a:focus {
|
440 |
background-color: ' . $instance['background_color_hover'] . ' !important;
|
441 |
border-color: ' . $instance['border_color_hover'] . ' !important;
|
442 |
color: ' . $instance['icon_color_hover'] . ' !important;
|
443 |
-
}
|
444 |
-
|
445 |
-
.simple-social-icons ul li a:focus {
|
446 |
-
outline: 1px dotted ' . $instance['background_color_hover'] . ' !important;
|
447 |
}';
|
448 |
|
449 |
/** Minify a bit */
|
6 |
Author: Nathan Rice
|
7 |
Author URI: http://www.nathanrice.net/
|
8 |
|
9 |
+
Version: 1.0.10
|
|
|
|
|
|
|
10 |
|
11 |
License: GNU General Public License v2.0 (or later)
|
12 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
13 |
*/
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
class Simple_Social_Icons_Widget extends WP_Widget {
|
16 |
|
17 |
/**
|
111 |
$this->profiles = apply_filters( 'simple_social_default_profiles', array(
|
112 |
'bloglovin' => array(
|
113 |
'label' => __( 'Bloglovin URI', 'simple-social-icons' ),
|
114 |
+
'pattern' => '<li class="social-bloglovin"><a href="%s" %s>' . $this->glyphs['bloglovin'] . '</a></li>',
|
115 |
),
|
116 |
'dribbble' => array(
|
117 |
'label' => __( 'Dribbble URI', 'simple-social-icons' ),
|
118 |
+
'pattern' => '<li class="social-dribbble"><a href="%s" %s>' . $this->glyphs['dribbble'] . '</a></li>',
|
119 |
),
|
120 |
'email' => array(
|
121 |
'label' => __( 'Email URI', 'simple-social-icons' ),
|
122 |
+
'pattern' => '<li class="social-email"><a href="%s" %s>' . $this->glyphs['email'] . '</a></li>',
|
123 |
),
|
124 |
'facebook' => array(
|
125 |
'label' => __( 'Facebook URI', 'simple-social-icons' ),
|
126 |
+
'pattern' => '<li class="social-facebook"><a href="%s" %s>' . $this->glyphs['facebook'] . '</a></li>',
|
127 |
),
|
128 |
'flickr' => array(
|
129 |
'label' => __( 'Flickr URI', 'simple-social-icons' ),
|
130 |
+
'pattern' => '<li class="social-flickr"><a href="%s" %s>' . $this->glyphs['flickr'] . '</a></li>',
|
131 |
),
|
132 |
'github' => array(
|
133 |
'label' => __( 'GitHub URI', 'simple-social-icons' ),
|
134 |
+
'pattern' => '<li class="social-github"><a href="%s" %s>' . $this->glyphs['github'] . '</a></li>',
|
135 |
),
|
136 |
'gplus' => array(
|
137 |
'label' => __( 'Google+ URI', 'simple-social-icons' ),
|
138 |
+
'pattern' => '<li class="social-gplus"><a href="%s" %s>' . $this->glyphs['gplus'] . '</a></li>',
|
139 |
),
|
140 |
'instagram' => array(
|
141 |
'label' => __( 'Instagram URI', 'simple-social-icons' ),
|
142 |
+
'pattern' => '<li class="social-instagram"><a href="%s" %s>' . $this->glyphs['instagram'] . '</a></li>',
|
143 |
),
|
144 |
'linkedin' => array(
|
145 |
'label' => __( 'Linkedin URI', 'simple-social-icons' ),
|
146 |
+
'pattern' => '<li class="social-linkedin"><a href="%s" %s>' . $this->glyphs['linkedin'] . '</a></li>',
|
147 |
),
|
148 |
'pinterest' => array(
|
149 |
'label' => __( 'Pinterest URI', 'simple-social-icons' ),
|
150 |
+
'pattern' => '<li class="social-pinterest"><a href="%s" %s>' . $this->glyphs['pinterest'] . '</a></li>',
|
151 |
),
|
152 |
'rss' => array(
|
153 |
'label' => __( 'RSS URI', 'simple-social-icons' ),
|
154 |
+
'pattern' => '<li class="social-rss"><a href="%s" %s>' . $this->glyphs['rss'] . '</a></li>',
|
155 |
),
|
156 |
'stumbleupon' => array(
|
157 |
'label' => __( 'StumbleUpon URI', 'simple-social-icons' ),
|
158 |
+
'pattern' => '<li class="social-stumbleupon"><a href="%s" %s>' . $this->glyphs['stumbleupon'] . '</a></li>',
|
159 |
),
|
160 |
'tumblr' => array(
|
161 |
'label' => __( 'Tumblr URI', 'simple-social-icons' ),
|
162 |
+
'pattern' => '<li class="social-tumblr"><a href="%s" %s>' . $this->glyphs['tumblr'] . '</a></li>',
|
163 |
),
|
164 |
'twitter' => array(
|
165 |
'label' => __( 'Twitter URI', 'simple-social-icons' ),
|
166 |
+
'pattern' => '<li class="social-twitter"><a href="%s" %s>' . $this->glyphs['twitter'] . '</a></li>',
|
167 |
),
|
168 |
'vimeo' => array(
|
169 |
'label' => __( 'Vimeo URI', 'simple-social-icons' ),
|
170 |
+
'pattern' => '<li class="social-vimeo"><a href="%s" %s>' . $this->glyphs['vimeo'] . '</a></li>',
|
171 |
),
|
172 |
'youtube' => array(
|
173 |
'label' => __( 'YouTube URI', 'simple-social-icons' ),
|
174 |
+
'pattern' => '<li class="social-youtube"><a href="%s" %s>' . $this->glyphs['youtube'] . '</a></li>',
|
175 |
),
|
176 |
) );
|
177 |
|
197 |
add_action( 'admin_footer-widgets.php', array( $this, 'print_scripts' ), 9999 );
|
198 |
|
199 |
}
|
200 |
+
|
201 |
/**
|
202 |
* Color Picker.
|
203 |
*
|
211 |
wp_enqueue_script( 'wp-color-picker' );
|
212 |
wp_enqueue_script( 'underscore' );
|
213 |
}
|
214 |
+
|
215 |
/**
|
216 |
* Print scripts.
|
217 |
*
|
221 |
function print_scripts() {
|
222 |
?>
|
223 |
<script>
|
224 |
+
( function( $ ){
|
225 |
function initColorPicker( widget ) {
|
226 |
widget.find( '.ssiw-color-picker' ).wpColorPicker( {
|
227 |
change: function ( event ) {
|
390 |
|
391 |
$cssfile = apply_filters( 'simple_social_default_css', plugin_dir_url( __FILE__ ) . 'css/style.css' );
|
392 |
|
393 |
+
wp_enqueue_style( 'simple-social-icons-font', esc_url( $cssfile ), array(), '1.0.5', 'all' );
|
394 |
}
|
395 |
|
396 |
/**
|
414 |
/** The CSS to output */
|
415 |
$css = '
|
416 |
.simple-social-icons ul li a,
|
417 |
+
.simple-social-icons ul li a:hover {
|
|
|
418 |
background-color: ' . $instance['background_color'] . ' !important;
|
419 |
border-radius: ' . $instance['border_radius'] . 'px;
|
420 |
color: ' . $instance['icon_color'] . ' !important;
|
423 |
padding: ' . $icon_padding . 'px;
|
424 |
}
|
425 |
|
426 |
+
.simple-social-icons ul li a:hover {
|
|
|
427 |
background-color: ' . $instance['background_color_hover'] . ' !important;
|
428 |
border-color: ' . $instance['border_color_hover'] . ' !important;
|
429 |
color: ' . $instance['icon_color_hover'] . ' !important;
|
|
|
|
|
|
|
|
|
430 |
}';
|
431 |
|
432 |
/** Minify a bit */
|