Version Description
- Added support for Skyrock
- Removed iTunes Ping
- Changed to official Instagram icon (standard pack only)
- Modified Features description
- Updated screenshots
- Stability fixes
Download this release
Release Info
Developer | bmwebproperties |
Plugin | Social Media Widget |
Version | 3.1 |
Comparing to | |
See all releases |
Code changes from version 3.2 to 3.1
- images/cutout/16/vk.png +0 -0
- images/cutout/32/vk.png +0 -0
- images/cutout/64/vk.png +0 -0
- images/default/16/facebook.png +0 -0
- images/default/16/vk.png +0 -0
- images/default/32/facebook.png +0 -0
- images/default/32/vk.png +0 -0
- images/default/64/facebook.png +0 -0
- images/default/64/vk.png +0 -0
- images/heart/16/vk.png +0 -0
- images/heart/32/vk.png +0 -0
- images/heart/64/vk.png +0 -0
- images/sketch/16/vk.png +0 -0
- images/sketch/32/vk.png +0 -0
- images/sketch/64/vk.png +0 -0
- readme.txt +2 -14
- screenshot-7.png +0 -0
- social-widget.php +13 -34
images/cutout/16/vk.png
DELETED
Binary file
|
images/cutout/32/vk.png
DELETED
Binary file
|
images/cutout/64/vk.png
DELETED
Binary file
|
images/default/16/facebook.png
CHANGED
Binary file
|
images/default/16/vk.png
DELETED
Binary file
|
images/default/32/facebook.png
CHANGED
Binary file
|
images/default/32/vk.png
DELETED
Binary file
|
images/default/64/facebook.png
CHANGED
Binary file
|
images/default/64/vk.png
DELETED
Binary file
|
images/heart/16/vk.png
DELETED
Binary file
|
images/heart/32/vk.png
DELETED
Binary file
|
images/heart/64/vk.png
DELETED
Binary file
|
images/sketch/16/vk.png
DELETED
Binary file
|
images/sketch/32/vk.png
DELETED
Binary file
|
images/sketch/64/vk.png
DELETED
Binary file
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Social Media Widget ===
|
2 |
Contributors: bmwebproperties
|
3 |
-
Tags: social media, twitter, facebook, google+, googleplus, myspace, digg, email, rss, reddit, linkedin, orkut, youtube,
|
4 |
Requires at least: 2.9.2
|
5 |
Tested up to: 3.5.1
|
6 |
-
Stable tag: 3.
|
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 |
|
@@ -25,7 +25,6 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
|
|
25 |
* aSmallWorld
|
26 |
* About.me
|
27 |
* Skyrock
|
28 |
-
* VK
|
29 |
* Goodreads
|
30 |
* Github
|
31 |
* Instagram
|
@@ -72,10 +71,8 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
|
|
72 |
|
73 |
* Select from the following icon sizes:
|
74 |
* 16x16
|
75 |
-
* 24x24
|
76 |
* 32x32
|
77 |
* 64x64
|
78 |
-
* Custom
|
79 |
|
80 |
* Select from 4 icon packages:
|
81 |
* Web 2.0 (Default) - Icons from <a href="http://www.iconspedia.com/">various artists</a>
|
@@ -178,15 +175,6 @@ Please add a post on the Wordpress.org support forums with the plugin tagged.
|
|
178 |
|
179 |
== Changelog ==
|
180 |
|
181 |
-
= 3.2 =
|
182 |
-
|
183 |
-
* Added 24px icon size option
|
184 |
-
* Added custom icon size option
|
185 |
-
* Added official Facebook icon (default pack only)
|
186 |
-
* Added support for VK
|
187 |
-
* Resolved issues with SSL compatibility
|
188 |
-
* Stability fixes
|
189 |
-
|
190 |
= 3.1 =
|
191 |
|
192 |
* Added support for Skyrock
|
1 |
=== Social Media Widget ===
|
2 |
Contributors: bmwebproperties
|
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, instagram, skyrock, github, goodreads, about me
|
4 |
Requires at least: 2.9.2
|
5 |
Tested up to: 3.5.1
|
6 |
+
Stable tag: 3.1
|
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 |
|
25 |
* aSmallWorld
|
26 |
* About.me
|
27 |
* Skyrock
|
|
|
28 |
* Goodreads
|
29 |
* Github
|
30 |
* Instagram
|
71 |
|
72 |
* Select from the following icon sizes:
|
73 |
* 16x16
|
|
|
74 |
* 32x32
|
75 |
* 64x64
|
|
|
76 |
|
77 |
* Select from 4 icon packages:
|
78 |
* Web 2.0 (Default) - Icons from <a href="http://www.iconspedia.com/">various artists</a>
|
175 |
|
176 |
== Changelog ==
|
177 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
= 3.1 =
|
179 |
|
180 |
* Added support for Skyrock
|
screenshot-7.png
CHANGED
Binary file
|
social-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Plugin URI: http://wordpress.org/extend/plugins/social-media-widget/
|
5 |
* 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.
|
6 |
-
* Version: 3.
|
7 |
* Author: Blink Web Effects
|
8 |
* Author URI: http://blinkwebeffects.com/
|
9 |
**/
|
@@ -20,14 +20,11 @@ if ( !defined('WP_CONTENT_URL') ) {
|
|
20 |
|
21 |
/* Function for CSS */
|
22 |
|
23 |
-
function Social_Widget_Scripts(){
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
}
|
28 |
-
/* Add scripts to header */
|
29 |
-
|
30 |
-
add_action('wp_enqueue_scripts', 'Social_Widget_Scripts');
|
31 |
|
32 |
/* Register the widget */
|
33 |
function socialwidget_load_widgets() {
|
@@ -109,10 +106,6 @@ class Social_Widget extends WP_Widget {
|
|
109 |
'title' => 'About.me',
|
110 |
'image' => 'aboutme.png'
|
111 |
),
|
112 |
-
'vk' => array(
|
113 |
-
'title' => 'VK',
|
114 |
-
'image' => 'vk.png'
|
115 |
-
),
|
116 |
'skyrock' => array(
|
117 |
'title' => 'Skyrock',
|
118 |
'image' => 'skyrock.png'
|
@@ -356,12 +349,8 @@ class Social_Widget extends WP_Widget {
|
|
356 |
$this->smw_path = $customiconsurl;
|
357 |
$this->smw_dir = $customiconspath;
|
358 |
} else {
|
359 |
-
|
360 |
-
|
361 |
-
else if ($this->icon_size > 16 && $this->icon_size <= 32) { $folder = 32; }
|
362 |
-
else if ($this->icon_size > 32) { $folder = 64; }
|
363 |
-
$this->smw_path = SMW_PLUGINPATH . 'images/' . $icon_pack. '/' . $folder;
|
364 |
-
$this->smw_dir = SMW_PLUGINDIR . 'images/' . $icon_pack. '/' . $folder;
|
365 |
}
|
366 |
|
367 |
/* Before widget (defined by themes). */
|
@@ -397,7 +386,7 @@ class Social_Widget extends WP_Widget {
|
|
397 |
}
|
398 |
|
399 |
echo implode('', $html_chunks);
|
400 |
-
|
401 |
/* After widget (defined by themes). */
|
402 |
|
403 |
echo "</div>";
|
@@ -516,11 +505,7 @@ class Social_Widget extends WP_Widget {
|
|
516 |
$defaults['custom'.$i.'url'] = __('', 'smw');
|
517 |
}
|
518 |
|
519 |
-
$instance = wp_parse_args( (array) $instance, $defaults );
|
520 |
-
if ($instance['icon_size'] == 'default') {
|
521 |
-
$instance['icon_size'] = 32;
|
522 |
-
}
|
523 |
-
?>
|
524 |
<p>
|
525 |
<em>Note: Make sure you include FULL URL (i.e. http://www.example.com) </em>
|
526 |
</p>
|
@@ -550,17 +535,11 @@ class Social_Widget extends WP_Widget {
|
|
550 |
<!-- Choose Icon Size: Dropdown -->
|
551 |
<p>
|
552 |
<label for="<?php echo $this->get_field_id( 'icon_size' ); ?>"><?php _e('Icon Size', 'smw'); ?></label>
|
553 |
-
<
|
554 |
-
<input type="text" class="small-text" style="width: 30px;" name="" value="<?php echo $instance['icon_size']; ?>" onkeyup="jQuery(this).parent().siblings('input:hidden').val(jQuery(this).val());">px
|
555 |
-
</span>
|
556 |
-
<select style="float:right;" onchange="if (jQuery(this).find('option:selected').val() == '') { jQuery(this).prev('span').show(); } else { jQuery(this).prev('span').hide(); jQuery(this).next('input:hidden').val(jQuery(this).find('option:selected').val()); }">
|
557 |
<option value="16" <?php if($instance['icon_size'] == '16') { echo 'selected'; } ?>>16px</option>
|
558 |
-
<option value="
|
559 |
-
<option value="32" <?php if($instance['icon_size'] == '32' || $instance['icon_size'] == 'default') { echo 'selected'; } ?>>Default (32px)</option>
|
560 |
<option value="64" <?php if($instance['icon_size'] == '64') { echo 'selected'; } ?>>64px</option>
|
561 |
-
<option value="" <?php if(!in_array($instance['icon_size'], array('16', '24', '32', '64', 'default'))) { echo 'selected'; } ?>>Custom</option>
|
562 |
</select>
|
563 |
-
<input type="hidden" name="<?php echo $this->get_field_name( 'icon_size' ); ?>" value="<?php echo $instance['icon_size']; ?>">
|
564 |
</p>
|
565 |
<div class="clear"></div>
|
566 |
|
@@ -665,7 +644,7 @@ class Social_Widget extends WP_Widget {
|
|
665 |
<p><a href="javascript:;" onclick="jQuery(this).parent().next('div').slideToggle();" style="background: url('images/arrows.png') no-repeat; padding-left: 15px;"><strong>Social Networking</strong></a></p>
|
666 |
|
667 |
<div style="display: none;">
|
668 |
-
<?php foreach (array('facebook', 'googleplus', 'twitter', 'myspace', 'orkut', 'hyves', 'linkedin', 'asmallworld', 'foursquare', 'meetup', 'aboutme', 'skyrock', 'goodreads', 'github'
|
669 |
<p>
|
670 |
<label><strong><?php _e((isset($this->networks[$slug]) ? $this->networks[$slug]['title'] : $this->networks_end[$slug]['title']).' URL:', 'smw'); ?></strong></label>
|
671 |
<?php /*
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Plugin URI: http://wordpress.org/extend/plugins/social-media-widget/
|
5 |
* 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.
|
6 |
+
* Version: 3.1
|
7 |
* Author: Blink Web Effects
|
8 |
* Author URI: http://blinkwebeffects.com/
|
9 |
**/
|
20 |
|
21 |
/* Function for CSS */
|
22 |
|
23 |
+
function Social_Widget_Scripts(){
|
24 |
+
$social_widget_path = SMW_PLUGINPATH;
|
25 |
+
?>
|
26 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $social_widget_path; ?>social_widget.css" />
|
27 |
+
<?php }
|
|
|
|
|
|
|
28 |
|
29 |
/* Register the widget */
|
30 |
function socialwidget_load_widgets() {
|
106 |
'title' => 'About.me',
|
107 |
'image' => 'aboutme.png'
|
108 |
),
|
|
|
|
|
|
|
|
|
109 |
'skyrock' => array(
|
110 |
'title' => 'Skyrock',
|
111 |
'image' => 'skyrock.png'
|
349 |
$this->smw_path = $customiconsurl;
|
350 |
$this->smw_dir = $customiconspath;
|
351 |
} else {
|
352 |
+
$this->smw_path = SMW_PLUGINPATH . 'images/' . $icon_pack. '/' . $this->icon_size;
|
353 |
+
$this->smw_dir = SMW_PLUGINDIR . 'images/' . $icon_pack. '/' . $this->icon_size;
|
|
|
|
|
|
|
|
|
354 |
}
|
355 |
|
356 |
/* Before widget (defined by themes). */
|
386 |
}
|
387 |
|
388 |
echo implode('', $html_chunks);
|
389 |
+
|
390 |
/* After widget (defined by themes). */
|
391 |
|
392 |
echo "</div>";
|
505 |
$defaults['custom'.$i.'url'] = __('', 'smw');
|
506 |
}
|
507 |
|
508 |
+
$instance = wp_parse_args( (array) $instance, $defaults ); ?>
|
|
|
|
|
|
|
|
|
509 |
<p>
|
510 |
<em>Note: Make sure you include FULL URL (i.e. http://www.example.com) </em>
|
511 |
</p>
|
535 |
<!-- Choose Icon Size: Dropdown -->
|
536 |
<p>
|
537 |
<label for="<?php echo $this->get_field_id( 'icon_size' ); ?>"><?php _e('Icon Size', 'smw'); ?></label>
|
538 |
+
<select id="<?php echo $this->get_field_id( 'icon_size' ); ?>" name="<?php echo $this->get_field_name( 'icon_size' ); ?>" style="float:right;">
|
|
|
|
|
|
|
539 |
<option value="16" <?php if($instance['icon_size'] == '16') { echo 'selected'; } ?>>16px</option>
|
540 |
+
<option value="default" <?php if($instance['icon_size'] == 'default') { echo 'selected'; } ?>>Default (32px)</option>
|
|
|
541 |
<option value="64" <?php if($instance['icon_size'] == '64') { echo 'selected'; } ?>>64px</option>
|
|
|
542 |
</select>
|
|
|
543 |
</p>
|
544 |
<div class="clear"></div>
|
545 |
|
644 |
<p><a href="javascript:;" onclick="jQuery(this).parent().next('div').slideToggle();" style="background: url('images/arrows.png') no-repeat; padding-left: 15px;"><strong>Social Networking</strong></a></p>
|
645 |
|
646 |
<div style="display: none;">
|
647 |
+
<?php foreach (array('facebook', 'googleplus', 'twitter', 'myspace', 'orkut', 'hyves', 'linkedin', 'asmallworld', 'foursquare', 'meetup', 'aboutme', 'skyrock', 'goodreads', 'github') as $slug) : ?>
|
648 |
<p>
|
649 |
<label><strong><?php _e((isset($this->networks[$slug]) ? $this->networks[$slug]['title'] : $this->networks_end[$slug]['title']).' URL:', 'smw'); ?></strong></label>
|
650 |
<?php /*
|