Version Description
Download this release
Release Info
Developer | nisbetcreative |
Plugin | Social Icons Widget |
Version | 16.04 |
Comparing to | |
See all releases |
Code changes from version 15.10 to 16.04
- css/social_icons_widget.css +5 -25
- readme.txt +39 -31
- social-media-icons-widget.php +2 -2
css/social_icons_widget.css
CHANGED
@@ -1,25 +1,5 @@
|
|
1 |
-
.social-icons-widget ul {
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
}
|
7 |
-
|
8 |
-
.social-icons-widget ul li {
|
9 |
-
float:left;
|
10 |
-
margin:0 10px 10px 0;
|
11 |
-
}
|
12 |
-
|
13 |
-
.social-icons-widget ul li a {
|
14 |
-
margin:0;
|
15 |
-
}
|
16 |
-
|
17 |
-
.social-icons-widget ul.show-labels li {
|
18 |
-
float:none;
|
19 |
-
}
|
20 |
-
|
21 |
-
.social-icons-widget ul.show-labels li img {
|
22 |
-
float:left;
|
23 |
-
margin-right:10px;
|
24 |
-
vertical-align:middle;
|
25 |
-
}
|
1 |
+
.social-icons-widget ul { list-style-type:none; margin:0 0 15px; width:100%; }
|
2 |
+
.social-icons-widget ul li { display:inline-block; margin:0 6px 10px 0; }
|
3 |
+
.social-icons-widget ul.show-labels li { display:block; }
|
4 |
+
.social-icons-widget ul li a { margin:0; }
|
5 |
+
.social-icons-widget ul.show-labels li img { margin-right:10px; vertical-align:middle; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: dannisbet, nisbetcreative
|
|
3 |
Tags: social, media, widget, follow, profile, icons, 500px, About.me, Behance, Dribbble, Codepen, Email, Envato, Facebook, Flickr, FourSquare, GitHub, Google+, Instagram, Kickstarter, Klout, LinkedIn, Medium, Path, Pinterest, RSS, Speaker Deck, StumbleUpon, Technorati, Tumblr, Twitter, Vimeo, Vine, WordPress, Yelp, YouTube, Zerply
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CJN7XU3Z7XHDL
|
5 |
Requires at least: 3.5.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag:
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -55,17 +55,17 @@ Output of each icon can be adjusted with the social_icon_output filter:
|
|
55 |
|
56 |
The opening and closing unordered list tags can be edited or changed with the social_icon_opening_tag and social_icon_closing_tag filters:
|
57 |
|
58 |
-
function
|
59 |
$opening = '<ul class="'.$ul_class.'">';
|
60 |
return $opening;
|
61 |
}
|
62 |
-
add_filter('
|
63 |
|
64 |
-
function
|
65 |
$closing = '</ul>';
|
66 |
return $closing;
|
67 |
}
|
68 |
-
add_filter('
|
69 |
|
70 |
== Screenshots ==
|
71 |
|
@@ -75,58 +75,66 @@ The opening and closing unordered list tags can be edited or changed with the so
|
|
75 |
== Changelog ==
|
76 |
|
77 |
= 15.10 =
|
78 |
-
*
|
|
|
|
|
|
|
|
|
79 |
|
80 |
= 15.07 =
|
81 |
-
* Replaced http:// in unused input boxes with placeholder attribute instead
|
82 |
-
* Added CSS for icons in widget settings
|
83 |
-
* Updated the way icon path for custom icons is generated to stop conflicts with multilingual plugins
|
84 |
|
85 |
= 15.06 =
|
86 |
-
* Fixed Undefined index errors
|
87 |
-
* Removed Technorati profile field
|
88 |
-
* Added dailymotion and Twitch profile fields
|
89 |
|
90 |
= 14.10 =
|
91 |
-
* Added Soundcloud to default list of services
|
92 |
-
* Implemented slash fix for those running the plugin on XAMMP/Windows (Thanks VictoriousK)
|
93 |
|
94 |
= 14.08 =
|
95 |
-
* Added prefixes to PHP variables to prevent conflicts with other plugins
|
96 |
|
97 |
= 14.07 =
|
98 |
-
* Added 500px, Codepen, Envato, Kickstarter, Speaker Deck, Vine
|
99 |
-
* Removed Forrst
|
100 |
-
* Added ability to filter opening, closing tags and HTML for icon output
|
101 |
-
* Added target="_blank" for links to open in a new window by default
|
102 |
|
103 |
= 14.05 =
|
104 |
-
* Fixed broken image links when WordPress is installed under a directory
|
105 |
|
106 |
= 14.04 =
|
107 |
-
* Added new options for About.me, Email, GitHub, Medium, and WordPress profile links
|
108 |
-
* Updated all icons to Simple Icons set
|
109 |
|
110 |
= 14.03 =
|
111 |
-
* Removed @getimagesize function for compatibility purposes
|
112 |
-
* New accounts are now added via WordPress filter rather than editing core plugin code
|
113 |
|
114 |
= 13.05 =
|
115 |
-
* Fixed image and CSS paths
|
116 |
|
117 |
= 13.04 =
|
118 |
-
* Initial commit
|
119 |
|
120 |
= trunk =
|
121 |
-
* Initial commit
|
122 |
|
123 |
== Upgrade Notice ==
|
124 |
|
|
|
|
|
|
|
|
|
125 |
= 14.03 =
|
126 |
-
Removed @getimagesize function for compatibility purposes. New accounts are now added via WordPress filter rather than editing core plugin code
|
127 |
|
128 |
= 13.05 =
|
129 |
-
Fixed image and CSS paths
|
130 |
|
131 |
= 13.04 =
|
132 |
-
Initial commit to WordPress plugin repository
|
3 |
Tags: social, media, widget, follow, profile, icons, 500px, About.me, Behance, Dribbble, Codepen, Email, Envato, Facebook, Flickr, FourSquare, GitHub, Google+, Instagram, Kickstarter, Klout, LinkedIn, Medium, Path, Pinterest, RSS, Speaker Deck, StumbleUpon, Technorati, Tumblr, Twitter, Vimeo, Vine, WordPress, Yelp, YouTube, Zerply
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CJN7XU3Z7XHDL
|
5 |
Requires at least: 3.5.1
|
6 |
+
Tested up to: 4.5
|
7 |
+
Stable tag: 16.04
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
55 |
|
56 |
The opening and closing unordered list tags can be edited or changed with the social_icon_opening_tag and social_icon_closing_tag filters:
|
57 |
|
58 |
+
function social_icons_change_opening($opening) {
|
59 |
$opening = '<ul class="'.$ul_class.'">';
|
60 |
return $opening;
|
61 |
}
|
62 |
+
add_filter('social_icon_opening_tag', 'social_icons_change_opening');
|
63 |
|
64 |
+
function social_icons_change_closing($closing) {
|
65 |
$closing = '</ul>';
|
66 |
return $closing;
|
67 |
}
|
68 |
+
add_filter('social_icon_closing_tag', 'social_icons_change_closing');
|
69 |
|
70 |
== Screenshots ==
|
71 |
|
75 |
== Changelog ==
|
76 |
|
77 |
= 15.10 =
|
78 |
+
* Removed all of the floats in favor of display:inline-block instead
|
79 |
+
* Style now queues above theme's style.css in most themes
|
80 |
+
|
81 |
+
= 15.10 =
|
82 |
+
* Fix error with WPML where changing languages broke the icon path
|
83 |
|
84 |
= 15.07 =
|
85 |
+
* Replaced http:// in unused input boxes with placeholder attribute instead
|
86 |
+
* Added CSS for icons in widget settings
|
87 |
+
* Updated the way icon path for custom icons is generated to stop conflicts with multilingual plugins
|
88 |
|
89 |
= 15.06 =
|
90 |
+
* Fixed Undefined index errors
|
91 |
+
* Removed Technorati profile field
|
92 |
+
* Added dailymotion and Twitch profile fields
|
93 |
|
94 |
= 14.10 =
|
95 |
+
* Added Soundcloud to default list of services
|
96 |
+
* Implemented slash fix for those running the plugin on XAMMP/Windows (Thanks VictoriousK)
|
97 |
|
98 |
= 14.08 =
|
99 |
+
* Added prefixes to PHP variables to prevent conflicts with other plugins
|
100 |
|
101 |
= 14.07 =
|
102 |
+
* Added 500px, Codepen, Envato, Kickstarter, Speaker Deck, Vine
|
103 |
+
* Removed Forrst
|
104 |
+
* Added ability to filter opening, closing tags and HTML for icon output
|
105 |
+
* Added target="_blank" for links to open in a new window by default
|
106 |
|
107 |
= 14.05 =
|
108 |
+
* Fixed broken image links when WordPress is installed under a directory
|
109 |
|
110 |
= 14.04 =
|
111 |
+
* Added new options for About.me, Email, GitHub, Medium, and WordPress profile links
|
112 |
+
* Updated all icons to Simple Icons set
|
113 |
|
114 |
= 14.03 =
|
115 |
+
* Removed @getimagesize function for compatibility purposes
|
116 |
+
* New accounts are now added via WordPress filter rather than editing core plugin code
|
117 |
|
118 |
= 13.05 =
|
119 |
+
* Fixed image and CSS paths
|
120 |
|
121 |
= 13.04 =
|
122 |
+
* Initial commit
|
123 |
|
124 |
= trunk =
|
125 |
+
* Initial commit
|
126 |
|
127 |
== Upgrade Notice ==
|
128 |
|
129 |
+
= 15.10 =
|
130 |
+
* Removed all of the floats in favor of display:inline-block instead
|
131 |
+
* Style now queues above theme's style.css in most themes
|
132 |
+
|
133 |
= 14.03 =
|
134 |
+
Removed @getimagesize function for compatibility purposes. New accounts are now added via WordPress filter rather than editing core plugin code
|
135 |
|
136 |
= 13.05 =
|
137 |
+
Fixed image and CSS paths
|
138 |
|
139 |
= 13.04 =
|
140 |
+
Initial commit to WordPress plugin repository
|
social-media-icons-widget.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Social Icons Widget
|
4 |
Plugin URI: http://github.com/dannisbet/Social-Icons-Widget
|
5 |
-
Version:
|
6 |
Description: Displays a list of social media website icons and a link to your profile.
|
7 |
Author: Daniel Nisbet
|
8 |
Author URI: https://nisbetcreative.com/
|
@@ -25,7 +25,7 @@ class Social_Icons_Widget extends WP_Widget {
|
|
25 |
|
26 |
// Register Stylesheets
|
27 |
add_action('admin_print_styles', array($this, 'register_admin_styles'));
|
28 |
-
add_action('wp_enqueue_scripts', array($this, 'register_widget_styles'));
|
29 |
|
30 |
include('lib/social-networks.php');
|
31 |
}
|
2 |
/*
|
3 |
Plugin Name: Social Icons Widget
|
4 |
Plugin URI: http://github.com/dannisbet/Social-Icons-Widget
|
5 |
+
Version: 16.04
|
6 |
Description: Displays a list of social media website icons and a link to your profile.
|
7 |
Author: Daniel Nisbet
|
8 |
Author URI: https://nisbetcreative.com/
|
25 |
|
26 |
// Register Stylesheets
|
27 |
add_action('admin_print_styles', array($this, 'register_admin_styles'));
|
28 |
+
add_action('wp_enqueue_scripts', array($this, 'register_widget_styles'), 5);
|
29 |
|
30 |
include('lib/social-networks.php');
|
31 |
}
|