Version Description
- Update settings
Download this release
Release Info
Developer | grimmdude |
Plugin | Social Media Widget |
Version | 4.0.3 |
Comparing to | |
See all releases |
Code changes from version 4.0.2 to 4.0.3
- images/cutout/16/blogger.png +0 -0
- images/cutout/16/delicious.png +0 -0
- images/cutout/16/flickr.png +0 -0
- images/cutout/16/picasa.png +0 -0
- images/cutout/16/stumble.png +0 -0
- images/cutout/16/wordpress.png +0 -0
- images/cutout/32/blogger.png +0 -0
- images/cutout/32/delicious.png +0 -0
- images/cutout/32/flickr.png +0 -0
- images/cutout/32/picasa.png +0 -0
- images/cutout/32/wordpress.png +0 -0
- images/heart/16/blogger.png +0 -0
- images/heart/16/delicious.png +0 -0
- images/heart/16/flickr.png +0 -0
- images/heart/16/stumble.png +0 -0
- images/heart/16/vimeo.png +0 -0
- images/heart/16/wordpress.png +0 -0
- images/heart/32/blogger.png +0 -0
- images/heart/32/delicious.png +0 -0
- images/heart/32/flickr.png +0 -0
- images/heart/32/skype.png +0 -0
- images/heart/32/stumble.png +0 -0
- images/heart/32/vimeo.png +0 -0
- images/heart/32/wordpress.png +0 -0
- images/heart/64/blogger.png +0 -0
- images/heart/64/delicious.png +0 -0
- images/heart/64/flickr.png +0 -0
- images/heart/64/skype.png +0 -0
- images/heart/64/stumble.png +0 -0
- images/heart/64/vimeo.png +0 -0
- images/heart/64/wordpress.png +0 -0
- images/sketch/16/stumble.png +0 -0
- images/sketch/32/stumble.png +0 -0
- other_plugins.php +0 -0
- readme.txt +7 -3
- settings.php +53 -0
- social-widget.php +52 -8
images/cutout/16/blogger.png
CHANGED
File without changes
|
images/cutout/16/delicious.png
CHANGED
File without changes
|
images/cutout/16/flickr.png
CHANGED
File without changes
|
images/cutout/16/picasa.png
CHANGED
File without changes
|
images/cutout/16/stumble.png
CHANGED
File without changes
|
images/cutout/16/wordpress.png
CHANGED
File without changes
|
images/cutout/32/blogger.png
CHANGED
File without changes
|
images/cutout/32/delicious.png
CHANGED
File without changes
|
images/cutout/32/flickr.png
CHANGED
File without changes
|
images/cutout/32/picasa.png
CHANGED
File without changes
|
images/cutout/32/wordpress.png
CHANGED
File without changes
|
images/heart/16/blogger.png
CHANGED
File without changes
|
images/heart/16/delicious.png
CHANGED
File without changes
|
images/heart/16/flickr.png
CHANGED
File without changes
|
images/heart/16/stumble.png
CHANGED
File without changes
|
images/heart/16/vimeo.png
CHANGED
File without changes
|
images/heart/16/wordpress.png
CHANGED
File without changes
|
images/heart/32/blogger.png
CHANGED
File without changes
|
images/heart/32/delicious.png
CHANGED
File without changes
|
images/heart/32/flickr.png
CHANGED
File without changes
|
images/heart/32/skype.png
CHANGED
File without changes
|
images/heart/32/stumble.png
CHANGED
File without changes
|
images/heart/32/vimeo.png
CHANGED
File without changes
|
images/heart/32/wordpress.png
CHANGED
File without changes
|
images/heart/64/blogger.png
CHANGED
File without changes
|
images/heart/64/delicious.png
CHANGED
File without changes
|
images/heart/64/flickr.png
CHANGED
File without changes
|
images/heart/64/skype.png
CHANGED
File without changes
|
images/heart/64/stumble.png
CHANGED
File without changes
|
images/heart/64/vimeo.png
CHANGED
File without changes
|
images/heart/64/wordpress.png
CHANGED
File without changes
|
images/sketch/16/stumble.png
CHANGED
File without changes
|
images/sketch/32/stumble.png
CHANGED
File without changes
|
other_plugins.php
ADDED
File without changes
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Social Media Widget ===
|
2 |
-
Contributors:
|
3 |
-
Tags: social media, twitter, facebook, google+, linkedin, youtube, vimeo, skype, yelp, instagram, social, icons
|
4 |
Requires at least: 2.9.2
|
5 |
Tested up to: 4.2.2
|
6 |
-
Stable tag: 4.0.
|
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 |
|
@@ -180,6 +180,10 @@ Please add a post on the Wordpress.org support forums with the plugin tagged.
|
|
180 |
|
181 |
== Changelog ==
|
182 |
|
|
|
|
|
|
|
|
|
183 |
= 4.0.2 =
|
184 |
|
185 |
* Removed malicious code injecting spam
|
1 |
=== Social Media Widget ===
|
2 |
+
Contributors: noahkagan
|
3 |
+
Tags: social media, twitter, facebook, google+, linkedin, youtube, vimeo, skype, yelp, instagram, social, icons
|
4 |
Requires at least: 2.9.2
|
5 |
Tested up to: 4.2.2
|
6 |
+
Stable tag: 4.0.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 |
|
180 |
|
181 |
== Changelog ==
|
182 |
|
183 |
+
= 4.0.3 =
|
184 |
+
|
185 |
+
* Update settings
|
186 |
+
|
187 |
= 4.0.2 =
|
188 |
|
189 |
* Removed malicious code injecting spam
|
settings.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_thickbox();
|
3 |
+
|
4 |
+
if (array_key_exists('socialwidget_global_notification', $_GET) && $_GET['socialwidget_global_notification'] == 0) {
|
5 |
+
update_option('socialwidget_global_notification', 0);
|
6 |
+
}
|
7 |
+
?>
|
8 |
+
<div class="wrap">
|
9 |
+
<?php settings_errors(); ?>
|
10 |
+
<style type="text/css">
|
11 |
+
#socialwidget_global_notification a.button:active {vertical-align:baseline;}
|
12 |
+
</style>
|
13 |
+
<div id="socialwidget_global_notification" style="border:3px solid #31964D;position:relative;background:#6AB07B;color:#ffffff;height:70px;margin:5px 0 15px;padding:1px 12px;">
|
14 |
+
<p style="font-size:16px;line-height:40px;">
|
15 |
+
<?php _e('Tools to grow your Email List, Social Sharing and Analytics.'); ?> <a style="background-color: #6267BE;border-color: #3C3F76;" href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox button button-primary">Get SumoMe WordPress Plugin</a>
|
16 |
+
</p>
|
17 |
+
</div>
|
18 |
+
<?php screen_icon(); ?>
|
19 |
+
<h1>Social Media Widget</h1>
|
20 |
+
<p>To add or edit a social media widget please <a href="<?php echo admin_url('widgets.php'); ?>">visit the widgets page</a>.</p>
|
21 |
+
<h3>Other Plugins</h3>
|
22 |
+
|
23 |
+
<p style="border:1px solid #CCCCCC;background:#FFFFFF;padding:8px;">
|
24 |
+
<a href="<?php echo admin_url( 'plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">SumoMe</a> - Tools to grow your Email List, Social Sharing and Analytics
|
25 |
+
<br /><br />
|
26 |
+
<a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=google-analyticator&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">Google Analyticator</a> - Easily view your Google Analytics and real-time statistics
|
27 |
+
<br /><br />
|
28 |
+
<a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=social-share-boost&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">Social Share Boost</a> - Boost Your Social Sharing by automatically adding various social share tools above or below the posts, page and excerpts.
|
29 |
+
</p>
|
30 |
+
|
31 |
+
<h3>Signup for a free 30 day course to DOUBLE YOUR EMAIL LIST</h3>
|
32 |
+
<form method="post" class="af-form-wrapper" action="http://www.aweber.com/scripts/addlead.pl" target="_blank">
|
33 |
+
<p>
|
34 |
+
<input placeholder="Type Your Email Address" class="email" name="email" autofocus style="width:200px;" />
|
35 |
+
</p>
|
36 |
+
<p>
|
37 |
+
<button class="button button-primary">Let me in!</button>
|
38 |
+
</p>
|
39 |
+
|
40 |
+
<input type="hidden" name="meta_web_form_id" value="1747290999" />
|
41 |
+
<input type="hidden" name="meta_split_id" value="" />
|
42 |
+
<input type="hidden" name="listname" value="awlist3626406" />
|
43 |
+
<input type="hidden" name="redirect" value="http://email1k.sumome.com/tweet.html" id="redirect_19605a373ab8e7f77fc954424326ab1c" />
|
44 |
+
<input type="hidden" name="meta_redirect_onlist" value="http://email1k.sumome.com/tweet.html" />
|
45 |
+
<input type="hidden" name="meta_adtracking" value="social-media-widget" />
|
46 |
+
<input type="hidden" name="meta_message" value="1" />
|
47 |
+
<input type="hidden" name="meta_required" value="email" />
|
48 |
+
<input type="hidden" name="meta_tooltip" value="" />
|
49 |
+
</form>
|
50 |
+
|
51 |
+
<!--<p style="border:1px solid #CCCCCC;background:#FFFFFF;padding:8px;">Check out more sharing tools with our <a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">SumoMe WordPress plugin</a></p>-->
|
52 |
+
<p><i>If you find this plugin useful please <a href="https://wordpress.org/support/view/plugin-reviews/social-media-widget" target="_blank">leave us a review!</a></i></p>
|
53 |
+
</div>
|
social-widget.php
CHANGED
@@ -3,9 +3,9 @@
|
|
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: 4.0.
|
7 |
-
* Author:
|
8 |
-
* Author URI: http://
|
9 |
**/
|
10 |
|
11 |
|
@@ -1060,10 +1060,12 @@ class Social_Widget extends WP_Widget {
|
|
1060 |
</script>
|
1061 |
<div style="clear: both;"></div>
|
1062 |
<!-- Promo -->
|
1063 |
-
<br
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
|
|
|
|
1067 |
|
1068 |
<?php
|
1069 |
}
|
@@ -1074,4 +1076,46 @@ add_action('wp_head', 'Social_Widget_Scripts');
|
|
1074 |
|
1075 |
/* Load the widget */
|
1076 |
add_action( 'widgets_init', 'socialwidget_load_widgets' );
|
1077 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 4.0.3
|
7 |
+
* Author: Noah Kagan
|
8 |
+
* Author URI: http://sumome.com
|
9 |
**/
|
10 |
|
11 |
|
1060 |
</script>
|
1061 |
<div style="clear: both;"></div>
|
1062 |
<!-- Promo -->
|
1063 |
+
<br />
|
1064 |
+
<?php add_thickbox(); ?>
|
1065 |
+
<p style="font-weight:bold;">
|
1066 |
+
Looking for more sharing tools?<br />
|
1067 |
+
<a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">Checkout our SumoMe plugin!</a>
|
1068 |
+
</p>
|
1069 |
|
1070 |
<?php
|
1071 |
}
|
1076 |
|
1077 |
/* Load the widget */
|
1078 |
add_action( 'widgets_init', 'socialwidget_load_widgets' );
|
1079 |
+
|
1080 |
+
add_option('socialwidget_global_notification', 1);
|
1081 |
+
|
1082 |
+
function socialwidget_settings_page() {
|
1083 |
+
include(plugin_dir_path( __FILE__ ).'/settings.php');
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
function socialwidget_plugins_page() {
|
1087 |
+
include(plugin_dir_path( __FILE__ ).'/other_plugins.php');
|
1088 |
+
}
|
1089 |
+
|
1090 |
+
function socialwidget_top_level_menu() {
|
1091 |
+
add_menu_page( 'Social Media Widget', 'Social Media Widget', 'manage_options', 'social-media-widget', 'socialwidget_settings_page', 'dashicons-share');
|
1092 |
+
//add_submenu_page( 'social-media-widget', 'Other Plugins', 'Other Plugins', 'manage_options', 'social-media-widget-other-plugins', 'socialwidget_other_plugins_page');
|
1093 |
+
}
|
1094 |
+
|
1095 |
+
add_action( 'admin_menu', 'socialwidget_top_level_menu' );
|
1096 |
+
|
1097 |
+
function socialwidget_global_notice() {
|
1098 |
+
if (in_array(substr(basename($_SERVER['REQUEST_URI']), 0, 11), array('plugins.php', 'index.php')) && get_option('socialwidget_global_notification') == 1) {
|
1099 |
+
?>
|
1100 |
+
<style type="text/css">
|
1101 |
+
#socialwidget_global_notification a.button:active {vertical-align:baseline;}
|
1102 |
+
</style>
|
1103 |
+
<div class="updated" id="socialwidget_global_notification" style="border:3px solid #317A96;position:relative;background:##3c9cc2;background-color:#3c9cc2;color:#ffffff;height:70px;">
|
1104 |
+
<a class="notice-dismiss" href="<?php echo admin_url('admin.php?page=social-media-widget&socialwidget_global_notification=0'); ?>" style="right:165px;top:0;"></a>
|
1105 |
+
<a href="<?php echo admin_url('admin.php?page=social-media-widget&socialwidget_global_notification=0'); ?>" style="position:absolute;top:9px;right:15px;color:#ffffff;">Dismiss and go to settings</a>
|
1106 |
+
<p style="font-size:16px;line-height:50px;">
|
1107 |
+
<?php _e('Looking for more sharing tools?'); ?> <a style="background-color: #6267BE;border-color: #3C3F76;" href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox button button-primary">Get SumoMe WordPress Plugin</a>
|
1108 |
+
</p>
|
1109 |
+
</div>
|
1110 |
+
<?php
|
1111 |
+
}
|
1112 |
+
}
|
1113 |
+
add_action( 'admin_notices', 'socialwidget_global_notice' );
|
1114 |
+
|
1115 |
+
|
1116 |
+
function socialwidget_deactivate() {
|
1117 |
+
delete_option('socialwidget_global_notification');
|
1118 |
+
}
|
1119 |
+
|
1120 |
+
register_deactivation_hook( __FILE__, 'socialwidget_deactivate' );
|
1121 |
+
|