Social Media Widget - Version 2.5

Version Description

  • Added 'custom' icon pack option. See FAQ for usage.
  • Added 3 more custom icon fields for custom services
  • Added ability to create the image alt/title tags so that it is not always {Widget Title} on {Service}.
Download this release

Release Info

Developer brianfreytag
Plugin Icon 128x128 Social Media Widget
Version 2.5
Comparing to
See all releases

Code changes from version 2.4.1 to 2.5

images/cutout/16/buzz.png CHANGED
Binary file
images/cutout/32/buzz.png CHANGED
Binary file
images/cutout/64/buzz.png CHANGED
Binary file
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Social Media Widget ===
2
  Contributors: Brian Freytag
3
  Donate link: http://www.idontlikethisgame.com/code/donate/
4
- Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me, friendfeed, flickr, stumbleupon, vimeo, delicious, meetup, lastfm, foursquare, skype, blogger, wordpress, yelp, soundcloud, digital tunes, tumblr, hyves, etsy, tungle, plancast, slideshare, deviantart, better business bureau, merchant circle, asmallworld
5
  Requires at least: 2.9.1
6
  Tested up to: 3.0.1
7
- Stable tag: 2.4.1
8
 
9
  Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
10
 
@@ -43,6 +43,7 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
43
  * PlanCast
44
  * SlideShare
45
  * DeviantArt
 
46
  * Digital Tunes
47
  * Soundcloud
48
  * Etsy
@@ -50,7 +51,7 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
50
  * Merchant Circle
51
  * RSS
52
  * E-mail (mailto: or a link to mailing list service)
53
- * Plus create 3 of your own using a URL to an icon and URL to the service
54
 
55
  * Select from the following icon sizes:
56
  * 16x16
@@ -62,6 +63,7 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
62
  * Sketch - <a href="http://theg-force.deviantart.com">Social Icons Hand Drawn</a> by TheG-Force and <a href="http://www.jankoatwarpspeed.com/post/2008/10/20/handycons-a-free-hand-drawn-social-media-icon-set.aspx">Handycons</a> by Janko At Warp Speed
63
  * Heart - <a href="http://thedesignsuperhero.com/2009/03/heart-v2-free-social-iconset-in-heart-shape/">Heart v2</a> by The Design Superhero
64
  * Cutout - <a href="http://www.iconspedia.com/pack/icontexto-inside-2222/">Icontexto Inside Icons</a>
 
65
  * Note that some of the icons in the packs were created and added for this widget by myself. Not all of the requested social media sites were included so I attempted to create icons that mimicked the original artist icons. These are unattributed to myself. I keep attribution to the original artists since it is there design I modified.
66
  * All icons in this pack are licensed under the Creative Commons license (which is why I'm allowed, by law, to use them). Note that some of these are non-commercial only. Please go to the sites linked above to get full information on their allowed uses.
67
 
@@ -72,6 +74,7 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
72
  * Combo (All three)
73
  * Note: Because these are all CSS3 style animations, IE6-7 aren't supported at all, although IE8 will support Scale. In IE6-8, icons will not be animated and use 100% opacity.
74
 
 
75
 
76
  * Choose whether or not to use the rel="nofollow" tag in your links. (Recommended see http://en.wikipedia.org/wiki/Nofollow)
77
 
@@ -104,11 +107,23 @@ Follow the steps below to upgrade.
104
  2. Cutout icon pack
105
  3. Heart icon pack
106
  4. Sketch icon pack
107
- 5. Top half of control panel
108
- 6. Bottom half of control panel
 
109
 
110
  == Frequently Asked Questions ==
111
 
 
 
 
 
 
 
 
 
 
 
 
112
  = Can you add [insert social media service] support =
113
  Yes I can. Please go to my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Forums</a> and request it there!
114
 
@@ -129,6 +144,12 @@ First - calm down. I'm happy to help you, and, if you ask those I've helped alre
129
  For help, please go to my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Forums</a> and ask whatever questions you need!
130
 
131
  == Changelog ==
 
 
 
 
 
 
132
  = 2.4.1 =
133
 
134
  * Changed plugin uri to reflect change to a forum-based system. It became too jumbled a mess trying to sort through comments on multiple posts and e-mails.
1
  === Social Media Widget ===
2
  Contributors: Brian Freytag
3
  Donate link: http://www.idontlikethisgame.com/code/donate/
4
+ Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me, friendfeed, flickr, stumbleupon, vimeo, delicious, meetup, lastfm, foursquare, skype, blogger, wordpress, yelp, soundcloud, digital tunes, tumblr, hyves, etsy, tungle, plancast, slideshare, deviantart, better business bureau, merchant circle, asmallworld, live365
5
  Requires at least: 2.9.1
6
  Tested up to: 3.0.1
7
+ Stable tag: 2.5
8
 
9
  Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
10
 
43
  * PlanCast
44
  * SlideShare
45
  * DeviantArt
46
+ * Live365
47
  * Digital Tunes
48
  * Soundcloud
49
  * Etsy
51
  * Merchant Circle
52
  * RSS
53
  * E-mail (mailto: or a link to mailing list service)
54
+ * Plus create 6 of your own using a URL to an icon and URL to the service
55
 
56
  * Select from the following icon sizes:
57
  * 16x16
63
  * Sketch - <a href="http://theg-force.deviantart.com">Social Icons Hand Drawn</a> by TheG-Force and <a href="http://www.jankoatwarpspeed.com/post/2008/10/20/handycons-a-free-hand-drawn-social-media-icon-set.aspx">Handycons</a> by Janko At Warp Speed
64
  * Heart - <a href="http://thedesignsuperhero.com/2009/03/heart-v2-free-social-iconset-in-heart-shape/">Heart v2</a> by The Design Superhero
65
  * Cutout - <a href="http://www.iconspedia.com/pack/icontexto-inside-2222/">Icontexto Inside Icons</a>
66
+ * Custom - Upload your own icons into this folder on the filesystem. These will be unaltered via updates. Make sure you follow the same naming scheme as the other icons (facebook.png, twitter.png). You can look at the other icon packs if you are unsure about the naming. See the FAQ for more information.
67
  * Note that some of the icons in the packs were created and added for this widget by myself. Not all of the requested social media sites were included so I attempted to create icons that mimicked the original artist icons. These are unattributed to myself. I keep attribution to the original artists since it is there design I modified.
68
  * All icons in this pack are licensed under the Creative Commons license (which is why I'm allowed, by law, to use them). Note that some of these are non-commercial only. Please go to the sites linked above to get full information on their allowed uses.
69
 
74
  * Combo (All three)
75
  * Note: Because these are all CSS3 style animations, IE6-7 aren't supported at all, although IE8 will support Scale. In IE6-8, icons will not be animated and use 100% opacity.
76
 
77
+ * Create your own image alt/title tags for hover-over text (i.e. Follow Us On {service})
78
 
79
  * Choose whether or not to use the rel="nofollow" tag in your links. (Recommended see http://en.wikipedia.org/wiki/Nofollow)
80
 
107
  2. Cutout icon pack
108
  3. Heart icon pack
109
  4. Sketch icon pack
110
+ 5. Top of widget control panel
111
+ 6. Middle of widget control panel
112
+ 7. Bottom of widget control panel
113
 
114
  == Frequently Asked Questions ==
115
 
116
+ = How can I use my own custom icon pack =
117
+ Using your favorite sftp client, navigate to wp-content/plugins/social-media-widget/images/custom. Within this folder you'll see three more 16/32/64.
118
+
119
+ Depending on your icon size, toss your icons into one of those folders using the same naming scheme as the other icon packs (see the other packs for that information).
120
+
121
+ From within the widget control panel, select custom as the icon pack, and whatever widget size you put the custom icons in.
122
+
123
+ If you have any other question, please contact me via my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Support Forum</a>
124
+
125
+ As a check, the plugin now ensures that the proper image file exists. If it doesn't nothing will be displayed. If you're not seeing your icon, make sure you have the image uploaded with the right file name (and in .png format), and make sure that the widget is calling to the correct icon size folder.
126
+
127
  = Can you add [insert social media service] support =
128
  Yes I can. Please go to my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Forums</a> and request it there!
129
 
144
  For help, please go to my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Forums</a> and ask whatever questions you need!
145
 
146
  == Changelog ==
147
+ = 2.5 =
148
+
149
+ * Added 'custom' icon pack option. See FAQ for usage.
150
+ * Added 3 more custom icon fields for custom services
151
+ * Added ability to create the image alt/title tags so that it is not always {Widget Title} on {Service}.
152
+
153
  = 2.4.1 =
154
 
155
  * Changed plugin uri to reflect change to a forum-based system. It became too jumbled a mess trying to sort through comments on multiple posts and e-mails.
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-6.png CHANGED
Binary file
social-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Social Media Widget
4
  * Plugin URI: http://forums.idontlikethisgame.com/viewforum.php?f=3
5
  * Description: Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
6
- * Version: 2.4.1
7
  * Author: Brian Freytag
8
  * Author URI: http://www.idontlikethisgame.com/
9
  **/
@@ -50,9 +50,10 @@ class Social_Widget extends WP_Widget {
50
  /* Display the widget */
51
  function widget( $args, $instance ) {
52
  extract( $args );
53
-
54
  /* Our variables from the widget settings. */
55
  $title = apply_filters('widget_title', $instance['title'] );
 
56
  $facebook = $instance['facebook'];
57
  $twitter = $instance['twitter'];
58
  $myspace = $instance['myspace'];
@@ -81,6 +82,7 @@ class Social_Widget extends WP_Widget {
81
  $plancast = $instance['plancast'];
82
  $slideshare = $instance['slideshare'];
83
  $deviantart = $instance['deviantart'];
 
84
  $digitaltunes = $instance['digitaltunes'];
85
  $soundcloud = $instance['soundcloud'];
86
  $etsy = $instance['etsy'];
@@ -97,13 +99,23 @@ class Social_Widget extends WP_Widget {
97
  $custom1icon = $instance['custom1icon'];
98
  $custom2icon = $instance['custom2icon'];
99
  $custom3icon = $instance['custom3icon'];
 
 
 
100
  $custom1name = $instance['custom1name'];
101
  $custom2name = $instance['custom2name'];
102
  $custom3name = $instance['custom3name'];
 
 
 
103
  $custom1url = $instance['custom1url'];
104
  $custom2url = $instance['custom2url'];
105
  $custom3url = $instance['custom3url'];
 
 
 
106
 
 
107
  /* Choose Icon Size if Value is 'default' */
108
  if($icon_size == 'default') {
109
  $icon_size = '32';
@@ -123,7 +135,8 @@ class Social_Widget extends WP_Widget {
123
  } else {
124
  $nofollow = '';
125
  }
126
-
 
127
  /* Check to see if New Tab is set to yes */
128
  if ($newtab == 'yes') {
129
  $newtab = "target=\"_blank\"";
@@ -134,6 +147,8 @@ class Social_Widget extends WP_Widget {
134
  /* Get Plugin Path */
135
  $smw_path = SMW_PLUGINPATH;
136
 
 
 
137
  /* Before widget (defined by themes). */
138
  echo $before_widget;
139
 
@@ -145,268 +160,296 @@ class Social_Widget extends WP_Widget {
145
  /* Display linked images to profiles from widget settings if one was input. */
146
 
147
  // Facebook
148
- if ( $facebook != '') {
149
- ?><a href="<?php echo $facebook; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/facebook.png" alt="<?php echo $title; ?> on Facebook" title="<?php echo $title; ?> on Facebook" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
150
  } else {
151
  echo ''; //If no URL inputed
152
  }
153
 
154
  // Twitter
155
- if ( $twitter != '' ) {
156
- ?><a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/twitter.png" alt="<?php echo $title; ?> on Twitter" title="<?php echo $title; ?> on Twitter" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
157
  } else {
158
  echo ''; //If no URL inputed
159
  }
160
 
161
 
162
  // MySpace
163
- if ( $myspace != '' ) {
164
- ?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/myspace.png" alt="<?php echo $title; ?> on MySpace" title="<?php echo $title; ?> on MySpace" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
165
  } else {
166
  echo ''; //If no URL inputed
167
  }
168
 
169
  // FriendFeed
170
- if ( $friendfeed != '' ) {
171
- ?><a href="<?php echo $friendfeed; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/friendfeed.png" alt="<?php echo $title; ?> on FriendFeed" title="<?php echo $title; ?> on FriendFeed" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>"" /></a><?php
172
  } else {
173
  echo ''; //If no URL inputed
174
  }
175
 
176
  // Orkut
177
- if ( $orkut != '' ) {
178
- ?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/orkut.png" alt="<?php echo $title; ?> on Orkut" title="<?php echo $title; ?> on Orkut" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
179
  } else {
180
  echo ''; //If no URL inputed
181
  }
182
 
183
  // Hyves
184
- if ( $hyves != '' ) {
185
- ?><a href="<?php echo $hyves; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/hyves.png" alt="<?php echo $title; ?> on Hyves" title="<?php echo $title; ?> on Hyves" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
186
  } else {
187
  echo ''; //If no URL inputed
188
  }
189
 
190
  // LinkedIN
191
- if ( $linkedin != '' ) {
192
- ?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/linkedin.png" alt="<?php echo $title; ?> on LinkedIn" title="<?php echo $title; ?> on LinkedIn" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
193
  } else {
194
  echo ''; //If no URL inputed
195
  }
196
 
197
  // aSmallWorld
198
- if ( $asmallworld != '' ) {
199
- ?><a href="<?php echo $asmallworld; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/asmallworld.png" alt="<?php echo $title; ?> on aSmallWorld" title="<?php echo $title; ?> on aSmallWorld" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
200
  } else {
201
  echo ''; //If no URL inputed
202
  }
203
 
204
  // Flickr
205
- if ( $flickr != '' ) {
206
- ?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/flickr.png" alt="<?php echo $title; ?> on Flickr" title="<?php echo $title; ?> on Flickr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
207
  } else {
208
  echo ''; //If no URL inputed
209
  }
210
 
211
  // YouTube
212
- if ( $youtube != '' ) {
213
- ?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/youtube.png" alt="<?php echo $title; ?> on YouTube" title="<?php echo $title; ?> on YouTube" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
214
  } else {
215
  echo ''; //If No URL Inputed
216
  }
217
 
218
  // Skype
219
- if ( $skype != '' ) {
220
- ?><a href="<?php echo $skype; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/skype.png" alt="<?php echo $title; ?> on Skype" title="<?php echo $title; ?> on Skype" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
221
  } else {
222
  echo ''; //If No URL Inputed
223
  }
224
 
225
  // Digg
226
- if ( $digg != '' ) {
227
- ?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/digg.png" alt="<?php echo $title; ?> on Digg" title="<?php echo $title; ?> on Digg" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
228
  } else {
229
  echo ''; //If no URL Inputed
230
  }
231
 
232
  // Reddit
233
- if ( $reddit != '' ) {
234
- ?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/reddit.png" alt="<?php echo $title; ?> on Reddit" title="<?php echo $title; ?> on Reddit" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
235
  } else {
236
  echo ''; //If no URL Inputed
237
  }
238
 
239
  // Delicious
240
- if ( $delicious != '' ) {
241
- ?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/delicious.png" alt="<?php echo $title; ?> on Delicious" title="<?php echo $title; ?> on Delicious" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
242
  } else {
243
  echo ''; //If no URL Inputed
244
  }
245
 
246
  // StumbleUpon
247
- if ( $stumble != '' ) {
248
- ?><a href="<?php echo $stumble; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/stumble.png" alt="<?php echo $title; ?> on StumbleUpon" title="<?php echo $title; ?> on StumbleUpon" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
249
  } else {
250
  echo ''; //If no URL Inputed
251
  }
252
 
253
  // Tumblr
254
- if ( $tumblr != '' ) {
255
- ?><a href="<?php echo $tumblr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/tumblr.png" alt="<?php echo $title; ?> on Tumblr" title="<?php echo $title; ?> on Tumblr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
256
  } else {
257
  echo ''; //If no URL Inputed
258
  }
259
 
260
  // Google Buzz
261
- if ( $buzz != '' ) {
262
- ?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/buzz.png" alt="<?php echo $title; ?> on Buzz" title="<?php echo $title; ?> on Buzz" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
263
  } else {
264
  echo ''; //If no URL Inputed
265
  }
266
 
267
  // Vimeo
268
- if ( $vimeo != '' ) {
269
- ?><a href="<?php echo $vimeo; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/vimeo.png" alt="<?php echo $title; ?> on Vimeo" title="<?php echo $title; ?> on Vimeo" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
270
  } else {
271
  echo ''; //If no URL Inputed
272
  }
273
 
274
  // Blogger
275
- if ( $blogger != '' ) {
276
- ?><a href="<?php echo $blogger; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/blogger.png" alt="<?php echo $title; ?> on Blogger" title="<?php echo $title; ?> on Blogger" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
277
  } else {
278
  echo ''; //If No URL Inputed
279
  }
280
 
281
  // Wordpress
282
- if ( $wordpress != '' ) {
283
- ?><a href="<?php echo $wordpress; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/wordpress.png" alt="<?php echo $title; ?> on Wordpress" title="<?php echo $title; ?> on Wordpress" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
284
  } else {
285
  echo ''; //If No URL Inputed
286
  }
287
 
288
  // Yelp
289
- if ( $yelp != '' ) {
290
- ?><a href="<?php echo $yelp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/yelp.png" alt="<?php echo $title; ?> on Yelp" title="<?php echo $title; ?> on Yelp" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
291
  } else {
292
  echo ''; //If No URL Inputed
293
  }
294
 
295
  // Last.fm
296
- if ( $lastfm != '' ) {
297
- ?><a href="<?php echo $lastfm; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/lastfm.png" alt="<?php echo $title; ?> on Last.fm" title="<?php echo $title; ?> on Last.fm" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
298
  } else {
299
  echo ''; //If no URL Inputed
300
  }
301
 
302
  // Foursquare
303
- if ( $foursquare != '' ) {
304
- ?><a href="<?php echo $foursquare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/foursquare.png" alt="<?php echo $title; ?> on Foursquare" title="<?php echo $title; ?> on Foursquare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
305
  } else {
306
  echo ''; //If no URL Inputed
307
  }
308
 
309
  // Meetup
310
- if ( $meetup != '' ) {
311
- ?><a href="<?php echo $meetup; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/meetup.png" alt="<?php echo $title; ?> on Meetup" title="<?php echo $title; ?> on Meetup" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
312
  } else {
313
  echo ''; //If no URL Inputed
314
  }
315
 
316
  // Tungle.me
317
- if ( $tungle != '' ) {
318
- ?><a href="<?php echo $tungle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/tungle.png" alt="<?php echo $title; ?> on Tungle" title="<?php echo $title; ?> on Tungle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
319
  } else {
320
  echo ''; //If no URL inputed
321
  }
322
 
323
  // PlanCast
324
- if ( $plancast != '' ) {
325
- ?><a href="<?php echo $plancast; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/plancast.png" alt="<?php echo $title; ?> on PlanCast" title="<?php echo $title; ?> on PlanCast" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
326
  } else {
327
  echo ''; //If no URL inputed
328
  }
329
 
330
  // Hyves
331
- if ( $slideshare != '' ) {
332
- ?><a href="<?php echo $slideshare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/slideshare.png" alt="<?php echo $title; ?> on SlideShare" title="<?php echo $title; ?> on SlideShare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
333
  } else {
334
  echo ''; //If no URL inputed
335
  }
336
 
337
  // DeviantArt
338
- if ( $deviantart != '' ) {
339
- ?><a href="<?php echo $deviantart; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/deviantart.png" alt="<?php echo $title; ?> on DeviantArt" title="<?php echo $title; ?> on DeviantArt" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
 
 
 
 
 
 
 
340
  } else {
341
  echo ''; //If no URL inputed
342
  }
343
 
344
  // Digital Tunes
345
- if ( $digitaltunes != '' ) {
346
- ?><a href="<?php echo $digitaltunes; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/digitaltunes.png" alt="<?php echo $title; ?> on Digital Tunes" title="<?php echo $title; ?> on Digital Tunes" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
347
  } else {
348
  echo ''; //If no URL Inputed
349
  }
350
 
351
  // Soundcloud
352
- if ( $soundcloud != '' ) {
353
- ?><a href="<?php echo $soundcloud; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/soundcloud.png" alt="<?php echo $title; ?> on Soundcloud" title="<?php echo $title; ?> on Soundcloud" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
354
  } else {
355
  echo ''; //If no URL Inputed
356
  }
357
 
358
  // Etsy
359
- if ( $etsy != '' ) {
360
- ?><a href="<?php echo $etsy; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/etsy.png" alt="<?php echo $title; ?> on Etsy" title="<?php echo $title; ?> on Etsy" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
361
  } else {
362
  echo ''; //If no URL Inputed
363
  }
364
 
365
  // Better Business Bureau
366
- if ( $bbb != '' ) {
367
- ?><a href="<?php echo $bbb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/bbb.png" alt="<?php echo $title; ?> on Better Business Bureau" title="<?php echo $title; ?> on Better Business Bureau" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
368
  } else {
369
  echo ''; //If no URL inputed
370
  }
371
 
372
  // Merchant Circle
373
- if ( $merchantcircle != '' ) {
374
- ?><a href="<?php echo $merchantcircle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/merchantcircle.png" alt="<?php echo $title; ?> on Merchant Circle" title="<?php echo $title; ?> on Merchant Circle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
375
  } else {
376
  echo ''; //If no URL inputed
377
  }
378
 
379
  // Custom Icon 1
380
  if ( $custom1url != '' && $custom1name != '' && $custom1icon != '' ) {
381
- ?><a href="<?php echo $custom1url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom1icon; ?>" alt="<?php echo $title; ?> on <?php echo $custom1name; ?>" title="<?php echo $title; ?> on <?php echo $custom1name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
382
  } else {
383
  echo ''; //If no URL inputed
384
  }
385
 
386
  // Custom Icon 2
387
  if ( $custom2url != '' && $custom2name != '' && $custom2icon != '' ) {
388
- ?><a href="<?php echo $custom2url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom2icon; ?>" alt="<?php echo $title; ?> on <?php echo $custom2name; ?>" title="<?php echo $title; ?> on <?php echo $custom2name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
389
  } else {
390
  echo ''; //If no URL inputed
391
  }
392
 
393
  // Custom Icon 3
394
  if ( $custom3url != '' && $custom3name != '' && $custom3icon != '' ) {
395
- ?><a href="<?php echo $custom3url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom3icon; ?>" alt="<?php echo $title; ?> on <?php echo $custom3name; ?>" title="<?php echo $title; ?> on <?php echo $custom3name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  } else {
397
  echo ''; //If no URL inputed
398
  }
399
 
400
  // RSS
401
- if ( $rss != '') {
402
- ?><a href="<?php echo $rss; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/rss.png" alt="<?php echo $title ?> via RSS" title="<?php echo $title ?> via RSS" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
403
  } else {
404
  echo '';// If no URL Inputed
405
  }
406
 
407
  // E-mail Subscription -- If Newsletter or Mailing List available
408
- if ( $subscribe != '' ) {
409
- ?><a href="<?php echo $subscribe; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/email.png" alt="<?php echo $title ?> via E-mail" title="<?php echo $title ?> via E-mail" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
410
  } else {
411
  echo ''; // If no URL Inputed
412
  }
@@ -423,6 +466,7 @@ class Social_Widget extends WP_Widget {
423
 
424
  /* Strip Tags For Text Boxes */
425
  $instance['title'] = strip_tags( $new_instance['title'] );
 
426
  $instance['facebook'] = strip_tags( $new_instance['facebook'] );
427
  $instance['twitter'] = strip_tags( $new_instance['twitter'] );
428
  $instance['myspace'] = strip_tags( $new_instance['myspace'] );
@@ -451,6 +495,7 @@ class Social_Widget extends WP_Widget {
451
  $instance['plancast'] = strip_tags( $new_instance['plancast'] );
452
  $instance['slideshare'] = strip_tags( $new_instance['slideshare'] );
453
  $instance['deviantart'] = strip_tags( $new_instance['deviantart'] );
 
454
  $instance['digitaltunes'] = strip_tags( $new_instance['digitaltunes'] );
455
  $instance['soundcloud'] = strip_tags( $new_instance['soundcloud'] );
456
  $instance['etsy'] = strip_tags( $new_instance['etsy'] );
@@ -461,10 +506,19 @@ class Social_Widget extends WP_Widget {
461
  $instance['custom1url'] = strip_tags( $new_instance['custom1url'] );
462
  $instance['custom2name'] = strip_tags( $new_instance['custom2name'] );
463
  $instance['custom2icon'] = strip_tags( $new_instance['custom2icon'] );
464
- $instance['custom3url'] = strip_tags( $new_instance['custom3url'] );
465
  $instance['custom3name'] = strip_tags( $new_instance['custom3name'] );
466
  $instance['custom3icon'] = strip_tags( $new_instance['custom3icon'] );
467
- $instance['custom2url'] = strip_tags( $new_instance['custom2url'] );
 
 
 
 
 
 
 
 
 
468
  $instance['rss_url'] = strip_tags( $new_instance['rss_url'] );
469
  $instance['subscribe'] = strip_tags( $new_instance['subscribe'] );
470
  $instance['icon_size'] = $new_instance['icon_size'];
@@ -486,7 +540,8 @@ class Social_Widget extends WP_Widget {
486
 
487
  /* Set up some default widget settings. */
488
  $defaults = array(
489
- 'title' => __('Follow Us!', 'test'),
 
490
  'facebook' => __('http://www.facebook.com/your_name', 'smw'),
491
  'twitter' => __('http://www.twitter.com/yourname', 'smw'),
492
  'myspace' => __('http://www.myspace.com/yourname', 'smw'),
@@ -502,7 +557,7 @@ class Social_Widget extends WP_Widget {
502
  'reddit' => __('http://www.reddit.com/user/yourname', 'smw'),
503
  'delicious' => __('http://delicious.com/yourname', 'smw'),
504
  'stumble' => __('http://www.stumbleupon.com/stumbler/yourname', 'smw'),
505
- 'tumblr' => __('', 'smw'),
506
  'buzz' => __('http://www.google.com/profiles/yourname#buzz', 'smw'),
507
  'vimeo' => __('http://www.vimeo.com/yourname', 'smw'),
508
  'blogger' => __('http://www.blogger.com/profile/youridnumber', 'smw'),
@@ -513,13 +568,14 @@ class Social_Widget extends WP_Widget {
513
  'meetup' => __('http://www.meetup.com/your-group', 'smw'),
514
  'tungle' => __('', 'smw'),
515
  'plancast' => __('', 'smw'),
516
- 'slideshare' => __('', 'smw'),
517
- 'deviantart' => __('', 'smw'),
 
518
  'digitaltunes' => __('http://www.digital-tunes.net/user_profile/yourname', 'smw'),
519
  'soundcloud' => __('http://www.soundcloud.com/your-name', 'smw'),
520
- 'etsy' => __('', 'smw'),
521
- 'bbb' => __('', 'smw'),
522
- 'merchantcircle' => __('', 'smw'),
523
  'custom1name' => __('', 'smw'),
524
  'custom1icon' => __('', 'smw'),
525
  'custom1url' => __('', 'smw'),
@@ -529,6 +585,15 @@ class Social_Widget extends WP_Widget {
529
  'custom3name' => __('', 'smw'),
530
  'custom3icon' => __('', 'smw'),
531
  'custom3url' => __('', 'smw'),
 
 
 
 
 
 
 
 
 
532
  'rss_url' => __('http://www.yoursite.com/feed', 'smw'),
533
  'icon_size' => 'default',
534
  'icon_pack' => 'default',
@@ -547,6 +612,12 @@ class Social_Widget extends WP_Widget {
547
  <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', 'smw'); ?></label>
548
  <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:85%;" />
549
  </p>
 
 
 
 
 
 
550
 
551
  <!-- Facebook URL: Text Input -->
552
  <p>
@@ -686,8 +757,7 @@ class Social_Widget extends WP_Widget {
686
  <label for="<?php echo $this->get_field_id( 'foursquare' ); ?>"><?php _e('Foursquare URL:', 'smw'); ?></label>
687
  <input id="<?php echo $this->get_field_id( 'foursquare' ); ?>" name="<?php echo $this->get_field_name( 'foursquare' ); ?>" value="<?php echo $instance['foursquare']; ?>" style="width:85%;" />
688
  </p>
689
- </div>
690
- <div style="width: 48%; float: right; border-left: 1px solid #000; padding-left: 20px;">
691
  <!-- Meetup URL: Text Input -->
692
  <p>
693
  <label for="<?php echo $this->get_field_id( 'meetup' ); ?>"><?php _e('Meetup URL:', 'smw'); ?></label>
@@ -711,13 +781,20 @@ class Social_Widget extends WP_Widget {
711
  <label for="<?php echo $this->get_field_id( 'slideshare' ); ?>"><?php _e('SlideShare URL:', 'smw'); ?></label>
712
  <input id="<?php echo $this->get_field_id( 'slideshare' ); ?>" name="<?php echo $this->get_field_name( 'slideshare' ); ?>" value="<?php echo $instance['slideshare']; ?>" style="width:85%;" />
713
  </p>
714
-
 
715
  <!-- DeviantArt URL: Text Input -->
716
  <p>
717
  <label for="<?php echo $this->get_field_id( 'deviantart' ); ?>"><?php _e('DeviantArt URL:', 'smw'); ?></label>
718
  <input id="<?php echo $this->get_field_id( 'deviantart' ); ?>" name="<?php echo $this->get_field_name( 'deviantart' ); ?>" value="<?php echo $instance['deviantart']; ?>" style="width:85%;" />
719
  </p>
720
 
 
 
 
 
 
 
721
  <!-- Digital Tunes URL: Text Input -->
722
  <p>
723
  <label for="<?php echo $this->get_field_id( 'digitaltunes' ); ?>"><?php _e('Digital Tunes URL:', 'smw'); ?></label>
@@ -747,7 +824,7 @@ class Social_Widget extends WP_Widget {
747
  <label for="<?php echo $this->get_field_id( 'merchantcircle' ); ?>"><?php _e('Merchant Circle URL:', 'smw'); ?></label>
748
  <input id="<?php echo $this->get_field_id( 'merchantcircle' ); ?>" name="<?php echo $this->get_field_name( 'merchantcircle' ); ?>" value="<?php echo $instance['merchantcircle']; ?>" style="width:85%;" />
749
  </p>
750
- <p><em>Here you can input 3 custom icons. Make sure you input FULL urls to the icon (including http://). The images will resize both width and height to the icon size chosen.</em></p>
751
  <!-- Custom Service 1: Text Input -->
752
  <p>
753
  <label for="<?php echo $this->get_field_id( 'custom1name' ); ?>"><?php _e('Custom Service 1 Name:', 'smw'); ?></label>
@@ -778,6 +855,36 @@ class Social_Widget extends WP_Widget {
778
  <input id="<?php echo $this->get_field_id( 'custom3url' ); ?>" name="<?php echo $this->get_field_name( 'custom3url' ); ?>" value="<?php echo $instance['custom3url']; ?>" style="width:85%;" />
779
  </p>
780
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
781
  <!-- RSS URL: Text Input -->
782
  <p>
783
  <label for="<?php echo $this->get_field_id( 'rss_url' ); ?>"><?php _e('RSS URL:', 'smw'); ?></label>
@@ -810,6 +917,7 @@ class Social_Widget extends WP_Widget {
810
  <option value="heart" <?php if($instance['icon_pack'] == 'heart') { echo 'selected'; } ?>>Heart Icons</option>
811
  <option value="default" <?php if($instance['icon_pack'] == 'default') { echo 'selected'; } ?>>Default Icons (Web2.0)</option>
812
  <option value="sketch" <?php if($instance['icon_pack'] == 'sketch') { echo 'selected'; } ?>>Sketch Icons</option>
 
813
  </select>
814
  </p>
815
 
3
  * Plugin Name: Social Media Widget
4
  * Plugin URI: http://forums.idontlikethisgame.com/viewforum.php?f=3
5
  * Description: Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
6
+ * Version: 2.5
7
  * Author: Brian Freytag
8
  * Author URI: http://www.idontlikethisgame.com/
9
  **/
50
  /* Display the widget */
51
  function widget( $args, $instance ) {
52
  extract( $args );
53
+
54
  /* Our variables from the widget settings. */
55
  $title = apply_filters('widget_title', $instance['title'] );
56
+ $imgcaption = $instance['imgcaption'];
57
  $facebook = $instance['facebook'];
58
  $twitter = $instance['twitter'];
59
  $myspace = $instance['myspace'];
82
  $plancast = $instance['plancast'];
83
  $slideshare = $instance['slideshare'];
84
  $deviantart = $instance['deviantart'];
85
+ $live365 = $instance['live365'];
86
  $digitaltunes = $instance['digitaltunes'];
87
  $soundcloud = $instance['soundcloud'];
88
  $etsy = $instance['etsy'];
99
  $custom1icon = $instance['custom1icon'];
100
  $custom2icon = $instance['custom2icon'];
101
  $custom3icon = $instance['custom3icon'];
102
+ $custom4icon = $instance['custom4icon'];
103
+ $custom5icon = $instance['custom5icon'];
104
+ $custom6icon = $instance['custom6icon'];
105
  $custom1name = $instance['custom1name'];
106
  $custom2name = $instance['custom2name'];
107
  $custom3name = $instance['custom3name'];
108
+ $custom4name = $instance['custom4name'];
109
+ $custom5name = $instance['custom5name'];
110
+ $custom6name = $instance['custom6name'];
111
  $custom1url = $instance['custom1url'];
112
  $custom2url = $instance['custom2url'];
113
  $custom3url = $instance['custom3url'];
114
+ $custom4url = $instance['custom4url'];
115
+ $custom5url = $instance['custom5url'];
116
+ $custom6url = $instance['custom6url'];
117
 
118
+
119
  /* Choose Icon Size if Value is 'default' */
120
  if($icon_size == 'default') {
121
  $icon_size = '32';
135
  } else {
136
  $nofollow = '';
137
  }
138
+
139
+
140
  /* Check to see if New Tab is set to yes */
141
  if ($newtab == 'yes') {
142
  $newtab = "target=\"_blank\"";
147
  /* Get Plugin Path */
148
  $smw_path = SMW_PLUGINPATH;
149
 
150
+ $smw_dir = SMW_PLUGINDIR;
151
+
152
  /* Before widget (defined by themes). */
153
  echo $before_widget;
154
 
160
  /* Display linked images to profiles from widget settings if one was input. */
161
 
162
  // Facebook
163
+ if ( $facebook != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/facebook.png')) {
164
+ ?><a href="<?php echo $facebook; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/facebook.png" alt="<?php echo $imgcaption; ?> Facebook" title="<?php echo $imgcaption ?> Facebook" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
165
  } else {
166
  echo ''; //If no URL inputed
167
  }
168
 
169
  // Twitter
170
+ if ( $twitter != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/twitter.png')) {
171
+ ?><a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/twitter.png" alt="<?php echo $imgcaption; ?> Twitter"title="<?php echo $imgcaption; ?> Twitter" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
172
  } else {
173
  echo ''; //If no URL inputed
174
  }
175
 
176
 
177
  // MySpace
178
+ if ( $myspace != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/myspace.png')) {
179
+ ?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/myspace.png"alt="<?php echo $imgcaption; ?> MySpace"title="<?php echo $imgcaption; ?> MySpace" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
180
  } else {
181
  echo ''; //If no URL inputed
182
  }
183
 
184
  // FriendFeed
185
+ if ( $friendfeed != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/friendfeed.png')) {
186
+ ?><a href="<?php echo $friendfeed; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/friendfeed.png"alt="<?php echo $imgcaption; ?> FriendFeed"title="<?php echo $imgcaption; ?> FriendFeed" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>"" /></a><?php
187
  } else {
188
  echo ''; //If no URL inputed
189
  }
190
 
191
  // Orkut
192
+ if ( $orkut != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/orkut.png')) {
193
+ ?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/orkut.png"alt="<?php echo $imgcaption; ?> Orkut"title="<?php echo $imgcaption; ?> Orkut" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
194
  } else {
195
  echo ''; //If no URL inputed
196
  }
197
 
198
  // Hyves
199
+ if ( $hyves != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/hyves.png')) {
200
+ ?><a href="<?php echo $hyves; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/hyves.png"alt="<?php echo $imgcaption; ?> Hyves"title="<?php echo $imgcaption; ?> Hyves" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
201
  } else {
202
  echo ''; //If no URL inputed
203
  }
204
 
205
  // LinkedIN
206
+ if ( $linkedin != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/linkedin.png')) {
207
+ ?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/linkedin.png"alt="<?php echo $imgcaption; ?> LinkedIn"title="<?php echo $imgcaption; ?> LinkedIn" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
208
  } else {
209
  echo ''; //If no URL inputed
210
  }
211
 
212
  // aSmallWorld
213
+ if ( $asmallworld != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/asmallworld.png')) {
214
+ ?><a href="<?php echo $asmallworld; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/asmallworld.png"alt="<?php echo $imgcaption; ?> aSmallWorld"title="<?php echo $imgcaption; ?> aSmallWorld" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
215
  } else {
216
  echo ''; //If no URL inputed
217
  }
218
 
219
  // Flickr
220
+ if ( $flickr != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/flickr.png')) {
221
+ ?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/flickr.png"alt="<?php echo $imgcaption; ?> Flickr"title="<?php echo $imgcaption; ?> Flickr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
222
  } else {
223
  echo ''; //If no URL inputed
224
  }
225
 
226
  // YouTube
227
+ if ( $youtube != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/youtube.png')) {
228
+ ?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/youtube.png"alt="<?php echo $imgcaption; ?> YouTube"title="<?php echo $imgcaption; ?> YouTube" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
229
  } else {
230
  echo ''; //If No URL Inputed
231
  }
232
 
233
  // Skype
234
+ if ( $skype != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/skype.png')) {
235
+ ?><a href="<?php echo $skype; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/skype.png"alt="<?php echo $imgcaption; ?> Skype"title="<?php echo $imgcaption; ?> Skype" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
236
  } else {
237
  echo ''; //If No URL Inputed
238
  }
239
 
240
  // Digg
241
+ if ( $digg != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/digg.png')) {
242
+ ?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/digg.png"alt="<?php echo $imgcaption; ?> Digg"title="<?php echo $imgcaption; ?> Digg" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
243
  } else {
244
  echo ''; //If no URL Inputed
245
  }
246
 
247
  // Reddit
248
+ if ( $reddit != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/reddit.png')) {
249
+ ?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/reddit.png"alt="<?php echo $imgcaption; ?> Reddit"title="<?php echo $imgcaption; ?> Reddit" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
250
  } else {
251
  echo ''; //If no URL Inputed
252
  }
253
 
254
  // Delicious
255
+ if ( $delicious != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/delicious.png')) {
256
+ ?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/delicious.png"alt="<?php echo $imgcaption; ?> Delicious"title="<?php echo $imgcaption; ?> Delicious" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
257
  } else {
258
  echo ''; //If no URL Inputed
259
  }
260
 
261
  // StumbleUpon
262
+ if ( $stumble != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/stumble.png')) {
263
+ ?><a href="<?php echo $stumble; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/stumble.png"alt="<?php echo $imgcaption; ?> StumbleUpon"title="<?php echo $imgcaption; ?> StumbleUpon" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
264
  } else {
265
  echo ''; //If no URL Inputed
266
  }
267
 
268
  // Tumblr
269
+ if ( $tumblr != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/tumblr.png')) {
270
+ ?><a href="<?php echo $tumblr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/tumblr.png"alt="<?php echo $imgcaption; ?> Tumblr"title="<?php echo $imgcaption; ?> Tumblr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
271
  } else {
272
  echo ''; //If no URL Inputed
273
  }
274
 
275
  // Google Buzz
276
+ if ( $buzz != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/buzz.png')) {
277
+ ?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/buzz.png"alt="<?php echo $imgcaption; ?> Buzz"title="<?php echo $imgcaption; ?> Buzz" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
278
  } else {
279
  echo ''; //If no URL Inputed
280
  }
281
 
282
  // Vimeo
283
+ if ( $vimeo != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/vimeo.png')) {
284
+ ?><a href="<?php echo $vimeo; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/vimeo.png"alt="<?php echo $imgcaption; ?> Vimeo"title="<?php echo $imgcaption; ?> Vimeo" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
285
  } else {
286
  echo ''; //If no URL Inputed
287
  }
288
 
289
  // Blogger
290
+ if ( $blogger != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/blogger.png')) {
291
+ ?><a href="<?php echo $blogger; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/blogger.png"alt="<?php echo $imgcaption; ?> Blogger"title="<?php echo $imgcaption; ?> Blogger" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
292
  } else {
293
  echo ''; //If No URL Inputed
294
  }
295
 
296
  // Wordpress
297
+ if ( $wordpress != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/wordpress.png')) {
298
+ ?><a href="<?php echo $wordpress; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/wordpress.png"alt="<?php echo $imgcaption; ?> Wordpress"title="<?php echo $imgcaption; ?> Wordpress" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
299
  } else {
300
  echo ''; //If No URL Inputed
301
  }
302
 
303
  // Yelp
304
+ if ( $yelp != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/yelp.png')) {
305
+ ?><a href="<?php echo $yelp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/yelp.png"alt="<?php echo $imgcaption; ?> Yelp"title="<?php echo $imgcaption; ?> Yelp" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
306
  } else {
307
  echo ''; //If No URL Inputed
308
  }
309
 
310
  // Last.fm
311
+ if ( $lastfm != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/lastfm.png')) {
312
+ ?><a href="<?php echo $lastfm; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/lastfm.png"alt="<?php echo $imgcaption; ?> Last.fm"title="<?php echo $imgcaption; ?> Last.fm" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
313
  } else {
314
  echo ''; //If no URL Inputed
315
  }
316
 
317
  // Foursquare
318
+ if ( $foursquare != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/foursquare.png')) {
319
+ ?><a href="<?php echo $foursquare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/foursquare.png"alt="<?php echo $imgcaption; ?> Foursquare"title="<?php echo $imgcaption; ?> Foursquare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
320
  } else {
321
  echo ''; //If no URL Inputed
322
  }
323
 
324
  // Meetup
325
+ if ( $meetup != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/meetup.png')) {
326
+ ?><a href="<?php echo $meetup; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/meetup.png"alt="<?php echo $imgcaption; ?> Meetup"title="<?php echo $imgcaption; ?> Meetup" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
327
  } else {
328
  echo ''; //If no URL Inputed
329
  }
330
 
331
  // Tungle.me
332
+ if ( $tungle != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/tungle.png')) {
333
+ ?><a href="<?php echo $tungle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/tungle.png"alt="<?php echo $imgcaption; ?> Tungle"title="<?php echo $imgcaption; ?> Tungle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
334
  } else {
335
  echo ''; //If no URL inputed
336
  }
337
 
338
  // PlanCast
339
+ if ( $plancast != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/plancast.png')) {
340
+ ?><a href="<?php echo $plancast; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/plancast.png"alt="<?php echo $imgcaption; ?> PlanCast"title="<?php echo $imgcaption; ?> PlanCast" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
341
  } else {
342
  echo ''; //If no URL inputed
343
  }
344
 
345
  // Hyves
346
+ if ( $slideshare != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/slideshare.png')) {
347
+ ?><a href="<?php echo $slideshare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/slideshare.png"alt="<?php echo $imgcaption; ?> SlideShare"title="<?php echo $imgcaption; ?> SlideShare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
348
  } else {
349
  echo ''; //If no URL inputed
350
  }
351
 
352
  // DeviantArt
353
+ if ( $deviantart != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/deviantart.png')) {
354
+ ?><a href="<?php echo $deviantart; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/deviantart.png"alt="<?php echo $imgcaption; ?> DeviantArt"title="<?php echo $imgcaption; ?> DeviantArt" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
355
+ } else {
356
+ echo ''; //If no URL inputed
357
+ }
358
+
359
+ // Live365
360
+ if ( $live365 != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/live365.png')) {
361
+ ?><a href="<?php echo $live365; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/live365.png"alt="<?php echo $imgcaption; ?> Live365"title="<?php echo $imgcaption; ?> Live365" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
362
  } else {
363
  echo ''; //If no URL inputed
364
  }
365
 
366
  // Digital Tunes
367
+ if ( $digitaltunes != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/digitaltunes.png')) {
368
+ ?><a href="<?php echo $digitaltunes; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/digitaltunes.png"alt="<?php echo $imgcaption; ?> Digital Tunes"title="<?php echo $imgcaption; ?> Digital Tunes" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
369
  } else {
370
  echo ''; //If no URL Inputed
371
  }
372
 
373
  // Soundcloud
374
+ if ( $soundcloud != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/soundcloud.png')) {
375
+ ?><a href="<?php echo $soundcloud; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/soundcloud.png"alt="<?php echo $imgcaption; ?> Soundcloud"title="<?php echo $imgcaption; ?> Soundcloud" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
376
  } else {
377
  echo ''; //If no URL Inputed
378
  }
379
 
380
  // Etsy
381
+ if ( $etsy != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/etsy.png')) {
382
+ ?><a href="<?php echo $etsy; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/etsy.png"alt="<?php echo $imgcaption; ?> Etsy"title="<?php echo $imgcaption; ?> Etsy" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
383
  } else {
384
  echo ''; //If no URL Inputed
385
  }
386
 
387
  // Better Business Bureau
388
+ if ( $bbb != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/bbb.png')) {
389
+ ?><a href="<?php echo $bbb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/bbb.png"alt="<?php echo $imgcaption; ?> Better Business Bureau"title="<?php echo $imgcaption; ?> Better Business Bureau" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
390
  } else {
391
  echo ''; //If no URL inputed
392
  }
393
 
394
  // Merchant Circle
395
+ if ( $merchantcircle != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/merchantcircle.png')) {
396
+ ?><a href="<?php echo $merchantcircle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/merchantcircle.png"alt="<?php echo $imgcaption; ?> Merchant Circle"title="<?php echo $imgcaption; ?> Merchant Circle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
397
  } else {
398
  echo ''; //If no URL inputed
399
  }
400
 
401
  // Custom Icon 1
402
  if ( $custom1url != '' && $custom1name != '' && $custom1icon != '' ) {
403
+ ?><a href="<?php echo $custom1url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom1icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom1name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom1name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
404
  } else {
405
  echo ''; //If no URL inputed
406
  }
407
 
408
  // Custom Icon 2
409
  if ( $custom2url != '' && $custom2name != '' && $custom2icon != '' ) {
410
+ ?><a href="<?php echo $custom2url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom2icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom2name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom2name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
411
  } else {
412
  echo ''; //If no URL inputed
413
  }
414
 
415
  // Custom Icon 3
416
  if ( $custom3url != '' && $custom3name != '' && $custom3icon != '' ) {
417
+ ?><a href="<?php echo $custom3url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom3icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom3name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom3name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
418
+ } else {
419
+ echo ''; //If no URL inputed
420
+ }
421
+
422
+ // Custom Icon 4
423
+ if ( $custom4url != '' && $custom4name != '' && $custom4icon != '' ) {
424
+ ?><a href="<?php echo $custom4url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom4icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom4name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom4name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
425
+ } else {
426
+ echo ''; //If no URL inputed
427
+ }
428
+
429
+ // Custom Icon 5
430
+ if ( $custom5url != '' && $custom5name != '' && $custom5icon != '' ) {
431
+ ?><a href="<?php echo $custom5url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom5icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom5name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom5name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
432
+ } else {
433
+ echo ''; //If no URL inputed
434
+ }
435
+
436
+ // Custom Icon 6
437
+ if ( $custom6url != '' && $custom6name != '' && $custom6icon != '' ) {
438
+ ?><a href="<?php echo $custom6url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom6icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom6name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom6name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
439
  } else {
440
  echo ''; //If no URL inputed
441
  }
442
 
443
  // RSS
444
+ if ( $rss != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/rss.png')) {
445
+ ?><a href="<?php echo $rss; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/rss.png" alt="<?php echo $imgcaption ?> RSS" title="<?php echo $imgcaption ?> RSS" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
446
  } else {
447
  echo '';// If no URL Inputed
448
  }
449
 
450
  // E-mail Subscription -- If Newsletter or Mailing List available
451
+ if ( $subscribe != '' && file_exists($smw_dir . '/images/' . $icon_pack. '/' . $icon_size .'/email.png')) {
452
+ ?><a href="<?php echo $subscribe; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/email.png" alt="<?php echo $imgcaption ?> E-mail" title="<?php echo $imgcaption ?> E-mail" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
453
  } else {
454
  echo ''; // If no URL Inputed
455
  }
466
 
467
  /* Strip Tags For Text Boxes */
468
  $instance['title'] = strip_tags( $new_instance['title'] );
469
+ $instance['imgcaption'] = strip_tags( $new_instance['imgcaption'] );
470
  $instance['facebook'] = strip_tags( $new_instance['facebook'] );
471
  $instance['twitter'] = strip_tags( $new_instance['twitter'] );
472
  $instance['myspace'] = strip_tags( $new_instance['myspace'] );
495
  $instance['plancast'] = strip_tags( $new_instance['plancast'] );
496
  $instance['slideshare'] = strip_tags( $new_instance['slideshare'] );
497
  $instance['deviantart'] = strip_tags( $new_instance['deviantart'] );
498
+ $instance['live365'] = strip_tags( $new_instance['live365'] );
499
  $instance['digitaltunes'] = strip_tags( $new_instance['digitaltunes'] );
500
  $instance['soundcloud'] = strip_tags( $new_instance['soundcloud'] );
501
  $instance['etsy'] = strip_tags( $new_instance['etsy'] );
506
  $instance['custom1url'] = strip_tags( $new_instance['custom1url'] );
507
  $instance['custom2name'] = strip_tags( $new_instance['custom2name'] );
508
  $instance['custom2icon'] = strip_tags( $new_instance['custom2icon'] );
509
+ $instance['custom2url'] = strip_tags( $new_instance['custom2url'] );
510
  $instance['custom3name'] = strip_tags( $new_instance['custom3name'] );
511
  $instance['custom3icon'] = strip_tags( $new_instance['custom3icon'] );
512
+ $instance['custom3url'] = strip_tags( $new_instance['custom3url'] );
513
+ $instance['custom4name'] = strip_tags( $new_instance['custom4name'] );
514
+ $instance['custom4icon'] = strip_tags( $new_instance['custom4icon'] );
515
+ $instance['custom4url'] = strip_tags( $new_instance['custom4url'] );
516
+ $instance['custom5name'] = strip_tags( $new_instance['custom5name'] );
517
+ $instance['custom5icon'] = strip_tags( $new_instance['custom5icon'] );
518
+ $instance['custom5url'] = strip_tags( $new_instance['custom5url'] );
519
+ $instance['custom6name'] = strip_tags( $new_instance['custom6name'] );
520
+ $instance['custom6icon'] = strip_tags( $new_instance['custom6icon'] );
521
+ $instance['custom6url'] = strip_tags( $new_instance['custom6url'] );
522
  $instance['rss_url'] = strip_tags( $new_instance['rss_url'] );
523
  $instance['subscribe'] = strip_tags( $new_instance['subscribe'] );
524
  $instance['icon_size'] = $new_instance['icon_size'];
540
 
541
  /* Set up some default widget settings. */
542
  $defaults = array(
543
+ 'title' => __('Follow Us!', 'smw'),
544
+ 'imgcaption' => __('Follow Us on', 'smw'),
545
  'facebook' => __('http://www.facebook.com/your_name', 'smw'),
546
  'twitter' => __('http://www.twitter.com/yourname', 'smw'),
547
  'myspace' => __('http://www.myspace.com/yourname', 'smw'),
557
  'reddit' => __('http://www.reddit.com/user/yourname', 'smw'),
558
  'delicious' => __('http://delicious.com/yourname', 'smw'),
559
  'stumble' => __('http://www.stumbleupon.com/stumbler/yourname', 'smw'),
560
+ 'tumblr' => __('http://yourname.tumblr.com', 'smw'),
561
  'buzz' => __('http://www.google.com/profiles/yourname#buzz', 'smw'),
562
  'vimeo' => __('http://www.vimeo.com/yourname', 'smw'),
563
  'blogger' => __('http://www.blogger.com/profile/youridnumber', 'smw'),
568
  'meetup' => __('http://www.meetup.com/your-group', 'smw'),
569
  'tungle' => __('', 'smw'),
570
  'plancast' => __('', 'smw'),
571
+ 'slideshare' => __('http://www.slideshare.net/nolimit2it/yourname', 'smw'),
572
+ 'deviantart' => __('http://yourname.deviantart.com/', 'smw'),
573
+ 'live365' => __('', 'smw'),
574
  'digitaltunes' => __('http://www.digital-tunes.net/user_profile/yourname', 'smw'),
575
  'soundcloud' => __('http://www.soundcloud.com/your-name', 'smw'),
576
+ 'etsy' => __('http://www.etsy.com/people/yourname', 'smw'),
577
+ 'bbb' => __('http://www.bbb.org/location/business-reviews/service/yourname', 'smw'),
578
+ 'merchantcircle' => __('http://www.merchantcircle.com/business/Your.Name.Number', 'smw'),
579
  'custom1name' => __('', 'smw'),
580
  'custom1icon' => __('', 'smw'),
581
  'custom1url' => __('', 'smw'),
585
  'custom3name' => __('', 'smw'),
586
  'custom3icon' => __('', 'smw'),
587
  'custom3url' => __('', 'smw'),
588
+ 'custom4name' => __('', 'smw'),
589
+ 'custom4icon' => __('', 'smw'),
590
+ 'custom4url' => __('', 'smw'),
591
+ 'custom5name' => __('', 'smw'),
592
+ 'custom5icon' => __('', 'smw'),
593
+ 'custom5url' => __('', 'smw'),
594
+ 'custom6name' => __('', 'smw'),
595
+ 'custom6icon' => __('', 'smw'),
596
+ 'custom6url' => __('', 'smw'),
597
  'rss_url' => __('http://www.yoursite.com/feed', 'smw'),
598
  'icon_size' => 'default',
599
  'icon_pack' => 'default',
612
  <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', 'smw'); ?></label>
613
  <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:85%;" />
614
  </p>
615
+
616
+ <!-- Image Caption: Text Input -->
617
+ <p>
618
+ <label for="<?php echo $this->get_field_id( 'imgcaption' ); ?>"><?php _e('Icon Alt and Title Tag:', 'smw'); ?></label>
619
+ <input id="<?php echo $this->get_field_id( 'imgcaption' ); ?>" name="<?php echo $this->get_field_name( 'imgcaption' ); ?>" value="<?php echo $instance['imgcaption']; ?>" style="width:85%;" />
620
+ </p>
621
 
622
  <!-- Facebook URL: Text Input -->
623
  <p>
757
  <label for="<?php echo $this->get_field_id( 'foursquare' ); ?>"><?php _e('Foursquare URL:', 'smw'); ?></label>
758
  <input id="<?php echo $this->get_field_id( 'foursquare' ); ?>" name="<?php echo $this->get_field_name( 'foursquare' ); ?>" value="<?php echo $instance['foursquare']; ?>" style="width:85%;" />
759
  </p>
760
+
 
761
  <!-- Meetup URL: Text Input -->
762
  <p>
763
  <label for="<?php echo $this->get_field_id( 'meetup' ); ?>"><?php _e('Meetup URL:', 'smw'); ?></label>
781
  <label for="<?php echo $this->get_field_id( 'slideshare' ); ?>"><?php _e('SlideShare URL:', 'smw'); ?></label>
782
  <input id="<?php echo $this->get_field_id( 'slideshare' ); ?>" name="<?php echo $this->get_field_name( 'slideshare' ); ?>" value="<?php echo $instance['slideshare']; ?>" style="width:85%;" />
783
  </p>
784
+ </div>
785
+ <div style="width: 48%; float: right; border-left: 1px solid #000; padding-left: 20px;">
786
  <!-- DeviantArt URL: Text Input -->
787
  <p>
788
  <label for="<?php echo $this->get_field_id( 'deviantart' ); ?>"><?php _e('DeviantArt URL:', 'smw'); ?></label>
789
  <input id="<?php echo $this->get_field_id( 'deviantart' ); ?>" name="<?php echo $this->get_field_name( 'deviantart' ); ?>" value="<?php echo $instance['deviantart']; ?>" style="width:85%;" />
790
  </p>
791
 
792
+ <!-- Live365 URL: Text Input -->
793
+ <p>
794
+ <label for="<?php echo $this->get_field_id( 'live365' ); ?>"><?php _e('Live365 URL:', 'smw'); ?></label>
795
+ <input id="<?php echo $this->get_field_id( 'live365' ); ?>" name="<?php echo $this->get_field_name( 'live365' ); ?>" value="<?php echo $instance['live365']; ?>" style="width:85%;" />
796
+ </p>
797
+
798
  <!-- Digital Tunes URL: Text Input -->
799
  <p>
800
  <label for="<?php echo $this->get_field_id( 'digitaltunes' ); ?>"><?php _e('Digital Tunes URL:', 'smw'); ?></label>
824
  <label for="<?php echo $this->get_field_id( 'merchantcircle' ); ?>"><?php _e('Merchant Circle URL:', 'smw'); ?></label>
825
  <input id="<?php echo $this->get_field_id( 'merchantcircle' ); ?>" name="<?php echo $this->get_field_name( 'merchantcircle' ); ?>" value="<?php echo $instance['merchantcircle']; ?>" style="width:85%;" />
826
  </p>
827
+ <p><em>Here you can input 6 custom icons. Make sure you input FULL urls to the icon (including http://). The images will resize both width and height to the icon size chosen.</em></p>
828
  <!-- Custom Service 1: Text Input -->
829
  <p>
830
  <label for="<?php echo $this->get_field_id( 'custom1name' ); ?>"><?php _e('Custom Service 1 Name:', 'smw'); ?></label>
855
  <input id="<?php echo $this->get_field_id( 'custom3url' ); ?>" name="<?php echo $this->get_field_name( 'custom3url' ); ?>" value="<?php echo $instance['custom3url']; ?>" style="width:85%;" />
856
  </p>
857
 
858
+ <!-- Custom Service 4: Text Input -->
859
+ <p>
860
+ <label for="<?php echo $this->get_field_id( 'custom4name' ); ?>"><?php _e('Custom Service 4 Name:', 'smw'); ?></label>
861
+ <input id="<?php echo $this->get_field_id( 'custom4name' ); ?>" name="<?php echo $this->get_field_name( 'custom4name' ); ?>" value="<?php echo $instance['custom4name']; ?>" style="width:85%;" />
862
+ <label for="<?php echo $this->get_field_id( 'custom4icon' ); ?>"><?php _e('Custom Service 4 Icon URL:', 'smw'); ?></label>
863
+ <input id="<?php echo $this->get_field_id( 'custom4icon' ); ?>" name="<?php echo $this->get_field_name( 'custom4icon' ); ?>" value="<?php echo $instance['custom4icon']; ?>" style="width:85%;" />
864
+ <label for="<?php echo $this->get_field_id( 'custom4url' ); ?>"><?php _e('Custom Service 4 Profile URL:', 'smw'); ?></label>
865
+ <input id="<?php echo $this->get_field_id( 'custom4url' ); ?>" name="<?php echo $this->get_field_name( 'custom4url' ); ?>" value="<?php echo $instance['custom4url']; ?>" style="width:85%;" />
866
+ </p>
867
+
868
+ <!-- Custom Service 5: Text Input -->
869
+ <p>
870
+ <label for="<?php echo $this->get_field_id( 'custom5name' ); ?>"><?php _e('Custom Service 5 Name:', 'smw'); ?></label>
871
+ <input id="<?php echo $this->get_field_id( 'custom5name' ); ?>" name="<?php echo $this->get_field_name( 'custom5name' ); ?>" value="<?php echo $instance['custom5name']; ?>" style="width:85%;" />
872
+ <label for="<?php echo $this->get_field_id( 'custom5icon' ); ?>"><?php _e('Custom Service 5 Icon URL:', 'smw'); ?></label>
873
+ <input id="<?php echo $this->get_field_id( 'custom5icon' ); ?>" name="<?php echo $this->get_field_name( 'custom5icon' ); ?>" value="<?php echo $instance['custom5icon']; ?>" style="width:85%;" />
874
+ <label for="<?php echo $this->get_field_id( 'custom5url' ); ?>"><?php _e('Custom Service 5 Profile URL:', 'smw'); ?></label>
875
+ <input id="<?php echo $this->get_field_id( 'custom5url' ); ?>" name="<?php echo $this->get_field_name( 'custom5url' ); ?>" value="<?php echo $instance['custom5url']; ?>" style="width:85%;" />
876
+ </p>
877
+
878
+ <!-- Custom Service 6: Text Input -->
879
+ <p>
880
+ <label for="<?php echo $this->get_field_id( 'custom6name' ); ?>"><?php _e('Custom Service 6 Name:', 'smw'); ?></label>
881
+ <input id="<?php echo $this->get_field_id( 'custom6name' ); ?>" name="<?php echo $this->get_field_name( 'custom6name' ); ?>" value="<?php echo $instance['custom6name']; ?>" style="width:85%;" />
882
+ <label for="<?php echo $this->get_field_id( 'custom6icon' ); ?>"><?php _e('Custom Service 6 Icon URL:', 'smw'); ?></label>
883
+ <input id="<?php echo $this->get_field_id( 'custom6icon' ); ?>" name="<?php echo $this->get_field_name( 'custom6icon' ); ?>" value="<?php echo $instance['custom6icon']; ?>" style="width:85%;" />
884
+ <label for="<?php echo $this->get_field_id( 'custom6url' ); ?>"><?php _e('Custom Service 6 Profile URL:', 'smw'); ?></label>
885
+ <input id="<?php echo $this->get_field_id( 'custom6url' ); ?>" name="<?php echo $this->get_field_name( 'custom6url' ); ?>" value="<?php echo $instance['custom6url']; ?>" style="width:85%;" />
886
+ </p>
887
+
888
  <!-- RSS URL: Text Input -->
889
  <p>
890
  <label for="<?php echo $this->get_field_id( 'rss_url' ); ?>"><?php _e('RSS URL:', 'smw'); ?></label>
917
  <option value="heart" <?php if($instance['icon_pack'] == 'heart') { echo 'selected'; } ?>>Heart Icons</option>
918
  <option value="default" <?php if($instance['icon_pack'] == 'default') { echo 'selected'; } ?>>Default Icons (Web2.0)</option>
919
  <option value="sketch" <?php if($instance['icon_pack'] == 'sketch') { echo 'selected'; } ?>>Sketch Icons</option>
920
+ <option value="custom" <?php if($instance['icon_pack'] == 'custom') { echo 'selected'; } ?>>Custom Icons</option>
921
  </select>
922
  </p>
923