Version Description
Download this release
Release Info
Developer | brianfreytag |
Plugin | Social Media Widget |
Version | 1.2.7 |
Comparing to | |
See all releases |
Code changes from version 1.2.6 to 1.2.7
- readme.txt +4 -2
- social-widget.php +12 -12
- social_widget.css +2 -3
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Brian Freytag
|
|
3 |
Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me
|
4 |
Requires at least: 2.9.1
|
5 |
Tested up to: 3.0
|
6 |
-
Stable tag: 1.2.
|
7 |
|
8 |
== Description ==
|
9 |
|
@@ -36,7 +36,7 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
|
|
36 |
* Cutout - Icontexto Inside Icons at: http://www.iconspedia.com/pack/icontexto-inside-2222/
|
37 |
|
38 |
* Ability to choose starting icon opacity from 50% opacity to 100% opacity
|
39 |
-
note: on hover, icons are 100% opaque
|
40 |
|
41 |
* Ability to choose whether or not to use the rel="nofollow" tag in your links. (Recommended see http://en.wikipedia.org/wiki/Nofollow)
|
42 |
|
@@ -61,6 +61,8 @@ Follow the steps below to install the plugin.
|
|
61 |
For help, you can send an e-mail to brifreytag_at_gmail.com or get ahold of me via twitter at @brianfreytag
|
62 |
|
63 |
== Changelog ==
|
|
|
|
|
64 |
1.2.6 - Added ability to add rel="nofollow" to icon links. Also added a Donate button due to the massive time commitment of this plugin.
|
65 |
|
66 |
1.2.5 - Updated readme.txt to improve visibility and adding screenshots
|
3 |
Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me
|
4 |
Requires at least: 2.9.1
|
5 |
Tested up to: 3.0
|
6 |
+
Stable tag: 1.2.7
|
7 |
|
8 |
== Description ==
|
9 |
|
36 |
* Cutout - Icontexto Inside Icons at: http://www.iconspedia.com/pack/icontexto-inside-2222/
|
37 |
|
38 |
* Ability to choose starting icon opacity from 50% opacity to 100% opacity
|
39 |
+
note: on hover, icons are 100% opaque. Does not work in Internet Explorer due to bad transparent .png support. IE6+ made the buttons look terrible in most cases (black border around the icons) - removed alpha filter to fix this.
|
40 |
|
41 |
* Ability to choose whether or not to use the rel="nofollow" tag in your links. (Recommended see http://en.wikipedia.org/wiki/Nofollow)
|
42 |
|
61 |
For help, you can send an e-mail to brifreytag_at_gmail.com or get ahold of me via twitter at @brianfreytag
|
62 |
|
63 |
== Changelog ==
|
64 |
+
1.2.7 - Removed filter: alpha(opacity=x); from both the CSS and inline style (create initial transparency and hover to 100% opacity). This stops Internet Explorer from using opacity, but it also doesn't make the icons look terrible. If you have a problem with this, take it up with Microsoft. I'm not paid enough to hack around a crappy browser that can easily support png transparencies with little-to-no effort by the developers. All other browsers are unaffected.
|
65 |
+
|
66 |
1.2.6 - Added ability to add rel="nofollow" to icon links. Also added a Donate button due to the massive time commitment of this plugin.
|
67 |
|
68 |
1.2.5 - Updated readme.txt to improve visibility and adding screenshots
|
social-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Plugin URI: http://www.idontlikethisgame.com/updates/social-media-widget/
|
5 |
* Description: Place social media icons on your Sidebar by inputting URLs to your profiles!
|
6 |
-
* Version: 1.2.
|
7 |
* Author: Brian Freytag
|
8 |
* Author URL: http://www.idontlikethisgame.com
|
9 |
**/
|
@@ -94,7 +94,7 @@ class Social_Widget extends WP_Widget {
|
|
94 |
|
95 |
// Facebook
|
96 |
if ( $facebook != '') {
|
97 |
-
?> <a href="<?php echo $facebook; ?>" <?php echo $nofollow; ?> target="_blank"> <img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/facebook.png" alt="<?php echo $title; ?> on Facebook" title="<?php echo $title; ?> on Facebook" style="
|
98 |
} else {
|
99 |
echo ''; //If no URL inputed
|
100 |
}
|
@@ -102,7 +102,7 @@ class Social_Widget extends WP_Widget {
|
|
102 |
// Twitter
|
103 |
if ( $twitter != '' ) {
|
104 |
?> <a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/twitter.png" alt="<?php echo $title; ?> on Twitter"
|
105 |
-
title="<?php echo $title; ?> on Twitter" style="
|
106 |
} else {
|
107 |
echo ''; //If no URL inputed
|
108 |
}
|
@@ -110,7 +110,7 @@ class Social_Widget extends WP_Widget {
|
|
110 |
// MySpace
|
111 |
if ( $myspace != '' ) {
|
112 |
?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/myspace.png" alt="<?php echo $title; ?> on MySpace"
|
113 |
-
title="<?php echo $title; ?> on MySpace" style="
|
114 |
} else {
|
115 |
echo ''; //If no URL inputed
|
116 |
}
|
@@ -118,7 +118,7 @@ class Social_Widget extends WP_Widget {
|
|
118 |
// Orkut
|
119 |
if ( $orkut != '' ) {
|
120 |
?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/orkut.png" alt="<?php echo $title; ?> on Orkut"
|
121 |
-
title="<?php echo $title; ?> on Orkut" style="
|
122 |
} else {
|
123 |
echo ''; //If no URL inputed
|
124 |
}
|
@@ -126,7 +126,7 @@ class Social_Widget extends WP_Widget {
|
|
126 |
// LinkedIN
|
127 |
if ( $linkedin != '' ) {
|
128 |
?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/linkedin.png" alt="<?php echo $title; ?> on LinkedIn"
|
129 |
-
title="<?php echo $title; ?> on LinkedIn" style="
|
130 |
} else {
|
131 |
echo ''; //If no URL inputed
|
132 |
}
|
@@ -134,7 +134,7 @@ class Social_Widget extends WP_Widget {
|
|
134 |
// YouTube
|
135 |
if ( $youtube != '' ) {
|
136 |
?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/youtube.png" alt="<?php echo $title; ?> on YouTube"
|
137 |
-
title="<?php echo $title; ?> on YouTube" style="
|
138 |
} else {
|
139 |
echo ''; //If No URL Inputed
|
140 |
}
|
@@ -142,7 +142,7 @@ class Social_Widget extends WP_Widget {
|
|
142 |
// Digg
|
143 |
if ( $digg != '' ) {
|
144 |
?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/digg.png" alt="<?php echo $title; ?> on Digg"
|
145 |
-
title="<?php echo $title; ?> on Digg" style="
|
146 |
} else {
|
147 |
echo ''; //If no URL Inputed
|
148 |
}
|
@@ -150,7 +150,7 @@ class Social_Widget extends WP_Widget {
|
|
150 |
// Reddit
|
151 |
if ( $reddit != '' ) {
|
152 |
?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/reddit.png" alt="<?php echo $title; ?> on Reddit"
|
153 |
-
title="<?php echo $title; ?> on Reddit" style="
|
154 |
} else {
|
155 |
echo ''; //If no URL Inputed
|
156 |
}
|
@@ -158,21 +158,21 @@ class Social_Widget extends WP_Widget {
|
|
158 |
// Google Buzz
|
159 |
if ( $buzz != '' ) {
|
160 |
?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/buzz.png" alt="<?php echo $title; ?> on Buzz"
|
161 |
-
title="<?php echo $title; ?> on Buzz" style="
|
162 |
} else {
|
163 |
echo ''; //If no URL Inputed
|
164 |
}
|
165 |
|
166 |
// RSS
|
167 |
if ( $rss != '') {
|
168 |
-
?><a href="<?php echo $rss; ?>" <?php echo $nofollow; ?>><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/rss.png" alt="Subscribe to our RSS Feeds" title="Subscribe to our RSS Feeds" style="
|
169 |
} else {
|
170 |
echo '';// If no URL Inputed
|
171 |
}
|
172 |
|
173 |
// E-mail Subscription -- If Newsletter or Mailing List available
|
174 |
if ( $subscribe != '' ) {
|
175 |
-
?><a href="<?php echo $subscribe; ?>" <?php echo $nofollow; ?>><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/email.png" alt="Join our Mailing List" title="Join Our Mailing List" style="
|
176 |
} else {
|
177 |
echo ''; // If no URL Inputed
|
178 |
}
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Plugin URI: http://www.idontlikethisgame.com/updates/social-media-widget/
|
5 |
* Description: Place social media icons on your Sidebar by inputting URLs to your profiles!
|
6 |
+
* Version: 1.2.7
|
7 |
* Author: Brian Freytag
|
8 |
* Author URL: http://www.idontlikethisgame.com
|
9 |
**/
|
94 |
|
95 |
// Facebook
|
96 |
if ( $facebook != '') {
|
97 |
+
?> <a href="<?php echo $facebook; ?>" <?php echo $nofollow; ?> target="_blank"> <img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/facebook.png" alt="<?php echo $title; ?> on Facebook" title="<?php echo $title; ?> on Facebook" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;"/></a><?php
|
98 |
} else {
|
99 |
echo ''; //If no URL inputed
|
100 |
}
|
102 |
// Twitter
|
103 |
if ( $twitter != '' ) {
|
104 |
?> <a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/twitter.png" alt="<?php echo $title; ?> on Twitter"
|
105 |
+
title="<?php echo $title; ?> on Twitter" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
106 |
} else {
|
107 |
echo ''; //If no URL inputed
|
108 |
}
|
110 |
// MySpace
|
111 |
if ( $myspace != '' ) {
|
112 |
?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/myspace.png" alt="<?php echo $title; ?> on MySpace"
|
113 |
+
title="<?php echo $title; ?> on MySpace" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
114 |
} else {
|
115 |
echo ''; //If no URL inputed
|
116 |
}
|
118 |
// Orkut
|
119 |
if ( $orkut != '' ) {
|
120 |
?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/orkut.png" alt="<?php echo $title; ?> on Orkut"
|
121 |
+
title="<?php echo $title; ?> on Orkut" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
122 |
} else {
|
123 |
echo ''; //If no URL inputed
|
124 |
}
|
126 |
// LinkedIN
|
127 |
if ( $linkedin != '' ) {
|
128 |
?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/linkedin.png" alt="<?php echo $title; ?> on LinkedIn"
|
129 |
+
title="<?php echo $title; ?> on LinkedIn" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
130 |
} else {
|
131 |
echo ''; //If no URL inputed
|
132 |
}
|
134 |
// YouTube
|
135 |
if ( $youtube != '' ) {
|
136 |
?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/youtube.png" alt="<?php echo $title; ?> on YouTube"
|
137 |
+
title="<?php echo $title; ?> on YouTube" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
138 |
} else {
|
139 |
echo ''; //If No URL Inputed
|
140 |
}
|
142 |
// Digg
|
143 |
if ( $digg != '' ) {
|
144 |
?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/digg.png" alt="<?php echo $title; ?> on Digg"
|
145 |
+
title="<?php echo $title; ?> on Digg" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
146 |
} else {
|
147 |
echo ''; //If no URL Inputed
|
148 |
}
|
150 |
// Reddit
|
151 |
if ( $reddit != '' ) {
|
152 |
?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/reddit.png" alt="<?php echo $title; ?> on Reddit"
|
153 |
+
title="<?php echo $title; ?> on Reddit" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
154 |
} else {
|
155 |
echo ''; //If no URL Inputed
|
156 |
}
|
158 |
// Google Buzz
|
159 |
if ( $buzz != '' ) {
|
160 |
?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/buzz.png" alt="<?php echo $title; ?> on Buzz"
|
161 |
+
title="<?php echo $title; ?> on Buzz" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
162 |
} else {
|
163 |
echo ''; //If no URL Inputed
|
164 |
}
|
165 |
|
166 |
// RSS
|
167 |
if ( $rss != '') {
|
168 |
+
?><a href="<?php echo $rss; ?>" <?php echo $nofollow; ?>><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/rss.png" alt="Subscribe to our RSS Feeds" title="Subscribe to our RSS Feeds" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
169 |
} else {
|
170 |
echo '';// If no URL Inputed
|
171 |
}
|
172 |
|
173 |
// E-mail Subscription -- If Newsletter or Mailing List available
|
174 |
if ( $subscribe != '' ) {
|
175 |
+
?><a href="<?php echo $subscribe; ?>" <?php echo $nofollow; ?>><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/email.png" alt="Join our Mailing List" title="Join Our Mailing List" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
176 |
} else {
|
177 |
echo ''; // If no URL Inputed
|
178 |
}
|
social_widget.css
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
.socialmedia-buttons {
|
4 |
margin-top: 5px 0 0 0;
|
|
|
5 |
}
|
6 |
|
7 |
li.Social_Widget a {
|
@@ -15,8 +16,7 @@ li.Social_Widget a {
|
|
15 |
margin-right: 10px;
|
16 |
}
|
17 |
|
18 |
-
.socialmedia-buttons a
|
19 |
-
.author-list a{
|
20 |
background: none !important;
|
21 |
}
|
22 |
|
@@ -26,7 +26,6 @@ li.Social_Widget a {
|
|
26 |
}
|
27 |
|
28 |
.socialmedia-buttons img:hover {
|
29 |
-
filter: alpha(opacity=100) !important;
|
30 |
opacity: 1 !important;
|
31 |
-moz-opacity: 1 !important;
|
32 |
}
|
2 |
|
3 |
.socialmedia-buttons {
|
4 |
margin-top: 5px 0 0 0;
|
5 |
+
|
6 |
}
|
7 |
|
8 |
li.Social_Widget a {
|
16 |
margin-right: 10px;
|
17 |
}
|
18 |
|
19 |
+
.socialmedia-buttons a {
|
|
|
20 |
background: none !important;
|
21 |
}
|
22 |
|
26 |
}
|
27 |
|
28 |
.socialmedia-buttons img:hover {
|
|
|
29 |
opacity: 1 !important;
|
30 |
-moz-opacity: 1 !important;
|
31 |
}
|