Version Description
- Added support for 10 more services. See description to see what's added. Too many to list here.
- Added support for 3 custom icons - Must include full URL to icon
Download this release
Release Info
Developer | brianfreytag |
Plugin | Social Media Widget |
Version | 2.4 |
Comparing to | |
See all releases |
Code changes from version 2.3.5 to 2.4
- images/cutout/16/asmallworld.png +0 -0
- images/cutout/16/bbb.png +0 -0
- images/cutout/16/deviantart.png +0 -0
- images/cutout/16/etsy.png +0 -0
- images/cutout/16/hyves.png +0 -0
- images/cutout/16/merchantcircle.png +0 -0
- images/cutout/16/plancast.png +0 -0
- images/cutout/16/slideshare.png +0 -0
- images/cutout/16/tumblr.png +0 -0
- images/cutout/16/tungle.png +0 -0
- images/cutout/32/asmallworld.png +0 -0
- images/cutout/32/bbb.png +0 -0
- images/cutout/32/deviantart.png +0 -0
- images/cutout/32/etsy.png +0 -0
- images/cutout/32/hyves.png +0 -0
- images/cutout/32/merchantcircle.png +0 -0
- images/cutout/32/plancast.png +0 -0
- images/cutout/32/slideshare.png +0 -0
- images/cutout/32/tumblr.png +0 -0
- images/cutout/32/tungle.png +0 -0
- images/cutout/64/asmallworld.png +0 -0
- images/cutout/64/bbb.png +0 -0
- images/cutout/64/deviantart.png +0 -0
- images/cutout/64/etsy.png +0 -0
- images/cutout/64/hyves.png +0 -0
- images/cutout/64/merchantcircle.png +0 -0
- images/cutout/64/plancast.png +0 -0
- images/cutout/64/slideshare.png +0 -0
- images/cutout/64/tumblr.png +0 -0
- images/cutout/64/tungle.png +0 -0
- images/default/16/asmallworld.png +0 -0
- images/default/16/bbb.png +0 -0
- images/default/16/deviantart.png +0 -0
- images/default/16/etsy.png +0 -0
- images/default/16/hyves.png +0 -0
- images/default/16/merchantcircle.png +0 -0
- images/default/16/plancast.png +0 -0
- images/default/16/slideshare.png +0 -0
- images/default/16/tumblr.png +0 -0
- images/default/16/tungle.png +0 -0
- images/default/32/asmallworld.png +0 -0
- images/default/32/bbb.png +0 -0
- images/default/32/deviantart.png +0 -0
- images/default/32/etsy.png +0 -0
- images/default/32/hyves.png +0 -0
- images/default/32/merchantcircle.png +0 -0
- images/default/32/plancast.png +0 -0
- images/default/32/slideshare.png +0 -0
- images/default/32/tumblr.png +0 -0
- images/default/32/tungle.png +0 -0
- images/default/64/asmallworld.png +0 -0
- images/default/64/bbb.png +0 -0
- images/default/64/deviantart.png +0 -0
- images/default/64/etsy.png +0 -0
- images/default/64/hyves.png +0 -0
- images/default/64/merchantcircle.png +0 -0
- images/default/64/plancast.png +0 -0
- images/default/64/slideshare.png +0 -0
- images/default/64/tumblr.png +0 -0
- images/default/64/tungle.png +0 -0
- images/heart/16/asmallworld.png +0 -0
- images/heart/16/bbb.png +0 -0
- images/heart/16/deviantart.png +0 -0
- images/heart/16/etsy.png +0 -0
- images/heart/16/hyves.png +0 -0
- images/heart/16/merchantcircle.png +0 -0
- images/heart/16/plancast.png +0 -0
- images/heart/16/slideshare.png +0 -0
- images/heart/16/tumblr.png +0 -0
- images/heart/16/tungle.png +0 -0
- images/heart/32/asmallworld.png +0 -0
- images/heart/32/bbb.png +0 -0
- images/heart/32/deviantart.png +0 -0
- images/heart/32/etsy.png +0 -0
- images/heart/32/hyves.png +0 -0
- images/heart/32/merchantcircle.png +0 -0
- images/heart/32/plancast.png +0 -0
- images/heart/32/slideshare.png +0 -0
- images/heart/32/tumblr.png +0 -0
- images/heart/32/tungle.png +0 -0
- images/heart/64/asmallworld.png +0 -0
- images/heart/64/bbb.png +0 -0
- images/heart/64/deviantart.png +0 -0
- images/heart/64/etsy.png +0 -0
- images/heart/64/hyves.png +0 -0
- images/heart/64/merchantcircle.png +0 -0
- images/heart/64/plancast.png +0 -0
- images/heart/64/slideshare.png +0 -0
- images/heart/64/tumblr.png +0 -0
- images/heart/64/tungle.png +0 -0
- images/sketch/16/asmallworld.png +0 -0
- images/sketch/16/bbb.png +0 -0
- images/sketch/16/deviantart.png +0 -0
- images/sketch/16/etsy.png +0 -0
- images/sketch/16/hyves.png +0 -0
- images/sketch/16/merchantcircle.png +0 -0
- images/sketch/16/plancast.png +0 -0
- images/sketch/16/slideshare.png +0 -0
- images/sketch/16/tumblr.png +0 -0
- images/sketch/16/tungle.png +0 -0
- images/sketch/32/asmallworld.png +0 -0
- images/sketch/32/bbb.png +0 -0
- images/sketch/32/deviantart.png +0 -0
- images/sketch/32/etsy.png +0 -0
- images/sketch/32/hyves.png +0 -0
- images/sketch/32/merchantcircle.png +0 -0
- images/sketch/32/plancast.png +0 -0
- images/sketch/32/slideshare.png +0 -0
- images/sketch/32/tumblr.png +0 -0
- images/sketch/32/tungle.png +0 -0
- images/sketch/64/asmallworld.png +0 -0
- images/sketch/64/bbb.png +0 -0
- images/sketch/64/deviantart.png +0 -0
- images/sketch/64/etsy.png +0 -0
- images/sketch/64/hyves.png +0 -0
- images/sketch/64/merchantcircle.png +0 -0
- images/sketch/64/plancast.png +0 -0
- images/sketch/64/slideshare.png +0 -0
- images/sketch/64/tumblr.png +0 -0
- images/sketch/64/tungle.png +0 -0
- readme.txt +19 -3
- social-widget.php +245 -6
images/cutout/16/asmallworld.png
ADDED
Binary file
|
images/cutout/16/bbb.png
ADDED
Binary file
|
images/cutout/16/deviantart.png
ADDED
Binary file
|
images/cutout/16/etsy.png
ADDED
Binary file
|
images/cutout/16/hyves.png
ADDED
Binary file
|
images/cutout/16/merchantcircle.png
ADDED
Binary file
|
images/cutout/16/plancast.png
ADDED
Binary file
|
images/cutout/16/slideshare.png
ADDED
Binary file
|
images/cutout/16/tumblr.png
ADDED
Binary file
|
images/cutout/16/tungle.png
ADDED
Binary file
|
images/cutout/32/asmallworld.png
ADDED
Binary file
|
images/cutout/32/bbb.png
ADDED
Binary file
|
images/cutout/32/deviantart.png
ADDED
Binary file
|
images/cutout/32/etsy.png
ADDED
Binary file
|
images/cutout/32/hyves.png
ADDED
Binary file
|
images/cutout/32/merchantcircle.png
ADDED
Binary file
|
images/cutout/32/plancast.png
ADDED
Binary file
|
images/cutout/32/slideshare.png
ADDED
Binary file
|
images/cutout/32/tumblr.png
ADDED
Binary file
|
images/cutout/32/tungle.png
ADDED
Binary file
|
images/cutout/64/asmallworld.png
ADDED
Binary file
|
images/cutout/64/bbb.png
ADDED
Binary file
|
images/cutout/64/deviantart.png
ADDED
Binary file
|
images/cutout/64/etsy.png
ADDED
Binary file
|
images/cutout/64/hyves.png
ADDED
Binary file
|
images/cutout/64/merchantcircle.png
ADDED
Binary file
|
images/cutout/64/plancast.png
ADDED
Binary file
|
images/cutout/64/slideshare.png
ADDED
Binary file
|
images/cutout/64/tumblr.png
ADDED
Binary file
|
images/cutout/64/tungle.png
ADDED
Binary file
|
images/default/16/asmallworld.png
ADDED
Binary file
|
images/default/16/bbb.png
ADDED
Binary file
|
images/default/16/deviantart.png
ADDED
Binary file
|
images/default/16/etsy.png
ADDED
Binary file
|
images/default/16/hyves.png
ADDED
Binary file
|
images/default/16/merchantcircle.png
ADDED
Binary file
|
images/default/16/plancast.png
ADDED
Binary file
|
images/default/16/slideshare.png
ADDED
Binary file
|
images/default/16/tumblr.png
ADDED
Binary file
|
images/default/16/tungle.png
ADDED
Binary file
|
images/default/32/asmallworld.png
ADDED
Binary file
|
images/default/32/bbb.png
ADDED
Binary file
|
images/default/32/deviantart.png
ADDED
Binary file
|
images/default/32/etsy.png
ADDED
Binary file
|
images/default/32/hyves.png
ADDED
Binary file
|
images/default/32/merchantcircle.png
ADDED
Binary file
|
images/default/32/plancast.png
ADDED
Binary file
|
images/default/32/slideshare.png
ADDED
Binary file
|
images/default/32/tumblr.png
ADDED
Binary file
|
images/default/32/tungle.png
ADDED
Binary file
|
images/default/64/asmallworld.png
ADDED
Binary file
|
images/default/64/bbb.png
ADDED
Binary file
|
images/default/64/deviantart.png
ADDED
Binary file
|
images/default/64/etsy.png
ADDED
Binary file
|
images/default/64/hyves.png
ADDED
Binary file
|
images/default/64/merchantcircle.png
ADDED
Binary file
|
images/default/64/plancast.png
ADDED
Binary file
|
images/default/64/slideshare.png
ADDED
Binary file
|
images/default/64/tumblr.png
ADDED
Binary file
|
images/default/64/tungle.png
ADDED
Binary file
|
images/heart/16/asmallworld.png
ADDED
Binary file
|
images/heart/16/bbb.png
ADDED
Binary file
|
images/heart/16/deviantart.png
ADDED
Binary file
|
images/heart/16/etsy.png
ADDED
Binary file
|
images/heart/16/hyves.png
ADDED
Binary file
|
images/heart/16/merchantcircle.png
ADDED
Binary file
|
images/heart/16/plancast.png
ADDED
Binary file
|
images/heart/16/slideshare.png
ADDED
Binary file
|
images/heart/16/tumblr.png
ADDED
Binary file
|
images/heart/16/tungle.png
ADDED
Binary file
|
images/heart/32/asmallworld.png
ADDED
Binary file
|
images/heart/32/bbb.png
ADDED
Binary file
|
images/heart/32/deviantart.png
ADDED
Binary file
|
images/heart/32/etsy.png
ADDED
Binary file
|
images/heart/32/hyves.png
ADDED
Binary file
|
images/heart/32/merchantcircle.png
ADDED
Binary file
|
images/heart/32/plancast.png
ADDED
Binary file
|
images/heart/32/slideshare.png
ADDED
Binary file
|
images/heart/32/tumblr.png
ADDED
Binary file
|
images/heart/32/tungle.png
ADDED
Binary file
|
images/heart/64/asmallworld.png
ADDED
Binary file
|
images/heart/64/bbb.png
ADDED
Binary file
|
images/heart/64/deviantart.png
ADDED
Binary file
|
images/heart/64/etsy.png
ADDED
Binary file
|
images/heart/64/hyves.png
ADDED
Binary file
|
images/heart/64/merchantcircle.png
ADDED
Binary file
|
images/heart/64/plancast.png
ADDED
Binary file
|
images/heart/64/slideshare.png
ADDED
Binary file
|
images/heart/64/tumblr.png
ADDED
Binary file
|
images/heart/64/tungle.png
ADDED
Binary file
|
images/sketch/16/asmallworld.png
ADDED
Binary file
|
images/sketch/16/bbb.png
ADDED
Binary file
|
images/sketch/16/deviantart.png
ADDED
Binary file
|
images/sketch/16/etsy.png
ADDED
Binary file
|
images/sketch/16/hyves.png
ADDED
Binary file
|
images/sketch/16/merchantcircle.png
ADDED
Binary file
|
images/sketch/16/plancast.png
ADDED
Binary file
|
images/sketch/16/slideshare.png
ADDED
Binary file
|
images/sketch/16/tumblr.png
ADDED
Binary file
|
images/sketch/16/tungle.png
ADDED
Binary file
|
images/sketch/32/asmallworld.png
ADDED
Binary file
|
images/sketch/32/bbb.png
ADDED
Binary file
|
images/sketch/32/deviantart.png
ADDED
Binary file
|
images/sketch/32/etsy.png
ADDED
Binary file
|
images/sketch/32/hyves.png
ADDED
Binary file
|
images/sketch/32/merchantcircle.png
ADDED
Binary file
|
images/sketch/32/plancast.png
ADDED
Binary file
|
images/sketch/32/slideshare.png
ADDED
Binary file
|
images/sketch/32/tumblr.png
ADDED
Binary file
|
images/sketch/32/tungle.png
ADDED
Binary file
|
images/sketch/64/asmallworld.png
ADDED
Binary file
|
images/sketch/64/bbb.png
ADDED
Binary file
|
images/sketch/64/deviantart.png
ADDED
Binary file
|
images/sketch/64/etsy.png
ADDED
Binary file
|
images/sketch/64/hyves.png
ADDED
Binary file
|
images/sketch/64/merchantcircle.png
ADDED
Binary file
|
images/sketch/64/plancast.png
ADDED
Binary file
|
images/sketch/64/slideshare.png
ADDED
Binary file
|
images/sketch/64/tumblr.png
ADDED
Binary file
|
images/sketch/64/tungle.png
ADDED
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
|
5 |
Requires at least: 2.9.1
|
6 |
-
Tested up to: 3.0
|
7 |
-
Stable tag: 2.
|
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 |
|
@@ -20,7 +20,9 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
|
|
20 |
* MySpace
|
21 |
* FriendFeed
|
22 |
* Orkut
|
|
|
23 |
* LinkedIn
|
|
|
24 |
* Flickr
|
25 |
* YouTube
|
26 |
* Skype
|
@@ -28,6 +30,7 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
|
|
28 |
* Reddit
|
29 |
* Delicious
|
30 |
* StumbleUpon
|
|
|
31 |
* Buzz
|
32 |
* Vimeo
|
33 |
* Blogger
|
@@ -36,10 +39,18 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
|
|
36 |
* Last.fm
|
37 |
* FourSquare
|
38 |
* Meetup
|
|
|
|
|
|
|
|
|
39 |
* Digital Tunes
|
40 |
* Soundcloud
|
|
|
|
|
|
|
41 |
* RSS
|
42 |
* E-mail (mailto: or a link to mailing list service)
|
|
|
43 |
|
44 |
* Select from the following icon sizes:
|
45 |
* 16x16
|
@@ -117,6 +128,11 @@ First - calm down. I'm happy to help you, and, if you ask those I've helped alre
|
|
117 |
For help, you can send an e-mail to <a href="mailto:brifreytag@gmail.com">brifreytag_at_gmail.com</a> or get ahold of me via twitter at <a href="http://www.twitter.com/brianfreytag">@brianfreytag</a>
|
118 |
|
119 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
120 |
= 2.3.5 =
|
121 |
|
122 |
* Added CSS3 animation transitions for Firefox 4. Going with x.x.5 since this is neither a bug fix (x.x.1), nor an all-out feature addition (x.1).
|
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
|
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 |
|
20 |
* MySpace
|
21 |
* FriendFeed
|
22 |
* Orkut
|
23 |
+
* Hyves
|
24 |
* LinkedIn
|
25 |
+
* aSmallWorld
|
26 |
* Flickr
|
27 |
* YouTube
|
28 |
* Skype
|
30 |
* Reddit
|
31 |
* Delicious
|
32 |
* StumbleUpon
|
33 |
+
* Tumblr
|
34 |
* Buzz
|
35 |
* Vimeo
|
36 |
* Blogger
|
39 |
* Last.fm
|
40 |
* FourSquare
|
41 |
* Meetup
|
42 |
+
* Tungle.me
|
43 |
+
* PlanCast
|
44 |
+
* SlideShare
|
45 |
+
* DeviantArt
|
46 |
* Digital Tunes
|
47 |
* Soundcloud
|
48 |
+
* Etsy
|
49 |
+
* Better Business Bureau
|
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
|
128 |
For help, you can send an e-mail to <a href="mailto:brifreytag@gmail.com">brifreytag_at_gmail.com</a> or get ahold of me via twitter at <a href="http://www.twitter.com/brianfreytag">@brianfreytag</a>
|
129 |
|
130 |
== Changelog ==
|
131 |
+
= 2.4 =
|
132 |
+
|
133 |
+
* Added support for 10 more services. See description to see what's added. Too many to list here.
|
134 |
+
* Added support for 3 custom icons - Must include full URL to icon
|
135 |
+
|
136 |
= 2.3.5 =
|
137 |
|
138 |
* Added CSS3 animation transitions for Firefox 4. Going with x.x.5 since this is neither a bug fix (x.x.1), nor an all-out feature addition (x.1).
|
social-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Plugin URI: http://www.idontlikethisgame.com/updates/social-media-widget/
|
5 |
* Description: 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.
|
7 |
* Author: Brian Freytag
|
8 |
* Author URI: http://www.idontlikethisgame.com/
|
9 |
**/
|
@@ -58,7 +58,9 @@ class Social_Widget extends WP_Widget {
|
|
58 |
$myspace = $instance['myspace'];
|
59 |
$friendfeed = $instance['friendfeed'];
|
60 |
$orkut = $instance['orkut'];
|
|
|
61 |
$linkedin = $instance['linkedin'];
|
|
|
62 |
$flickr = $instance['flickr'];
|
63 |
$youtube = $instance['youtube'];
|
64 |
$skype = $instance['skype'];
|
@@ -66,6 +68,7 @@ class Social_Widget extends WP_Widget {
|
|
66 |
$reddit = $instance['reddit'];
|
67 |
$delicious = $instance['delicious'];
|
68 |
$stumble = $instance['stumble'];
|
|
|
69 |
$buzz = $instance['buzz'];
|
70 |
$vimeo = $instance['vimeo'];
|
71 |
$blogger = $instance['blogger'];
|
@@ -74,8 +77,15 @@ class Social_Widget extends WP_Widget {
|
|
74 |
$lastfm = $instance['lastfm'];
|
75 |
$foursquare = $instance['foursquare'];
|
76 |
$meetup = $instance['meetup'];
|
|
|
|
|
|
|
|
|
77 |
$digitaltunes = $instance['digitaltunes'];
|
78 |
$soundcloud = $instance['soundcloud'];
|
|
|
|
|
|
|
79 |
$rss = $instance['rss_url'];
|
80 |
$subscribe = $instance['subscribe'];
|
81 |
$icon_size = $instance['icon_size'];
|
@@ -84,6 +94,15 @@ class Social_Widget extends WP_Widget {
|
|
84 |
$icon_opacity = $instance['icon_opacity'];
|
85 |
$newtab = $instance['newtab'];
|
86 |
$nofollow = $instance['nofollow'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
/* Choose Icon Size if Value is 'default' */
|
89 |
if($icon_size == 'default') {
|
@@ -161,6 +180,13 @@ class Social_Widget extends WP_Widget {
|
|
161 |
echo ''; //If no URL inputed
|
162 |
}
|
163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
// LinkedIN
|
165 |
if ( $linkedin != '' ) {
|
166 |
?><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
|
@@ -168,6 +194,13 @@ class Social_Widget extends WP_Widget {
|
|
168 |
echo ''; //If no URL inputed
|
169 |
}
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
// Flickr
|
172 |
if ( $flickr != '' ) {
|
173 |
?><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
|
@@ -217,6 +250,13 @@ class Social_Widget extends WP_Widget {
|
|
217 |
echo ''; //If no URL Inputed
|
218 |
}
|
219 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
// Google Buzz
|
221 |
if ( $buzz != '' ) {
|
222 |
?><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
|
@@ -245,7 +285,7 @@ class Social_Widget extends WP_Widget {
|
|
245 |
echo ''; //If No URL Inputed
|
246 |
}
|
247 |
|
248 |
-
//
|
249 |
if ( $yelp != '' ) {
|
250 |
?><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
|
251 |
} else {
|
@@ -273,6 +313,34 @@ class Social_Widget extends WP_Widget {
|
|
273 |
echo ''; //If no URL Inputed
|
274 |
}
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
// Digital Tunes
|
277 |
if ( $digitaltunes != '' ) {
|
278 |
?><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
|
@@ -287,6 +355,48 @@ class Social_Widget extends WP_Widget {
|
|
287 |
echo ''; //If no URL Inputed
|
288 |
}
|
289 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
// RSS
|
291 |
if ( $rss != '') {
|
292 |
?><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
|
@@ -318,7 +428,9 @@ class Social_Widget extends WP_Widget {
|
|
318 |
$instance['myspace'] = strip_tags( $new_instance['myspace'] );
|
319 |
$instance['friendfeed'] = strip_tags( $new_instance['friendfeed'] );
|
320 |
$instance['orkut'] = strip_tags( $new_instance['orkut'] );
|
|
|
321 |
$instance['linkedin'] = strip_tags( $new_instance['linkedin'] );
|
|
|
322 |
$instance['flickr'] = strip_tags( $new_instance['flickr'] );
|
323 |
$instance['youtube'] = strip_tags( $new_instance['youtube'] );
|
324 |
$instance['skype'] = strip_tags( $new_instance['skype'] );
|
@@ -326,6 +438,7 @@ class Social_Widget extends WP_Widget {
|
|
326 |
$instance['reddit'] = strip_tags( $new_instance['reddit'] );
|
327 |
$instance['delicious'] = strip_tags( $new_instance['delicious'] );
|
328 |
$instance['stumble'] = strip_tags( $new_instance['stumble'] );
|
|
|
329 |
$instance['buzz'] = strip_tags( $new_instance['buzz'] );
|
330 |
$instance['vimeo'] = strip_tags( $new_instance['vimeo'] );
|
331 |
$instance['blogger'] = strip_tags( $new_instance['blogger'] );
|
@@ -334,8 +447,24 @@ class Social_Widget extends WP_Widget {
|
|
334 |
$instance['lastfm'] = strip_tags( $new_instance['lastfm'] );
|
335 |
$instance['foursquare'] = strip_tags( $new_instance['foursquare'] );
|
336 |
$instance['meetup'] = strip_tags( $new_instance['meetup'] );
|
|
|
|
|
|
|
|
|
337 |
$instance['digitaltunes'] = strip_tags( $new_instance['digitaltunes'] );
|
338 |
$instance['soundcloud'] = strip_tags( $new_instance['soundcloud'] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
$instance['rss_url'] = strip_tags( $new_instance['rss_url'] );
|
340 |
$instance['subscribe'] = strip_tags( $new_instance['subscribe'] );
|
341 |
$instance['icon_size'] = $new_instance['icon_size'];
|
@@ -363,7 +492,9 @@ class Social_Widget extends WP_Widget {
|
|
363 |
'myspace' => __('http://www.myspace.com/yourname', 'smw'),
|
364 |
'friendfeed' => __('http://www.friendfeed.com/yourname', 'smw'),
|
365 |
'orkut' => __('http://www.orkut.com/Main#Profile?uid=youruid', 'smw'),
|
|
|
366 |
'linkedin' => __('http://www.linkedin.com/in/yourname', 'smw'),
|
|
|
367 |
'flickr' => __('http://www.flickr.com/photos/yourname', 'smw'),
|
368 |
'youtube' => __('http://www.youtube.com/user/yourname', 'smw'),
|
369 |
'skype' => __('skype:yourusername?add', 'smw'),
|
@@ -371,6 +502,7 @@ class Social_Widget extends WP_Widget {
|
|
371 |
'reddit' => __('http://www.reddit.com/user/yourname', 'smw'),
|
372 |
'delicious' => __('http://delicious.com/yourname', 'smw'),
|
373 |
'stumble' => __('http://www.stumbleupon.com/stumbler/yourname', 'smw'),
|
|
|
374 |
'buzz' => __('http://www.google.com/profiles/yourname#buzz', 'smw'),
|
375 |
'vimeo' => __('http://www.vimeo.com/yourname', 'smw'),
|
376 |
'blogger' => __('http://www.blogger.com/profile/youridnumber', 'smw'),
|
@@ -379,8 +511,24 @@ class Social_Widget extends WP_Widget {
|
|
379 |
'lastfm' => __('http://www.last.fm/user/yourname', 'smw'),
|
380 |
'foursquare' => __('http://foursquare.com/user/yourname', 'smw'),
|
381 |
'meetup' => __('http://www.meetup.com/your-group', 'smw'),
|
|
|
|
|
|
|
|
|
382 |
'digitaltunes' => __('http://www.digital-tunes.net/user_profile/yourname', 'smw'),
|
383 |
'soundcloud' => __('http://www.soundcloud.com/your-name', 'smw'),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
'rss_url' => __('http://www.yoursite.com/feed', 'smw'),
|
385 |
'icon_size' => 'default',
|
386 |
'icon_pack' => 'default',
|
@@ -430,12 +578,24 @@ class Social_Widget extends WP_Widget {
|
|
430 |
<input id="<?php echo $this->get_field_id( 'orkut' ); ?>" name="<?php echo $this->get_field_name( 'orkut' ); ?>" value="<?php echo $instance['orkut']; ?>" style="width:85%;" />
|
431 |
</p>
|
432 |
|
|
|
|
|
|
|
|
|
|
|
|
|
433 |
<!-- LinkedIn URL: Text Input -->
|
434 |
<p>
|
435 |
<label for="<?php echo $this->get_field_id( 'linkedin' ); ?>"><?php _e('LinkedIn URL:', 'smw'); ?></label>
|
436 |
<input id="<?php echo $this->get_field_id( 'linkedin' ); ?>" name="<?php echo $this->get_field_name( 'linkedin' ); ?>" value="<?php echo $instance['linkedin']; ?>" style="width:85%;" />
|
437 |
</p>
|
438 |
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
<!-- Flickr URL: Text Input -->
|
440 |
<p>
|
441 |
<label for="<?php echo $this->get_field_id( 'flickr' ); ?>"><?php _e('Flickr URL:', 'smw'); ?></label>
|
@@ -477,8 +637,13 @@ class Social_Widget extends WP_Widget {
|
|
477 |
<label for="<?php echo $this->get_field_id( 'stumble' ); ?>"><?php _e('StumbleUpon URL:', 'smw'); ?></label>
|
478 |
<input id="<?php echo $this->get_field_id( 'stumble' ); ?>" name="<?php echo $this->get_field_name( 'stumble' ); ?>" value="<?php echo $instance['stumble']; ?>" style="width:85%;" />
|
479 |
</p>
|
480 |
-
|
481 |
-
|
|
|
|
|
|
|
|
|
|
|
482 |
<!-- Buzz URL: Text Input -->
|
483 |
<p>
|
484 |
<label for="<?php echo $this->get_field_id( 'buzz' ); ?>"><?php _e('Buzz URL:', 'smw'); ?></label>
|
@@ -521,24 +686,98 @@ class Social_Widget extends WP_Widget {
|
|
521 |
<label for="<?php echo $this->get_field_id( 'foursquare' ); ?>"><?php _e('Foursquare URL:', 'smw'); ?></label>
|
522 |
<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%;" />
|
523 |
</p>
|
524 |
-
|
|
|
525 |
<!-- Meetup URL: Text Input -->
|
526 |
<p>
|
527 |
<label for="<?php echo $this->get_field_id( 'meetup' ); ?>"><?php _e('Meetup URL:', 'smw'); ?></label>
|
528 |
<input id="<?php echo $this->get_field_id( 'meetup' ); ?>" name="<?php echo $this->get_field_name( 'meetup' ); ?>" value="<?php echo $instance['meetup']; ?>" style="width:85%;" />
|
529 |
</p>
|
530 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
<!-- Digital Tunes URL: Text Input -->
|
532 |
<p>
|
533 |
<label for="<?php echo $this->get_field_id( 'digitaltunes' ); ?>"><?php _e('Digital Tunes URL:', 'smw'); ?></label>
|
534 |
<input id="<?php echo $this->get_field_id( 'digitaltunes' ); ?>" name="<?php echo $this->get_field_name( 'digitaltunes' ); ?>" value="<?php echo $instance['digitaltunes']; ?>" style="width:85%;" />
|
535 |
</p>
|
536 |
|
|
|
537 |
<p>
|
538 |
<label for="<?php echo $this->get_field_id( 'soundcloud' ); ?>"><?php _e('Soundcloud URL:', 'smw'); ?></label>
|
539 |
<input id="<?php echo $this->get_field_id( 'soundcloud' ); ?>" name="<?php echo $this->get_field_name( 'soundcloud' ); ?>" value="<?php echo $instance['soundcloud']; ?>" style="width:85%;" />
|
540 |
</p>
|
541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
<!-- RSS URL: Text Input -->
|
543 |
<p>
|
544 |
<label for="<?php echo $this->get_field_id( 'rss_url' ); ?>"><?php _e('RSS URL:', 'smw'); ?></label>
|
@@ -548,7 +787,7 @@ class Social_Widget extends WP_Widget {
|
|
548 |
|
549 |
<!-- Subscribe URL: Text Input -->
|
550 |
<p>
|
551 |
-
<label for="<?php echo $this->get_field_id( 'subscribe' ); ?>"><?php _e('
|
552 |
<input id="<?php echo $this->get_field_id( 'subscribe' ); ?>" name="<?php echo $this->get_field_name( 'subscribe' ); ?>" value="<?php echo $instance['subscribe'] ?>" style="width:85%;" />
|
553 |
</p>
|
554 |
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Plugin URI: http://www.idontlikethisgame.com/updates/social-media-widget/
|
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
|
7 |
* Author: Brian Freytag
|
8 |
* Author URI: http://www.idontlikethisgame.com/
|
9 |
**/
|
58 |
$myspace = $instance['myspace'];
|
59 |
$friendfeed = $instance['friendfeed'];
|
60 |
$orkut = $instance['orkut'];
|
61 |
+
$hyves = $instance['hyves'];
|
62 |
$linkedin = $instance['linkedin'];
|
63 |
+
$asmallworld = $instance['asmallworld'];
|
64 |
$flickr = $instance['flickr'];
|
65 |
$youtube = $instance['youtube'];
|
66 |
$skype = $instance['skype'];
|
68 |
$reddit = $instance['reddit'];
|
69 |
$delicious = $instance['delicious'];
|
70 |
$stumble = $instance['stumble'];
|
71 |
+
$tumblr = $instance['tumblr'];
|
72 |
$buzz = $instance['buzz'];
|
73 |
$vimeo = $instance['vimeo'];
|
74 |
$blogger = $instance['blogger'];
|
77 |
$lastfm = $instance['lastfm'];
|
78 |
$foursquare = $instance['foursquare'];
|
79 |
$meetup = $instance['meetup'];
|
80 |
+
$tungle = $instance['tungle'];
|
81 |
+
$plancast = $instance['plancast'];
|
82 |
+
$slideshare = $instance['slideshare'];
|
83 |
+
$deviantart = $instance['deviantart'];
|
84 |
$digitaltunes = $instance['digitaltunes'];
|
85 |
$soundcloud = $instance['soundcloud'];
|
86 |
+
$etsy = $instance['etsy'];
|
87 |
+
$bbb = $instance['bbb'];
|
88 |
+
$merchantcircle = $instance['merchantcircle'];
|
89 |
$rss = $instance['rss_url'];
|
90 |
$subscribe = $instance['subscribe'];
|
91 |
$icon_size = $instance['icon_size'];
|
94 |
$icon_opacity = $instance['icon_opacity'];
|
95 |
$newtab = $instance['newtab'];
|
96 |
$nofollow = $instance['nofollow'];
|
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') {
|
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
|
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
|
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
|
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 {
|
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
|
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
|
428 |
$instance['myspace'] = strip_tags( $new_instance['myspace'] );
|
429 |
$instance['friendfeed'] = strip_tags( $new_instance['friendfeed'] );
|
430 |
$instance['orkut'] = strip_tags( $new_instance['orkut'] );
|
431 |
+
$instance['hyves'] = strip_tags( $new_instance['hyves'] );
|
432 |
$instance['linkedin'] = strip_tags( $new_instance['linkedin'] );
|
433 |
+
$instance['asmallworld'] = strip_tags( $new_instance['asmallworld'] );
|
434 |
$instance['flickr'] = strip_tags( $new_instance['flickr'] );
|
435 |
$instance['youtube'] = strip_tags( $new_instance['youtube'] );
|
436 |
$instance['skype'] = strip_tags( $new_instance['skype'] );
|
438 |
$instance['reddit'] = strip_tags( $new_instance['reddit'] );
|
439 |
$instance['delicious'] = strip_tags( $new_instance['delicious'] );
|
440 |
$instance['stumble'] = strip_tags( $new_instance['stumble'] );
|
441 |
+
$instance['tumblr'] = strip_tags( $new_instance['tumblr'] );
|
442 |
$instance['buzz'] = strip_tags( $new_instance['buzz'] );
|
443 |
$instance['vimeo'] = strip_tags( $new_instance['vimeo'] );
|
444 |
$instance['blogger'] = strip_tags( $new_instance['blogger'] );
|
447 |
$instance['lastfm'] = strip_tags( $new_instance['lastfm'] );
|
448 |
$instance['foursquare'] = strip_tags( $new_instance['foursquare'] );
|
449 |
$instance['meetup'] = strip_tags( $new_instance['meetup'] );
|
450 |
+
$instance['tungle'] = strip_tags( $new_instance['tungle'] );
|
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'] );
|
457 |
+
$instance['bbb'] = strip_tags( $new_instance['bbb'] );
|
458 |
+
$instance['merchantcircle'] = strip_tags( $new_instance['merchantcircle'] );
|
459 |
+
$instance['custom1name'] = strip_tags( $new_instance['custom1name'] );
|
460 |
+
$instance['custom1icon'] = strip_tags( $new_instance['custom1icon'] );
|
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'];
|
492 |
'myspace' => __('http://www.myspace.com/yourname', 'smw'),
|
493 |
'friendfeed' => __('http://www.friendfeed.com/yourname', 'smw'),
|
494 |
'orkut' => __('http://www.orkut.com/Main#Profile?uid=youruid', 'smw'),
|
495 |
+
'hyves' => __('http://yourname.hyves.nl', 'smw'),
|
496 |
'linkedin' => __('http://www.linkedin.com/in/yourname', 'smw'),
|
497 |
+
'asmallworld' => __('', 'smw'),
|
498 |
'flickr' => __('http://www.flickr.com/photos/yourname', 'smw'),
|
499 |
'youtube' => __('http://www.youtube.com/user/yourname', 'smw'),
|
500 |
'skype' => __('skype:yourusername?add', 'smw'),
|
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'),
|
511 |
'lastfm' => __('http://www.last.fm/user/yourname', 'smw'),
|
512 |
'foursquare' => __('http://foursquare.com/user/yourname', 'smw'),
|
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'),
|
526 |
+
'custom2name' => __('', 'smw'),
|
527 |
+
'custom2icon' => __('', 'smw'),
|
528 |
+
'custom2url' => __('', 'smw'),
|
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',
|
578 |
<input id="<?php echo $this->get_field_id( 'orkut' ); ?>" name="<?php echo $this->get_field_name( 'orkut' ); ?>" value="<?php echo $instance['orkut']; ?>" style="width:85%;" />
|
579 |
</p>
|
580 |
|
581 |
+
<!-- Hyves URL: Text Input -->
|
582 |
+
<p>
|
583 |
+
<label for="<?php echo $this->get_field_id( 'hyves' ); ?>"><?php _e('Hyves URL:', 'smw'); ?></label>
|
584 |
+
<input id="<?php echo $this->get_field_id( 'hyves' ); ?>" name="<?php echo $this->get_field_name( 'hyves' ); ?>" value="<?php echo $instance['hyves']; ?>" style="width:85%;" />
|
585 |
+
</p>
|
586 |
+
|
587 |
<!-- LinkedIn URL: Text Input -->
|
588 |
<p>
|
589 |
<label for="<?php echo $this->get_field_id( 'linkedin' ); ?>"><?php _e('LinkedIn URL:', 'smw'); ?></label>
|
590 |
<input id="<?php echo $this->get_field_id( 'linkedin' ); ?>" name="<?php echo $this->get_field_name( 'linkedin' ); ?>" value="<?php echo $instance['linkedin']; ?>" style="width:85%;" />
|
591 |
</p>
|
592 |
|
593 |
+
<!-- aSmallWorld URL: Text Input -->
|
594 |
+
<p>
|
595 |
+
<label for="<?php echo $this->get_field_id( 'asmallworld' ); ?>"><?php _e('aSmallWorld URL:', 'smw'); ?></label>
|
596 |
+
<input id="<?php echo $this->get_field_id( 'asmallworld' ); ?>" name="<?php echo $this->get_field_name( 'asmallworld' ); ?>" value="<?php echo $instance['asmallworld']; ?>" style="width:85%;" />
|
597 |
+
</p>
|
598 |
+
|
599 |
<!-- Flickr URL: Text Input -->
|
600 |
<p>
|
601 |
<label for="<?php echo $this->get_field_id( 'flickr' ); ?>"><?php _e('Flickr URL:', 'smw'); ?></label>
|
637 |
<label for="<?php echo $this->get_field_id( 'stumble' ); ?>"><?php _e('StumbleUpon URL:', 'smw'); ?></label>
|
638 |
<input id="<?php echo $this->get_field_id( 'stumble' ); ?>" name="<?php echo $this->get_field_name( 'stumble' ); ?>" value="<?php echo $instance['stumble']; ?>" style="width:85%;" />
|
639 |
</p>
|
640 |
+
|
641 |
+
<!-- Tumblr URL: Text Input -->
|
642 |
+
<p>
|
643 |
+
<label for="<?php echo $this->get_field_id( 'tumblr' ); ?>"><?php _e('Tumblr URL:', 'smw'); ?></label>
|
644 |
+
<input id="<?php echo $this->get_field_id( 'tumblr' ); ?>" name="<?php echo $this->get_field_name( 'tumblr' ); ?>" value="<?php echo $instance['tumblr']; ?>" style="width:85%;" />
|
645 |
+
</p>
|
646 |
+
|
647 |
<!-- Buzz URL: Text Input -->
|
648 |
<p>
|
649 |
<label for="<?php echo $this->get_field_id( 'buzz' ); ?>"><?php _e('Buzz URL:', 'smw'); ?></label>
|
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>
|
694 |
<input id="<?php echo $this->get_field_id( 'meetup' ); ?>" name="<?php echo $this->get_field_name( 'meetup' ); ?>" value="<?php echo $instance['meetup']; ?>" style="width:85%;" />
|
695 |
</p>
|
696 |
|
697 |
+
<!-- Tungle.me URL: Text Input -->
|
698 |
+
<p>
|
699 |
+
<label for="<?php echo $this->get_field_id( 'tungle' ); ?>"><?php _e('Tungle.me URL:', 'smw'); ?></label>
|
700 |
+
<input id="<?php echo $this->get_field_id( 'tungle' ); ?>" name="<?php echo $this->get_field_name( 'tungle' ); ?>" value="<?php echo $instance['tungle']; ?>" style="width:85%;" />
|
701 |
+
</p>
|
702 |
+
|
703 |
+
<!-- PlanCast URL: Text Input -->
|
704 |
+
<p>
|
705 |
+
<label for="<?php echo $this->get_field_id( 'plancast' ); ?>"><?php _e('PlanCast URL:', 'smw'); ?></label>
|
706 |
+
<input id="<?php echo $this->get_field_id( 'plancast' ); ?>" name="<?php echo $this->get_field_name( 'plancast' ); ?>" value="<?php echo $instance['plancast']; ?>" style="width:85%;" />
|
707 |
+
</p>
|
708 |
+
|
709 |
+
<!-- SlideShare URL: Text Input -->
|
710 |
+
<p>
|
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>
|
724 |
<input id="<?php echo $this->get_field_id( 'digitaltunes' ); ?>" name="<?php echo $this->get_field_name( 'digitaltunes' ); ?>" value="<?php echo $instance['digitaltunes']; ?>" style="width:85%;" />
|
725 |
</p>
|
726 |
|
727 |
+
<!-- SoundCloud URL: Text Input -->
|
728 |
<p>
|
729 |
<label for="<?php echo $this->get_field_id( 'soundcloud' ); ?>"><?php _e('Soundcloud URL:', 'smw'); ?></label>
|
730 |
<input id="<?php echo $this->get_field_id( 'soundcloud' ); ?>" name="<?php echo $this->get_field_name( 'soundcloud' ); ?>" value="<?php echo $instance['soundcloud']; ?>" style="width:85%;" />
|
731 |
</p>
|
732 |
|
733 |
+
<!-- Etsy URL: Text Input -->
|
734 |
+
<p>
|
735 |
+
<label for="<?php echo $this->get_field_id( 'etsy' ); ?>"><?php _e('Etsy URL:', 'smw'); ?></label>
|
736 |
+
<input id="<?php echo $this->get_field_id( 'etsy' ); ?>" name="<?php echo $this->get_field_name( 'etsy' ); ?>" value="<?php echo $instance['etsy']; ?>" style="width:85%;" />
|
737 |
+
</p>
|
738 |
+
|
739 |
+
<!-- Better Business Bureau URL: Text Input -->
|
740 |
+
<p>
|
741 |
+
<label for="<?php echo $this->get_field_id( 'bbb' ); ?>"><?php _e('Better Business Bureau URL:', 'smw'); ?></label>
|
742 |
+
<input id="<?php echo $this->get_field_id( 'bbb' ); ?>" name="<?php echo $this->get_field_name( 'bbb' ); ?>" value="<?php echo $instance['bbb']; ?>" style="width:85%;" />
|
743 |
+
</p>
|
744 |
+
|
745 |
+
<!-- Merchant Circle URL: Text Input -->
|
746 |
+
<p>
|
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>
|
754 |
+
<input id="<?php echo $this->get_field_id( 'custom1name' ); ?>" name="<?php echo $this->get_field_name( 'custom1name' ); ?>" value="<?php echo $instance['custom1name']; ?>" style="width:85%;" />
|
755 |
+
<label for="<?php echo $this->get_field_id( 'custom1icon' ); ?>"><?php _e('Custom Service 1 Icon URL:', 'smw'); ?></label>
|
756 |
+
<input id="<?php echo $this->get_field_id( 'custom1icon' ); ?>" name="<?php echo $this->get_field_name( 'custom1icon' ); ?>" value="<?php echo $instance['custom1icon']; ?>" style="width:85%;" />
|
757 |
+
<label for="<?php echo $this->get_field_id( 'custom1url' ); ?>"><?php _e('Custom Service 1 Profile URL:', 'smw'); ?></label>
|
758 |
+
<input id="<?php echo $this->get_field_id( 'custom1url' ); ?>" name="<?php echo $this->get_field_name( 'custom1url' ); ?>" value="<?php echo $instance['custom1url']; ?>" style="width:85%;" />
|
759 |
+
</p>
|
760 |
+
|
761 |
+
<!-- Custom Service 2: Text Input -->
|
762 |
+
<p>
|
763 |
+
<label for="<?php echo $this->get_field_id( 'custom2name' ); ?>"><?php _e('Custom Service 2 Name:', 'smw'); ?></label>
|
764 |
+
<input id="<?php echo $this->get_field_id( 'custom2name' ); ?>" name="<?php echo $this->get_field_name( 'custom2name' ); ?>" value="<?php echo $instance['custom2name']; ?>" style="width:85%;" />
|
765 |
+
<label for="<?php echo $this->get_field_id( 'custom2icon' ); ?>"><?php _e('Custom Service 2 Icon URL:', 'smw'); ?></label>
|
766 |
+
<input id="<?php echo $this->get_field_id( 'custom2icon' ); ?>" name="<?php echo $this->get_field_name( 'custom2icon' ); ?>" value="<?php echo $instance['custom2icon']; ?>" style="width:85%;" />
|
767 |
+
<label for="<?php echo $this->get_field_id( 'custom2url' ); ?>"><?php _e('Custom Service 2 Profile URL:', 'smw'); ?></label>
|
768 |
+
<input id="<?php echo $this->get_field_id( 'custom2url' ); ?>" name="<?php echo $this->get_field_name( 'custom2url' ); ?>" value="<?php echo $instance['custom2url']; ?>" style="width:85%;" />
|
769 |
+
</p>
|
770 |
+
|
771 |
+
<!-- Custom Service 3: Text Input -->
|
772 |
+
<p>
|
773 |
+
<label for="<?php echo $this->get_field_id( 'custom3name' ); ?>"><?php _e('Custom Service 3 Name:', 'smw'); ?></label>
|
774 |
+
<input id="<?php echo $this->get_field_id( 'custom3name' ); ?>" name="<?php echo $this->get_field_name( 'custom3name' ); ?>" value="<?php echo $instance['custom3name']; ?>" style="width:85%;" />
|
775 |
+
<label for="<?php echo $this->get_field_id( 'custom3icon' ); ?>"><?php _e('Custom Service 3 Icon URL:', 'smw'); ?></label>
|
776 |
+
<input id="<?php echo $this->get_field_id( 'custom3icon' ); ?>" name="<?php echo $this->get_field_name( 'custom3icon' ); ?>" value="<?php echo $instance['custom3icon']; ?>" style="width:85%;" />
|
777 |
+
<label for="<?php echo $this->get_field_id( 'custom3url' ); ?>"><?php _e('Custom Service 3 Profile URL:', 'smw'); ?></label>
|
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>
|
787 |
|
788 |
<!-- Subscribe URL: Text Input -->
|
789 |
<p>
|
790 |
+
<label for="<?php echo $this->get_field_id( 'subscribe' ); ?>"><?php _e('E-mail URL:', 'smw'); ?></label>
|
791 |
<input id="<?php echo $this->get_field_id( 'subscribe' ); ?>" name="<?php echo $this->get_field_name( 'subscribe' ); ?>" value="<?php echo $instance['subscribe'] ?>" style="width:85%;" />
|
792 |
</p>
|
793 |
|