Version Description
Download this release
Release Info
| Developer | brianfreytag |
| Plugin | |
| Version | 1.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.3.1 to 1.4
- images/cutout/16/delicious.png +0 -0
- images/cutout/16/flickr.png +0 -0
- images/cutout/32/delicious.png +0 -0
- images/cutout/32/flickr.png +0 -0
- images/cutout/64/delicious.png +0 -0
- images/cutout/64/flickr.png +0 -0
- images/default/16/delicious.png +0 -0
- images/default/16/flickr.png +0 -0
- images/default/32/delicious.png +0 -0
- images/default/32/flickr.png +0 -0
- images/default/64/delicious.png +0 -0
- images/default/64/flickr.png +0 -0
- images/heart/16/delicious.png +0 -0
- images/heart/16/flickr.png +0 -0
- images/heart/32/delicious.png +0 -0
- images/heart/32/flickr.png +0 -0
- images/heart/64/delicious.png +0 -0
- images/heart/64/flickr.png +0 -0
- images/sketch/16/delicious.png +0 -0
- images/sketch/16/flickr.png +0 -0
- images/sketch/32/delicious.png +0 -0
- images/sketch/32/flickr.png +0 -0
- images/sketch/64/delicious.png +0 -0
- images/sketch/64/flickr.png +0 -0
- readme.txt +5 -1
- social-widget.php +35 -1
images/cutout/16/delicious.png
ADDED
|
Binary file
|
images/cutout/16/flickr.png
ADDED
|
Binary file
|
images/cutout/32/delicious.png
ADDED
|
Binary file
|
images/cutout/32/flickr.png
ADDED
|
Binary file
|
images/cutout/64/delicious.png
ADDED
|
Binary file
|
images/cutout/64/flickr.png
ADDED
|
Binary file
|
images/default/16/delicious.png
ADDED
|
Binary file
|
images/default/16/flickr.png
ADDED
|
Binary file
|
images/default/32/delicious.png
ADDED
|
Binary file
|
images/default/32/flickr.png
ADDED
|
Binary file
|
images/default/64/delicious.png
ADDED
|
Binary file
|
images/default/64/flickr.png
ADDED
|
Binary file
|
images/heart/16/delicious.png
ADDED
|
Binary file
|
images/heart/16/flickr.png
ADDED
|
Binary file
|
images/heart/32/delicious.png
ADDED
|
Binary file
|
images/heart/32/flickr.png
ADDED
|
Binary file
|
images/heart/64/delicious.png
ADDED
|
Binary file
|
images/heart/64/flickr.png
ADDED
|
Binary file
|
images/sketch/16/delicious.png
ADDED
|
Binary file
|
images/sketch/16/flickr.png
ADDED
|
Binary file
|
images/sketch/32/delicious.png
ADDED
|
Binary file
|
images/sketch/32/flickr.png
ADDED
|
Binary file
|
images/sketch/64/delicious.png
ADDED
|
Binary file
|
images/sketch/64/flickr.png
ADDED
|
Binary file
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ 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
|
| 5 |
Requires at least: 2.9.1
|
| 6 |
Tested up to: 3.0
|
| 7 |
-
Stable tag: 1.
|
| 8 |
|
| 9 |
Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes and 4 different icon styles.
|
| 10 |
|
|
@@ -21,9 +21,11 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
|
|
| 21 |
* FriendFeed
|
| 22 |
* Orkut
|
| 23 |
* LinkedIn
|
|
|
|
| 24 |
* YouTube
|
| 25 |
* Digg
|
| 26 |
* Reddit
|
|
|
|
| 27 |
* Buzz
|
| 28 |
* RSS
|
| 29 |
* E-mail Subscription Info Page (or mailto: address)
|
|
@@ -70,6 +72,8 @@ Yes I can. Just e-mail me at <a href="mailto:brifreytag@gmail.com">brifreytag_at
|
|
| 70 |
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>
|
| 71 |
|
| 72 |
== Changelog ==
|
|
|
|
|
|
|
| 73 |
1.3.1 - Quick changes to make the Readme.txt standardized.
|
| 74 |
|
| 75 |
1.3 - Added requested support for FriendFeed
|
| 4 |
Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me, friendfeed
|
| 5 |
Requires at least: 2.9.1
|
| 6 |
Tested up to: 3.0
|
| 7 |
+
Stable tag: 1.4
|
| 8 |
|
| 9 |
Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes and 4 different icon styles.
|
| 10 |
|
| 21 |
* FriendFeed
|
| 22 |
* Orkut
|
| 23 |
* LinkedIn
|
| 24 |
+
* Flickr
|
| 25 |
* YouTube
|
| 26 |
* Digg
|
| 27 |
* Reddit
|
| 28 |
+
* Delicious
|
| 29 |
* Buzz
|
| 30 |
* RSS
|
| 31 |
* E-mail Subscription Info Page (or mailto: address)
|
| 72 |
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>
|
| 73 |
|
| 74 |
== Changelog ==
|
| 75 |
+
1.4 - Added support for Flickr and Delicious
|
| 76 |
+
|
| 77 |
1.3.1 - Quick changes to make the Readme.txt standardized.
|
| 78 |
|
| 79 |
1.3 - Added requested support for FriendFeed
|
social-widget.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: Social Media Widget
|
| 4 |
* Plugin URI: http://www.idontlikethisgame.com/updates/social-media-widget/
|
| 5 |
* Description: Place social media icons on your Sidebar by inputting URLs to your profiles!
|
| 6 |
-
* Version: 1.
|
| 7 |
* Author: Brian Freytag
|
| 8 |
* Author URI: http://www.idontlikethisgame.com/
|
| 9 |
**/
|
|
@@ -52,9 +52,11 @@ class Social_Widget extends WP_Widget {
|
|
| 52 |
$friendfeed = $instance['friendfeed'];
|
| 53 |
$orkut = $instance['orkut'];
|
| 54 |
$linkedin = $instance['linkedin'];
|
|
|
|
| 55 |
$youtube = $instance['youtube'];
|
| 56 |
$digg = $instance['digg'];
|
| 57 |
$reddit = $instance['reddit'];
|
|
|
|
| 58 |
$buzz = $instance['buzz'];
|
| 59 |
$rss = $instance['rss_url'];
|
| 60 |
$subscribe = $instance['subscribe'];
|
|
@@ -140,6 +142,14 @@ class Social_Widget extends WP_Widget {
|
|
| 140 |
echo ''; //If no URL inputed
|
| 141 |
}
|
| 142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
// YouTube
|
| 144 |
if ( $youtube != '' ) {
|
| 145 |
?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/youtube.png" alt="<?php echo $title; ?> on YouTube"
|
|
@@ -164,6 +174,14 @@ class Social_Widget extends WP_Widget {
|
|
| 164 |
echo ''; //If no URL Inputed
|
| 165 |
}
|
| 166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
// Google Buzz
|
| 168 |
if ( $buzz != '' ) {
|
| 169 |
?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/buzz.png" alt="<?php echo $title; ?> on Buzz"
|
|
@@ -204,9 +222,11 @@ class Social_Widget extends WP_Widget {
|
|
| 204 |
$instance['friendfeed'] = strip_tags( $new_instance['friendfeed'] );
|
| 205 |
$instance['orkut'] = strip_tags( $new_instance['orkut'] );
|
| 206 |
$instance['linkedin'] = strip_tags( $new_instance['linkedin'] );
|
|
|
|
| 207 |
$instance['youtube'] = strip_tags( $new_instance['youtube'] );
|
| 208 |
$instance['digg'] = strip_tags( $new_instance['digg'] );
|
| 209 |
$instance['reddit'] = strip_tags( $new_instance['reddit'] );
|
|
|
|
| 210 |
$instance['buzz'] = strip_tags( $new_instance['buzz'] );
|
| 211 |
$instance['rss_url'] = strip_tags( $new_instance['rss_url'] );
|
| 212 |
$instance['subscribe'] = strip_tags( $new_instance['subscribe'] );
|
|
@@ -234,9 +254,11 @@ class Social_Widget extends WP_Widget {
|
|
| 234 |
'friendfeed' => __('http://www.friendfeed.com/yourname', 'smw'),
|
| 235 |
'orkut' => __('http://www.orkut.com/Main#Profile?uid=youruid', 'smw'),
|
| 236 |
'linkedin' => __('http://www.linkedin.com/in/yourname', 'smw'),
|
|
|
|
| 237 |
'youtube' => __('http://www.youtube.com/user/yourname', 'smw'),
|
| 238 |
'digg' => __('http://www.digg.com/users/yourname', 'smw'),
|
| 239 |
'reddit' => __('http://www.reddit.com/user/yourname', 'smw'),
|
|
|
|
| 240 |
'buzz' => __('http://www.google.com/profiles/yourname#buzz', 'smw'),
|
| 241 |
'rss_url' => __('http://www.yoursite.com/feed', 'smw'),
|
| 242 |
'icon_size' => 'default',
|
|
@@ -291,6 +313,12 @@ class Social_Widget extends WP_Widget {
|
|
| 291 |
<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%;" />
|
| 292 |
</p>
|
| 293 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 294 |
<!-- YouTube URL: Text Input -->
|
| 295 |
<p>
|
| 296 |
<label for="<?php echo $this->get_field_id( 'youtube' ); ?>"><?php _e('YouTube URL:', 'smw'); ?></label>
|
|
@@ -308,6 +336,12 @@ class Social_Widget extends WP_Widget {
|
|
| 308 |
<label for="<?php echo $this->get_field_id( 'reddit' ); ?>"><?php _e('Reddit URL:', 'smw'); ?></label>
|
| 309 |
<input id="<?php echo $this->get_field_id( 'reddit' ); ?>" name="<?php echo $this->get_field_name( 'reddit' ); ?>" value="<?php echo $instance['reddit']; ?>" style="width:85%;" />
|
| 310 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 311 |
|
| 312 |
<!-- Buzz URL: Text Input -->
|
| 313 |
<p>
|
| 3 |
* Plugin Name: Social Media Widget
|
| 4 |
* Plugin URI: http://www.idontlikethisgame.com/updates/social-media-widget/
|
| 5 |
* Description: Place social media icons on your Sidebar by inputting URLs to your profiles!
|
| 6 |
+
* Version: 1.4
|
| 7 |
* Author: Brian Freytag
|
| 8 |
* Author URI: http://www.idontlikethisgame.com/
|
| 9 |
**/
|
| 52 |
$friendfeed = $instance['friendfeed'];
|
| 53 |
$orkut = $instance['orkut'];
|
| 54 |
$linkedin = $instance['linkedin'];
|
| 55 |
+
$flickr = $instance['flickr'];
|
| 56 |
$youtube = $instance['youtube'];
|
| 57 |
$digg = $instance['digg'];
|
| 58 |
$reddit = $instance['reddit'];
|
| 59 |
+
$delicious = $instance['delicious'];
|
| 60 |
$buzz = $instance['buzz'];
|
| 61 |
$rss = $instance['rss_url'];
|
| 62 |
$subscribe = $instance['subscribe'];
|
| 142 |
echo ''; //If no URL inputed
|
| 143 |
}
|
| 144 |
|
| 145 |
+
// Flickr
|
| 146 |
+
if ( $flickr != '' ) {
|
| 147 |
+
?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/flickr.png" alt="<?php echo $title; ?> on Flickr"
|
| 148 |
+
title="<?php echo $title; ?> on Flickr" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
| 149 |
+
} else {
|
| 150 |
+
echo ''; //If no URL inputed
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
// YouTube
|
| 154 |
if ( $youtube != '' ) {
|
| 155 |
?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/youtube.png" alt="<?php echo $title; ?> on YouTube"
|
| 174 |
echo ''; //If no URL Inputed
|
| 175 |
}
|
| 176 |
|
| 177 |
+
// Delicious
|
| 178 |
+
if ( $delicious != '' ) {
|
| 179 |
+
?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/delicious.png" alt="<?php echo $title; ?> on Delicious"
|
| 180 |
+
title="<?php echo $title; ?> on Delicious" style="opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
|
| 181 |
+
} else {
|
| 182 |
+
echo ''; //If no URL Inputed
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
// Google Buzz
|
| 186 |
if ( $buzz != '' ) {
|
| 187 |
?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/buzz.png" alt="<?php echo $title; ?> on Buzz"
|
| 222 |
$instance['friendfeed'] = strip_tags( $new_instance['friendfeed'] );
|
| 223 |
$instance['orkut'] = strip_tags( $new_instance['orkut'] );
|
| 224 |
$instance['linkedin'] = strip_tags( $new_instance['linkedin'] );
|
| 225 |
+
$instance['flickr'] = strip_tags( $new_instance['flickr'] );
|
| 226 |
$instance['youtube'] = strip_tags( $new_instance['youtube'] );
|
| 227 |
$instance['digg'] = strip_tags( $new_instance['digg'] );
|
| 228 |
$instance['reddit'] = strip_tags( $new_instance['reddit'] );
|
| 229 |
+
$instance['delicious'] = strip_tags( $new_instance['delicious'] );
|
| 230 |
$instance['buzz'] = strip_tags( $new_instance['buzz'] );
|
| 231 |
$instance['rss_url'] = strip_tags( $new_instance['rss_url'] );
|
| 232 |
$instance['subscribe'] = strip_tags( $new_instance['subscribe'] );
|
| 254 |
'friendfeed' => __('http://www.friendfeed.com/yourname', 'smw'),
|
| 255 |
'orkut' => __('http://www.orkut.com/Main#Profile?uid=youruid', 'smw'),
|
| 256 |
'linkedin' => __('http://www.linkedin.com/in/yourname', 'smw'),
|
| 257 |
+
'flickr' => __('http://www.flickr.com/photos/yourname', 'smw'),
|
| 258 |
'youtube' => __('http://www.youtube.com/user/yourname', 'smw'),
|
| 259 |
'digg' => __('http://www.digg.com/users/yourname', 'smw'),
|
| 260 |
'reddit' => __('http://www.reddit.com/user/yourname', 'smw'),
|
| 261 |
+
'delicious' => __('http://delicious.com/yourname', 'smw'),
|
| 262 |
'buzz' => __('http://www.google.com/profiles/yourname#buzz', 'smw'),
|
| 263 |
'rss_url' => __('http://www.yoursite.com/feed', 'smw'),
|
| 264 |
'icon_size' => 'default',
|
| 313 |
<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%;" />
|
| 314 |
</p>
|
| 315 |
|
| 316 |
+
<!-- Flickr URL: Text Input -->
|
| 317 |
+
<p>
|
| 318 |
+
<label for="<?php echo $this->get_field_id( 'flickr' ); ?>"><?php _e('Flickr URL:', 'smw'); ?></label>
|
| 319 |
+
<input id="<?php echo $this->get_field_id( 'flickr' ); ?>" name="<?php echo $this->get_field_name( 'flickr' ); ?>" value="<?php echo $instance['flickr']; ?>" style="width:85%;" />
|
| 320 |
+
</p>
|
| 321 |
+
|
| 322 |
<!-- YouTube URL: Text Input -->
|
| 323 |
<p>
|
| 324 |
<label for="<?php echo $this->get_field_id( 'youtube' ); ?>"><?php _e('YouTube URL:', 'smw'); ?></label>
|
| 336 |
<label for="<?php echo $this->get_field_id( 'reddit' ); ?>"><?php _e('Reddit URL:', 'smw'); ?></label>
|
| 337 |
<input id="<?php echo $this->get_field_id( 'reddit' ); ?>" name="<?php echo $this->get_field_name( 'reddit' ); ?>" value="<?php echo $instance['reddit']; ?>" style="width:85%;" />
|
| 338 |
</p>
|
| 339 |
+
|
| 340 |
+
<!-- Delicious URL: Text Input -->
|
| 341 |
+
<p>
|
| 342 |
+
<label for="<?php echo $this->get_field_id( 'delicious' ); ?>"><?php _e('Delicious URL:', 'smw'); ?></label>
|
| 343 |
+
<input id="<?php echo $this->get_field_id( 'delicious' ); ?>" name="<?php echo $this->get_field_name( 'delicious' ); ?>" value="<?php echo $instance['delicious']; ?>" style="width:85%;" />
|
| 344 |
+
</p>
|
| 345 |
|
| 346 |
<!-- Buzz URL: Text Input -->
|
| 347 |
<p>
|
