Version Description
- Fixed incorrect comment for Google Plus (previously the comment said Facebook)
- Removed an errant extra quotation mark in the FriendFeed image tag
- Added inline image sizes to each of the icons for better validation support
- Changed the margin direction based on the alignment of the icons. Left margin for right aligned, right margin for left-aligned and centered.
Download this release
Release Info
Developer | brianfreytag |
Plugin | Social Media Widget |
Version | 2.9.5 |
Comparing to | |
See all releases |
Code changes from version 2.9.4 to 2.9.5
- readme.txt +9 -2
- social-widget.php +57 -57
- social_widget.css +13 -2
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: brianfreytag
|
3 |
Tags: social media, twitter, facebook, google+, googleplus, 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, ping, itunes, picasa, steam, google talk, pandora, hulu, ebay, flixster, imdb, bandcamp, ustream, pinterest
|
4 |
Requires at least: 2.9.2
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 2.9.
|
7 |
|
8 |
Adds links to all of your social media and sharing site profiles. Tons of icons come in 3 sizes, 4 icon styles, and 4 animations.
|
9 |
|
@@ -170,6 +170,13 @@ Please e-mail me at info at precisionwebdev dot com for help. My web server died
|
|
170 |
|
171 |
== Changelog ==
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
= 2.9.4 =
|
174 |
|
175 |
* Added support for Pinterest (Sorry about the large gap in time. Finally got some time to do this)
|
2 |
Contributors: brianfreytag
|
3 |
Tags: social media, twitter, facebook, google+, googleplus, 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, ping, itunes, picasa, steam, google talk, pandora, hulu, ebay, flixster, imdb, bandcamp, ustream, pinterest
|
4 |
Requires at least: 2.9.2
|
5 |
+
Tested up to: 3.4.2
|
6 |
+
Stable tag: 2.9.5
|
7 |
|
8 |
Adds links to all of your social media and sharing site profiles. Tons of icons come in 3 sizes, 4 icon styles, and 4 animations.
|
9 |
|
170 |
|
171 |
== Changelog ==
|
172 |
|
173 |
+
= 2.9.5 =
|
174 |
+
|
175 |
+
* Fixed incorrect comment for Google Plus (previously the comment said Facebook)
|
176 |
+
* Removed an errant extra quotation mark in the FriendFeed image tag
|
177 |
+
* Added inline image sizes to each of the icons for better validation support
|
178 |
+
* Changed the margin direction based on the alignment of the icons. Left margin for right aligned, right margin for left-aligned and centered.
|
179 |
+
|
180 |
= 2.9.4 =
|
181 |
|
182 |
* Added support for Pinterest (Sorry about the large gap in time. Finally got some time to do this)
|
social-widget.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Description: Adds links to all of your social media and sharing site profiles. Tons of icons come in 3 sizes, 4 icon styles, and 4 animations.
|
5 |
-
* Version: 2.9.
|
6 |
* Author: Brian Freytag
|
7 |
**/
|
8 |
|
@@ -195,21 +195,21 @@ class Social_Widget extends WP_Widget {
|
|
195 |
|
196 |
// Facebook
|
197 |
if ( $facebook != '' && $facebook != ' ' && file_exists($smw_dir.'/facebook.png')) {
|
198 |
-
?><a href="<?php echo $facebook; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
199 |
} else {
|
200 |
echo ''; //If no URL inputed
|
201 |
}
|
202 |
|
203 |
// Google Plus
|
204 |
if ( $googleplus != '' && $googleplus != ' ' && file_exists($smw_dir.'/googleplus.png')) {
|
205 |
-
?><a href="<?php echo $googleplus; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/googleplus.png" alt="<?php echo $imgcaption; ?> Google+" title="<?php echo $imgcaption ?> Google+" <?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
|
206 |
} else {
|
207 |
echo ''; //If no URL inputed
|
208 |
}
|
209 |
|
210 |
// Twitter
|
211 |
if ( $twitter != '' && $twitter != ' ' && file_exists($smw_dir.'/twitter.png')) {
|
212 |
-
?><a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
213 |
} else {
|
214 |
echo ''; //If no URL inputed
|
215 |
}
|
@@ -217,364 +217,364 @@ class Social_Widget extends WP_Widget {
|
|
217 |
|
218 |
// MySpace
|
219 |
if ( $myspace != '' && $myspace != ' ' && file_exists($smw_dir.'/myspace.png')) {
|
220 |
-
?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
221 |
} else {
|
222 |
echo ''; //If no URL inputed
|
223 |
}
|
224 |
|
225 |
// FriendFeed
|
226 |
if ( $friendfeed != '' && $friendfeed != ' ' && file_exists($smw_dir.'/friendfeed.png')) {
|
227 |
-
?><a href="<?php echo $friendfeed; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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; ?>"
|
228 |
} else {
|
229 |
echo ''; //If no URL inputed
|
230 |
}
|
231 |
|
232 |
// Orkut
|
233 |
if ( $orkut != '' && $orkut != ' ' && file_exists($smw_dir.'/orkut.png')) {
|
234 |
-
?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
235 |
} else {
|
236 |
echo ''; //If no URL inputed
|
237 |
}
|
238 |
|
239 |
// Hyves
|
240 |
if ( $hyves != '' && $hyves != ' ' && file_exists($smw_dir.'/hyves.png')) {
|
241 |
-
?><a href="<?php echo $hyves; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
242 |
} else {
|
243 |
echo ''; //If no URL inputed
|
244 |
}
|
245 |
|
246 |
// LinkedIN
|
247 |
if ( $linkedin != '' && $linkedin != ' ' && file_exists($smw_dir.'/linkedin.png')) {
|
248 |
-
?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
249 |
} else {
|
250 |
echo ''; //If no URL inputed
|
251 |
}
|
252 |
|
253 |
// aSmallWorld
|
254 |
if ( $asmallworld != '' && $asmallworld != ' ' && file_exists($smw_dir.'/asmallworld.png')) {
|
255 |
-
?><a href="<?php echo $asmallworld; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
256 |
} else {
|
257 |
echo ''; //If no URL inputed
|
258 |
}
|
259 |
|
260 |
// Flickr
|
261 |
if ( $flickr != '' && $flickr != ' ' && file_exists($smw_dir.'/flickr.png')) {
|
262 |
-
?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
263 |
} else {
|
264 |
echo ''; //If no URL inputed
|
265 |
}
|
266 |
|
267 |
// Picasa
|
268 |
if ( $picasa != '' && $picasa != ' ' && file_exists($smw_dir.'/picasa.png')) {
|
269 |
-
?><a href="<?php echo $picasa; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
270 |
} else {
|
271 |
echo ''; //If no URL inputed
|
272 |
}
|
273 |
|
274 |
// Pinterest
|
275 |
if ( $pinterest != '' && $pinterest != ' ' && file_exists($smw_dir.'/pinterest.png')) {
|
276 |
-
?><a href="<?php echo $pinterest; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
277 |
} else {
|
278 |
echo ''; //If No URL Inputed
|
279 |
}
|
280 |
|
281 |
// YouTube
|
282 |
if ( $youtube != '' && $youtube != ' ' && file_exists($smw_dir.'/youtube.png')) {
|
283 |
-
?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
284 |
} else {
|
285 |
echo ''; //If No URL Inputed
|
286 |
}
|
287 |
|
288 |
// Skype
|
289 |
if ( $skype != '' && $skype != ' ' && file_exists($smw_dir.'/skype.png')) {
|
290 |
-
?><a href="<?php echo $skype; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
291 |
} else {
|
292 |
echo ''; //If No URL Inputed
|
293 |
}
|
294 |
|
295 |
// Digg
|
296 |
if ( $digg != '' && $digg != ' ' && file_exists($smw_dir.'/digg.png')) {
|
297 |
-
?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
298 |
} else {
|
299 |
echo ''; //If no URL Inputed
|
300 |
}
|
301 |
|
302 |
// Reddit
|
303 |
if ( $reddit != '' && $reddit != ' ' && file_exists($smw_dir.'/reddit.png')) {
|
304 |
-
?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
305 |
} else {
|
306 |
echo ''; //If no URL Inputed
|
307 |
}
|
308 |
|
309 |
// Delicious
|
310 |
if ( $delicious != '' && $delicious != ' ' && file_exists($smw_dir.'/delicious.png')) {
|
311 |
-
?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
312 |
} else {
|
313 |
echo ''; //If no URL Inputed
|
314 |
}
|
315 |
|
316 |
// StumbleUpon
|
317 |
if ( $stumble != '' && $stumble != ' ' && file_exists($smw_dir.'/stumble.png')) {
|
318 |
-
?><a href="<?php echo $stumble; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
319 |
} else {
|
320 |
echo ''; //If no URL Inputed
|
321 |
}
|
322 |
|
323 |
// Tumblr
|
324 |
if ( $tumblr != '' && $tumblr != ' ' && file_exists($smw_dir.'/tumblr.png')) {
|
325 |
-
?><a href="<?php echo $tumblr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
326 |
} else {
|
327 |
echo ''; //If no URL Inputed
|
328 |
}
|
329 |
|
330 |
// Google Buzz
|
331 |
if ( $buzz != '' && $buzz != ' ' && file_exists($smw_dir.'/buzz.png')) {
|
332 |
-
?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
333 |
} else {
|
334 |
echo ''; //If no URL Inputed
|
335 |
}
|
336 |
|
337 |
// Google Talk
|
338 |
if ( $talk != '' && $talk != ' ' && file_exists($smw_dir.'/talk.png')) {
|
339 |
-
?><a href="<?php echo $talk; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
340 |
} else {
|
341 |
echo ''; //If no URL Inputed
|
342 |
}
|
343 |
|
344 |
// Vimeo
|
345 |
if ( $vimeo != '' && $vimeo != ' ' && file_exists($smw_dir.'/vimeo.png')) {
|
346 |
-
?><a href="<?php echo $vimeo; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
347 |
} else {
|
348 |
echo ''; //If no URL Inputed
|
349 |
}
|
350 |
|
351 |
// Blogger
|
352 |
if ( $blogger != '' && $blogger != ' ' && file_exists($smw_dir.'/blogger.png')) {
|
353 |
-
?><a href="<?php echo $blogger; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
354 |
} else {
|
355 |
echo ''; //If No URL Inputed
|
356 |
}
|
357 |
|
358 |
// Wordpress
|
359 |
if ( $wordpress != '' && $wordpress != ' ' && file_exists($smw_dir.'/wordpress.png')) {
|
360 |
-
?><a href="<?php echo $wordpress; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
361 |
} else {
|
362 |
echo ''; //If No URL Inputed
|
363 |
}
|
364 |
|
365 |
// Yelp
|
366 |
if ( $yelp != '' && $yelp != ' ' && file_exists($smw_dir.'/yelp.png')) {
|
367 |
-
?><a href="<?php echo $yelp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
368 |
} else {
|
369 |
echo ''; //If No URL Inputed
|
370 |
}
|
371 |
|
372 |
// Last.fm
|
373 |
if ( $lastfm != '' && $lastfm != ' ' && file_exists($smw_dir.'/lastfm.png')) {
|
374 |
-
?><a href="<?php echo $lastfm; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
375 |
} else {
|
376 |
echo ''; //If no URL Inputed
|
377 |
}
|
378 |
|
379 |
// Pandora
|
380 |
if ( $pandora != '' && $pandora != ' ' && file_exists($smw_dir.'/pandora.png')) {
|
381 |
-
?><a href="<?php echo $pandora; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
382 |
} else {
|
383 |
echo ''; //If no URL Inputed
|
384 |
}
|
385 |
|
386 |
// Ustream
|
387 |
if ( $ustream != '' && $ustream != ' ' && file_exists($smw_dir.'/ustream.png')) {
|
388 |
-
?><a href="<?php echo $ustream; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
389 |
} else {
|
390 |
echo ''; //If no URL Inputed
|
391 |
}
|
392 |
|
393 |
// IMDb
|
394 |
if ( $imdb != '' && $imdb != ' ' && file_exists($smw_dir.'/imdb.png')) {
|
395 |
-
?><a href="<?php echo $imdb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
396 |
} else {
|
397 |
echo ''; //If no URL Inputed
|
398 |
}
|
399 |
|
400 |
// Hulu
|
401 |
if ( $hulu != '' && $hulu != ' ' && file_exists($smw_dir.'/hulu.png')) {
|
402 |
-
?><a href="<?php echo $hulu; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
403 |
} else {
|
404 |
echo ''; //If no URL Inputed
|
405 |
}
|
406 |
|
407 |
// Flixster
|
408 |
if ( $flixster != '' && $flixster != ' ' && file_exists($smw_dir.'/flixster.png')) {
|
409 |
-
?><a href="<?php echo $flixster; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
410 |
} else {
|
411 |
echo ''; //If no URL Inputed
|
412 |
}
|
413 |
|
414 |
// Foursquare
|
415 |
if ( $foursquare != '' && $foursquare != ' ' && file_exists($smw_dir.'/foursquare.png')) {
|
416 |
-
?><a href="<?php echo $foursquare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
417 |
} else {
|
418 |
echo ''; //If no URL Inputed
|
419 |
}
|
420 |
|
421 |
// Meetup
|
422 |
if ( $meetup != '' && $meetup != ' ' && file_exists($smw_dir.'/meetup.png')) {
|
423 |
-
?><a href="<?php echo $meetup; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
424 |
} else {
|
425 |
echo ''; //If no URL Inputed
|
426 |
}
|
427 |
|
428 |
// Tungle.me
|
429 |
if ( $tungle != '' && $tungle != ' ' && file_exists($smw_dir.'/tungle.png')) {
|
430 |
-
?><a href="<?php echo $tungle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
431 |
} else {
|
432 |
echo ''; //If no URL inputed
|
433 |
}
|
434 |
|
435 |
// PlanCast
|
436 |
if ( $plancast != '' && $plancast != ' ' && file_exists($smw_dir.'/plancast.png')) {
|
437 |
-
?><a href="<?php echo $plancast; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
438 |
} else {
|
439 |
echo ''; //If no URL inputed
|
440 |
}
|
441 |
|
442 |
// Hyves
|
443 |
if ( $slideshare != '' && $slideshare != ' ' && file_exists($smw_dir.'/slideshare.png')) {
|
444 |
-
?><a href="<?php echo $slideshare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
445 |
} else {
|
446 |
echo ''; //If no URL inputed
|
447 |
}
|
448 |
|
449 |
// DeviantArt
|
450 |
if ( $deviantart != '' && $deviantart != ' ' && file_exists($smw_dir.'/deviantart.png')) {
|
451 |
-
?><a href="<?php echo $deviantart; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
452 |
} else {
|
453 |
echo ''; //If no URL inputed
|
454 |
}
|
455 |
|
456 |
// iTunes Ping
|
457 |
if ( $ping != '' && $ping != ' ' && file_exists($smw_dir.'/ping.png')) {
|
458 |
-
?><a href="<?php echo $ping; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/ping.png" alt="<?php echo $imgcaption; ?> iTunes Ping" title="<?php echo $imgcaption; ?> iTunes Ping" <?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
|
459 |
} else {
|
460 |
echo ''; //If no URL inputed
|
461 |
}
|
462 |
|
463 |
// Live365
|
464 |
if ( $live365 != '' && $live365 != ' ' && file_exists($smw_dir.'/live365.png')) {
|
465 |
-
?><a href="<?php echo $live365; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
466 |
} else {
|
467 |
echo ''; //If no URL inputed
|
468 |
}
|
469 |
|
470 |
// Digital Tunes
|
471 |
if ( $digitaltunes != '' && $digitaltunes != ' ' && file_exists($smw_dir.'/digitaltunes.png')) {
|
472 |
-
?><a href="<?php echo $digitaltunes; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
473 |
} else {
|
474 |
echo ''; //If no URL Inputed
|
475 |
}
|
476 |
|
477 |
// Soundcloud
|
478 |
if ( $soundcloud != '' && $soundcloud != ' ' && file_exists($smw_dir.'/soundcloud.png')) {
|
479 |
-
?><a href="<?php echo $soundcloud; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
480 |
} else {
|
481 |
echo ''; //If no URL Inputed
|
482 |
}
|
483 |
|
484 |
// BandCamp
|
485 |
if ( $bandcamp != '' && $bandcamp != ' ' && file_exists($smw_dir.'/bandcamp.png')) {
|
486 |
-
?><a href="<?php echo $bandcamp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
487 |
} else {
|
488 |
echo ''; //If no URL Inputed
|
489 |
}
|
490 |
|
491 |
// Etsy
|
492 |
if ( $etsy != '' && $etsy != ' ' && file_exists($smw_dir.'/etsy.png')) {
|
493 |
-
?><a href="<?php echo $etsy; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
494 |
} else {
|
495 |
echo ''; //If no URL Inputed
|
496 |
}
|
497 |
|
498 |
// Better Business Bureau
|
499 |
if ( $bbb != '' && $bbb != ' ' && file_exists($smw_dir.'/bbb.png')) {
|
500 |
-
?><a href="<?php echo $bbb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
501 |
} else {
|
502 |
echo ''; //If no URL inputed
|
503 |
}
|
504 |
|
505 |
// Merchant Circle
|
506 |
if ( $merchantcircle != '' && $merchantcircle != ' ' && file_exists($smw_dir.'/merchantcircle.png')) {
|
507 |
-
?><a href="<?php echo $merchantcircle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/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
|
508 |
} else {
|
509 |
echo ''; //If no URL inputed
|
510 |
}
|
511 |
|
512 |
// Ebay
|
513 |
if ( $ebay != '' && $ebay != ' ' && file_exists($smw_dir.'/ebay.png')) {
|
514 |
-
?><a href="<?php echo $ebay; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
515 |
} else {
|
516 |
echo ''; //If no URL Inputed
|
517 |
}
|
518 |
|
519 |
// Steam
|
520 |
if ( $steam != '' && $steam != ' ' && file_exists($smw_dir.'/steam.png')) {
|
521 |
-
?><a href="<?php echo $steam; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
522 |
} else {
|
523 |
echo ''; //If no URL Inputed
|
524 |
}
|
525 |
|
526 |
// Custom Icon 1
|
527 |
if ( $custom1url != '' && $custom1name != '' && $custom1icon != '' ) {
|
528 |
-
?><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
|
529 |
} else {
|
530 |
echo ''; //If no URL inputed
|
531 |
}
|
532 |
|
533 |
// Custom Icon 2
|
534 |
if ( $custom2url != '' && $custom2name != '' && $custom2icon != '' ) {
|
535 |
-
?><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
|
536 |
} else {
|
537 |
echo ''; //If no URL inputed
|
538 |
}
|
539 |
|
540 |
// Custom Icon 3
|
541 |
if ( $custom3url != '' && $custom3name != '' && $custom3icon != '' ) {
|
542 |
-
?><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
|
543 |
} else {
|
544 |
echo ''; //If no URL inputed
|
545 |
}
|
546 |
|
547 |
// Custom Icon 4
|
548 |
if ( $custom4url != '' && $custom4name != '' && $custom4icon != '' ) {
|
549 |
-
?><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
|
550 |
} else {
|
551 |
echo ''; //If no URL inputed
|
552 |
}
|
553 |
|
554 |
// Custom Icon 5
|
555 |
if ( $custom5url != '' && $custom5name != '' && $custom5icon != '' ) {
|
556 |
-
?><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
|
557 |
} else {
|
558 |
echo ''; //If no URL inputed
|
559 |
}
|
560 |
|
561 |
// Custom Icon 6
|
562 |
if ( $custom6url != '' && $custom6name != '' && $custom6icon != '' ) {
|
563 |
-
?><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
|
564 |
} else {
|
565 |
echo ''; //If no URL inputed
|
566 |
}
|
567 |
|
568 |
// RSS
|
569 |
if ( $rss != '' && $rss != ' ' && file_exists($smw_dir.'/rss.png')) {
|
570 |
-
?><a href="<?php echo $rss; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
571 |
} else {
|
572 |
echo '';// If no URL Inputed
|
573 |
}
|
574 |
|
575 |
// E-mail Subscription -- If Newsletter or Mailing List available
|
576 |
if ( $subscribe != '' && $subscribe != ' ' && file_exists($smw_dir.'/email.png')) {
|
577 |
-
?><a href="<?php echo $subscribe; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img
|
578 |
} else {
|
579 |
echo ''; // If no URL Inputed
|
580 |
}
|
@@ -876,7 +876,7 @@ class Social_Widget extends WP_Widget {
|
|
876 |
<input id="<?php echo $this->get_field_id( 'facebook' ); ?>" name="<?php echo $this->get_field_name( 'facebook' ); ?>" value="<?php echo $instance['facebook']; ?>" style="width:85%;" />
|
877 |
</p>
|
878 |
|
879 |
-
<!--
|
880 |
<p>
|
881 |
<label for="<?php echo $this->get_field_id( 'googleplus' ); ?>"><?php _e('Google+ URL:', 'smw'); ?></label>
|
882 |
<input id="<?php echo $this->get_field_id( 'googleplus' ); ?>" name="<?php echo $this->get_field_name( 'googleplus' ); ?>" value="<?php echo $instance['googleplus']; ?>" style="width:85%;" />
|
2 |
/**
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Description: Adds links to all of your social media and sharing site profiles. Tons of icons come in 3 sizes, 4 icon styles, and 4 animations.
|
5 |
+
* Version: 2.9.5
|
6 |
* Author: Brian Freytag
|
7 |
**/
|
8 |
|
195 |
|
196 |
// Facebook
|
197 |
if ( $facebook != '' && $facebook != ' ' && file_exists($smw_dir.'/facebook.png')) {
|
198 |
+
?><a href="<?php echo $facebook; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
199 |
} else {
|
200 |
echo ''; //If no URL inputed
|
201 |
}
|
202 |
|
203 |
// Google Plus
|
204 |
if ( $googleplus != '' && $googleplus != ' ' && file_exists($smw_dir.'/googleplus.png')) {
|
205 |
+
?><a href="<?php echo $googleplus; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/googleplus.png" alt="<?php echo $imgcaption; ?> Google+" title="<?php echo $imgcaption ?> Google+" <?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
|
206 |
} else {
|
207 |
echo ''; //If no URL inputed
|
208 |
}
|
209 |
|
210 |
// Twitter
|
211 |
if ( $twitter != '' && $twitter != ' ' && file_exists($smw_dir.'/twitter.png')) {
|
212 |
+
?><a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
213 |
} else {
|
214 |
echo ''; //If no URL inputed
|
215 |
}
|
217 |
|
218 |
// MySpace
|
219 |
if ( $myspace != '' && $myspace != ' ' && file_exists($smw_dir.'/myspace.png')) {
|
220 |
+
?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
221 |
} else {
|
222 |
echo ''; //If no URL inputed
|
223 |
}
|
224 |
|
225 |
// FriendFeed
|
226 |
if ( $friendfeed != '' && $friendfeed != ' ' && file_exists($smw_dir.'/friendfeed.png')) {
|
227 |
+
?><a href="<?php echo $friendfeed; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
228 |
} else {
|
229 |
echo ''; //If no URL inputed
|
230 |
}
|
231 |
|
232 |
// Orkut
|
233 |
if ( $orkut != '' && $orkut != ' ' && file_exists($smw_dir.'/orkut.png')) {
|
234 |
+
?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
235 |
} else {
|
236 |
echo ''; //If no URL inputed
|
237 |
}
|
238 |
|
239 |
// Hyves
|
240 |
if ( $hyves != '' && $hyves != ' ' && file_exists($smw_dir.'/hyves.png')) {
|
241 |
+
?><a href="<?php echo $hyves; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
242 |
} else {
|
243 |
echo ''; //If no URL inputed
|
244 |
}
|
245 |
|
246 |
// LinkedIN
|
247 |
if ( $linkedin != '' && $linkedin != ' ' && file_exists($smw_dir.'/linkedin.png')) {
|
248 |
+
?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
249 |
} else {
|
250 |
echo ''; //If no URL inputed
|
251 |
}
|
252 |
|
253 |
// aSmallWorld
|
254 |
if ( $asmallworld != '' && $asmallworld != ' ' && file_exists($smw_dir.'/asmallworld.png')) {
|
255 |
+
?><a href="<?php echo $asmallworld; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
256 |
} else {
|
257 |
echo ''; //If no URL inputed
|
258 |
}
|
259 |
|
260 |
// Flickr
|
261 |
if ( $flickr != '' && $flickr != ' ' && file_exists($smw_dir.'/flickr.png')) {
|
262 |
+
?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
263 |
} else {
|
264 |
echo ''; //If no URL inputed
|
265 |
}
|
266 |
|
267 |
// Picasa
|
268 |
if ( $picasa != '' && $picasa != ' ' && file_exists($smw_dir.'/picasa.png')) {
|
269 |
+
?><a href="<?php echo $picasa; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/picasa.png" alt="<?php echo $imgcaption; ?> Picasa" title="<?php echo $imgcaption; ?> Picasa" <?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 |
// Pinterest
|
275 |
if ( $pinterest != '' && $pinterest != ' ' && file_exists($smw_dir.'/pinterest.png')) {
|
276 |
+
?><a href="<?php echo $pinterest; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/pinterest.png" alt="<?php echo $imgcaption; ?> Pinterest" title="<?php echo $imgcaption; ?> Pinterest" <?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 |
// YouTube
|
282 |
if ( $youtube != '' && $youtube != ' ' && file_exists($smw_dir.'/youtube.png')) {
|
283 |
+
?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
284 |
} else {
|
285 |
echo ''; //If No URL Inputed
|
286 |
}
|
287 |
|
288 |
// Skype
|
289 |
if ( $skype != '' && $skype != ' ' && file_exists($smw_dir.'/skype.png')) {
|
290 |
+
?><a href="<?php echo $skype; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
291 |
} else {
|
292 |
echo ''; //If No URL Inputed
|
293 |
}
|
294 |
|
295 |
// Digg
|
296 |
if ( $digg != '' && $digg != ' ' && file_exists($smw_dir.'/digg.png')) {
|
297 |
+
?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
298 |
} else {
|
299 |
echo ''; //If no URL Inputed
|
300 |
}
|
301 |
|
302 |
// Reddit
|
303 |
if ( $reddit != '' && $reddit != ' ' && file_exists($smw_dir.'/reddit.png')) {
|
304 |
+
?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
305 |
} else {
|
306 |
echo ''; //If no URL Inputed
|
307 |
}
|
308 |
|
309 |
// Delicious
|
310 |
if ( $delicious != '' && $delicious != ' ' && file_exists($smw_dir.'/delicious.png')) {
|
311 |
+
?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
312 |
} else {
|
313 |
echo ''; //If no URL Inputed
|
314 |
}
|
315 |
|
316 |
// StumbleUpon
|
317 |
if ( $stumble != '' && $stumble != ' ' && file_exists($smw_dir.'/stumble.png')) {
|
318 |
+
?><a href="<?php echo $stumble; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
319 |
} else {
|
320 |
echo ''; //If no URL Inputed
|
321 |
}
|
322 |
|
323 |
// Tumblr
|
324 |
if ( $tumblr != '' && $tumblr != ' ' && file_exists($smw_dir.'/tumblr.png')) {
|
325 |
+
?><a href="<?php echo $tumblr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
326 |
} else {
|
327 |
echo ''; //If no URL Inputed
|
328 |
}
|
329 |
|
330 |
// Google Buzz
|
331 |
if ( $buzz != '' && $buzz != ' ' && file_exists($smw_dir.'/buzz.png')) {
|
332 |
+
?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
333 |
} else {
|
334 |
echo ''; //If no URL Inputed
|
335 |
}
|
336 |
|
337 |
// Google Talk
|
338 |
if ( $talk != '' && $talk != ' ' && file_exists($smw_dir.'/talk.png')) {
|
339 |
+
?><a href="<?php echo $talk; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/talk.png" alt="<?php echo $imgcaption; ?> Google Talk" title="<?php echo $imgcaption; ?> Google Talk" <?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 |
// Vimeo
|
345 |
if ( $vimeo != '' && $vimeo != ' ' && file_exists($smw_dir.'/vimeo.png')) {
|
346 |
+
?><a href="<?php echo $vimeo; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
347 |
} else {
|
348 |
echo ''; //If no URL Inputed
|
349 |
}
|
350 |
|
351 |
// Blogger
|
352 |
if ( $blogger != '' && $blogger != ' ' && file_exists($smw_dir.'/blogger.png')) {
|
353 |
+
?><a href="<?php echo $blogger; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
354 |
} else {
|
355 |
echo ''; //If No URL Inputed
|
356 |
}
|
357 |
|
358 |
// Wordpress
|
359 |
if ( $wordpress != '' && $wordpress != ' ' && file_exists($smw_dir.'/wordpress.png')) {
|
360 |
+
?><a href="<?php echo $wordpress; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
361 |
} else {
|
362 |
echo ''; //If No URL Inputed
|
363 |
}
|
364 |
|
365 |
// Yelp
|
366 |
if ( $yelp != '' && $yelp != ' ' && file_exists($smw_dir.'/yelp.png')) {
|
367 |
+
?><a href="<?php echo $yelp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
368 |
} else {
|
369 |
echo ''; //If No URL Inputed
|
370 |
}
|
371 |
|
372 |
// Last.fm
|
373 |
if ( $lastfm != '' && $lastfm != ' ' && file_exists($smw_dir.'/lastfm.png')) {
|
374 |
+
?><a href="<?php echo $lastfm; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
375 |
} else {
|
376 |
echo ''; //If no URL Inputed
|
377 |
}
|
378 |
|
379 |
// Pandora
|
380 |
if ( $pandora != '' && $pandora != ' ' && file_exists($smw_dir.'/pandora.png')) {
|
381 |
+
?><a href="<?php echo $pandora; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/pandora.png" alt="<?php echo $imgcaption; ?> Pandora" title="<?php echo $imgcaption; ?> Pandora" <?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
|
382 |
} else {
|
383 |
echo ''; //If no URL Inputed
|
384 |
}
|
385 |
|
386 |
// Ustream
|
387 |
if ( $ustream != '' && $ustream != ' ' && file_exists($smw_dir.'/ustream.png')) {
|
388 |
+
?><a href="<?php echo $ustream; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/ustream.png" alt="<?php echo $imgcaption; ?> UStream" title="<?php echo $imgcaption; ?> UStream" <?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
|
389 |
} else {
|
390 |
echo ''; //If no URL Inputed
|
391 |
}
|
392 |
|
393 |
// IMDb
|
394 |
if ( $imdb != '' && $imdb != ' ' && file_exists($smw_dir.'/imdb.png')) {
|
395 |
+
?><a href="<?php echo $imdb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/imdb.png" alt="<?php echo $imgcaption; ?> IMDb" title="<?php echo $imgcaption; ?> IMDb" <?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
|
396 |
} else {
|
397 |
echo ''; //If no URL Inputed
|
398 |
}
|
399 |
|
400 |
// Hulu
|
401 |
if ( $hulu != '' && $hulu != ' ' && file_exists($smw_dir.'/hulu.png')) {
|
402 |
+
?><a href="<?php echo $hulu; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/hulu.png" alt="<?php echo $imgcaption; ?> hulu" title="<?php echo $imgcaption; ?> hulu" <?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 |
// Flixster
|
408 |
if ( $flixster != '' && $flixster != ' ' && file_exists($smw_dir.'/flixster.png')) {
|
409 |
+
?><a href="<?php echo $flixster; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/flixster.png" alt="<?php echo $imgcaption; ?> Flixster" title="<?php echo $imgcaption; ?> Flixster" <?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 |
}
|
413 |
|
414 |
// Foursquare
|
415 |
if ( $foursquare != '' && $foursquare != ' ' && file_exists($smw_dir.'/foursquare.png')) {
|
416 |
+
?><a href="<?php echo $foursquare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
417 |
} else {
|
418 |
echo ''; //If no URL Inputed
|
419 |
}
|
420 |
|
421 |
// Meetup
|
422 |
if ( $meetup != '' && $meetup != ' ' && file_exists($smw_dir.'/meetup.png')) {
|
423 |
+
?><a href="<?php echo $meetup; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
424 |
} else {
|
425 |
echo ''; //If no URL Inputed
|
426 |
}
|
427 |
|
428 |
// Tungle.me
|
429 |
if ( $tungle != '' && $tungle != ' ' && file_exists($smw_dir.'/tungle.png')) {
|
430 |
+
?><a href="<?php echo $tungle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
431 |
} else {
|
432 |
echo ''; //If no URL inputed
|
433 |
}
|
434 |
|
435 |
// PlanCast
|
436 |
if ( $plancast != '' && $plancast != ' ' && file_exists($smw_dir.'/plancast.png')) {
|
437 |
+
?><a href="<?php echo $plancast; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
438 |
} else {
|
439 |
echo ''; //If no URL inputed
|
440 |
}
|
441 |
|
442 |
// Hyves
|
443 |
if ( $slideshare != '' && $slideshare != ' ' && file_exists($smw_dir.'/slideshare.png')) {
|
444 |
+
?><a href="<?php echo $slideshare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px"src="<?php echo $smw_path; ?>/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
|
445 |
} else {
|
446 |
echo ''; //If no URL inputed
|
447 |
}
|
448 |
|
449 |
// DeviantArt
|
450 |
if ( $deviantart != '' && $deviantart != ' ' && file_exists($smw_dir.'/deviantart.png')) {
|
451 |
+
?><a href="<?php echo $deviantart; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
452 |
} else {
|
453 |
echo ''; //If no URL inputed
|
454 |
}
|
455 |
|
456 |
// iTunes Ping
|
457 |
if ( $ping != '' && $ping != ' ' && file_exists($smw_dir.'/ping.png')) {
|
458 |
+
?><a href="<?php echo $ping; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/ping.png" alt="<?php echo $imgcaption; ?> iTunes Ping" title="<?php echo $imgcaption; ?> iTunes Ping" <?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
|
459 |
} else {
|
460 |
echo ''; //If no URL inputed
|
461 |
}
|
462 |
|
463 |
// Live365
|
464 |
if ( $live365 != '' && $live365 != ' ' && file_exists($smw_dir.'/live365.png')) {
|
465 |
+
?><a href="<?php echo $live365; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
466 |
} else {
|
467 |
echo ''; //If no URL inputed
|
468 |
}
|
469 |
|
470 |
// Digital Tunes
|
471 |
if ( $digitaltunes != '' && $digitaltunes != ' ' && file_exists($smw_dir.'/digitaltunes.png')) {
|
472 |
+
?><a href="<?php echo $digitaltunes; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
473 |
} else {
|
474 |
echo ''; //If no URL Inputed
|
475 |
}
|
476 |
|
477 |
// Soundcloud
|
478 |
if ( $soundcloud != '' && $soundcloud != ' ' && file_exists($smw_dir.'/soundcloud.png')) {
|
479 |
+
?><a href="<?php echo $soundcloud; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
480 |
} else {
|
481 |
echo ''; //If no URL Inputed
|
482 |
}
|
483 |
|
484 |
// BandCamp
|
485 |
if ( $bandcamp != '' && $bandcamp != ' ' && file_exists($smw_dir.'/bandcamp.png')) {
|
486 |
+
?><a href="<?php echo $bandcamp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/bandcamp.png" alt="<?php echo $imgcaption; ?> Bandcamp" title="<?php echo $imgcaption; ?> Bandcamp" <?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
|
487 |
} else {
|
488 |
echo ''; //If no URL Inputed
|
489 |
}
|
490 |
|
491 |
// Etsy
|
492 |
if ( $etsy != '' && $etsy != ' ' && file_exists($smw_dir.'/etsy.png')) {
|
493 |
+
?><a href="<?php echo $etsy; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
494 |
} else {
|
495 |
echo ''; //If no URL Inputed
|
496 |
}
|
497 |
|
498 |
// Better Business Bureau
|
499 |
if ( $bbb != '' && $bbb != ' ' && file_exists($smw_dir.'/bbb.png')) {
|
500 |
+
?><a href="<?php echo $bbb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
501 |
} else {
|
502 |
echo ''; //If no URL inputed
|
503 |
}
|
504 |
|
505 |
// Merchant Circle
|
506 |
if ( $merchantcircle != '' && $merchantcircle != ' ' && file_exists($smw_dir.'/merchantcircle.png')) {
|
507 |
+
?><a href="<?php echo $merchantcircle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
508 |
} else {
|
509 |
echo ''; //If no URL inputed
|
510 |
}
|
511 |
|
512 |
// Ebay
|
513 |
if ( $ebay != '' && $ebay != ' ' && file_exists($smw_dir.'/ebay.png')) {
|
514 |
+
?><a href="<?php echo $ebay; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/ebay.png" alt="<?php echo $imgcaption; ?> Ebay" title="<?php echo $imgcaption; ?> Ebay" <?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
|
515 |
} else {
|
516 |
echo ''; //If no URL Inputed
|
517 |
}
|
518 |
|
519 |
// Steam
|
520 |
if ( $steam != '' && $steam != ' ' && file_exists($smw_dir.'/steam.png')) {
|
521 |
+
?><a href="<?php echo $steam; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/steam.png" alt="<?php echo $imgcaption; ?> Steam" title="<?php echo $imgcaption; ?> Steam" <?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
|
522 |
} else {
|
523 |
echo ''; //If no URL Inputed
|
524 |
}
|
525 |
|
526 |
// Custom Icon 1
|
527 |
if ( $custom1url != '' && $custom1name != '' && $custom1icon != '' ) {
|
528 |
+
?><a href="<?php echo $custom1url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" 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
|
529 |
} else {
|
530 |
echo ''; //If no URL inputed
|
531 |
}
|
532 |
|
533 |
// Custom Icon 2
|
534 |
if ( $custom2url != '' && $custom2name != '' && $custom2icon != '' ) {
|
535 |
+
?><a href="<?php echo $custom2url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" 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
|
536 |
} else {
|
537 |
echo ''; //If no URL inputed
|
538 |
}
|
539 |
|
540 |
// Custom Icon 3
|
541 |
if ( $custom3url != '' && $custom3name != '' && $custom3icon != '' ) {
|
542 |
+
?><a href="<?php echo $custom3url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" 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
|
543 |
} else {
|
544 |
echo ''; //If no URL inputed
|
545 |
}
|
546 |
|
547 |
// Custom Icon 4
|
548 |
if ( $custom4url != '' && $custom4name != '' && $custom4icon != '' ) {
|
549 |
+
?><a href="<?php echo $custom4url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" 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
|
550 |
} else {
|
551 |
echo ''; //If no URL inputed
|
552 |
}
|
553 |
|
554 |
// Custom Icon 5
|
555 |
if ( $custom5url != '' && $custom5name != '' && $custom5icon != '' ) {
|
556 |
+
?><a href="<?php echo $custom5url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" 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
|
557 |
} else {
|
558 |
echo ''; //If no URL inputed
|
559 |
}
|
560 |
|
561 |
// Custom Icon 6
|
562 |
if ( $custom6url != '' && $custom6name != '' && $custom6icon != '' ) {
|
563 |
+
?><a href="<?php echo $custom6url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" 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
|
564 |
} else {
|
565 |
echo ''; //If no URL inputed
|
566 |
}
|
567 |
|
568 |
// RSS
|
569 |
if ( $rss != '' && $rss != ' ' && file_exists($smw_dir.'/rss.png')) {
|
570 |
+
?><a href="<?php echo $rss; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
571 |
} else {
|
572 |
echo '';// If no URL Inputed
|
573 |
}
|
574 |
|
575 |
// E-mail Subscription -- If Newsletter or Mailing List available
|
576 |
if ( $subscribe != '' && $subscribe != ' ' && file_exists($smw_dir.'/email.png')) {
|
577 |
+
?><a href="<?php echo $subscribe; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img width="<?php echo $icon_size; ?>px" height="<?php echo $icon_size; ?>px" src="<?php echo $smw_path; ?>/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
|
578 |
} else {
|
579 |
echo ''; // If no URL Inputed
|
580 |
}
|
876 |
<input id="<?php echo $this->get_field_id( 'facebook' ); ?>" name="<?php echo $this->get_field_name( 'facebook' ); ?>" value="<?php echo $instance['facebook']; ?>" style="width:85%;" />
|
877 |
</p>
|
878 |
|
879 |
+
<!-- Google Plus URL: Text Input -->
|
880 |
<p>
|
881 |
<label for="<?php echo $this->get_field_id( 'googleplus' ); ?>"><?php _e('Google+ URL:', 'smw'); ?></label>
|
882 |
<input id="<?php echo $this->get_field_id( 'googleplus' ); ?>" name="<?php echo $this->get_field_name( 'googleplus' ); ?>" value="<?php echo $instance['googleplus']; ?>" style="width:85%;" />
|
social_widget.css
CHANGED
@@ -21,8 +21,9 @@ li.Social_Widget a {
|
|
21 |
margin: 0 !important;
|
22 |
background: none !important;
|
23 |
}
|
24 |
-
|
25 |
-
.
|
|
|
26 |
border: 0;
|
27 |
border: 0 !important;
|
28 |
margin-right: 10px !important;
|
@@ -32,6 +33,16 @@ li.Social_Widget a {
|
|
32 |
transition: all 0.2s ease;
|
33 |
}
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
.socialmedia-buttons a {
|
36 |
background: none !important;
|
37 |
}
|
21 |
margin: 0 !important;
|
22 |
background: none !important;
|
23 |
}
|
24 |
+
|
25 |
+
.smw_center img,
|
26 |
+
.smw_left img {
|
27 |
border: 0;
|
28 |
border: 0 !important;
|
29 |
margin-right: 10px !important;
|
33 |
transition: all 0.2s ease;
|
34 |
}
|
35 |
|
36 |
+
.smw_right img {
|
37 |
+
border: 0;
|
38 |
+
border: 0 !important;
|
39 |
+
margin-left: 10px !important;
|
40 |
+
display: inline;
|
41 |
+
-webkit-transition: all 0.2s ease-in;
|
42 |
+
-moz-transition: all 0.2s ease-in;
|
43 |
+
transition: all 0.2s ease;
|
44 |
+
}
|
45 |
+
|
46 |
.socialmedia-buttons a {
|
47 |
background: none !important;
|
48 |
}
|