Version Description
- Performance improvements for Dashboard loading
- Added "message" parameter to share shortcode
Download this release
Release Info
Developer | socialmediafeather |
Plugin | Social Media Feather | social media sharing |
Version | 1.7.12 |
Comparing to | |
See all releases |
Code changes from version 1.7.9 to 1.7.12
- readme.txt +56 -7
- social-media-feather.php +1 -1
- synved-connect/synved-connect-sponsor.php +70 -59
- synved-connect/synved-connect.php +3 -3
- synved-social/synved-social-setup.php +1 -0
- synved-social/synved-social.php +8 -8
readme.txt
CHANGED
@@ -1,26 +1,26 @@
|
|
1 |
-
=== Social Media Feather
|
2 |
-
Contributors: Synved
|
3 |
Donate link: http://synved.com/wordpress-social-media-feather/
|
4 |
-
Tags:
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 4.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
[WordPress Social Media Feather](http://synved.com/wordpress-social-media-feather/ "Lightweight WordPress social sharing and following") is a super lightweight free social media WordPress plugin that allows you to quickly and painlessly add **social sharing and following** features to all your posts, pages and custom post types.
|
16 |
|
17 |
-
The plugin supports adding of social buttons for sharing or following (that is, social buttons that link to your social network profiles pages). The social media buttons can
|
18 |
|
19 |
Check out this introductory tutorial on [how to install and get started with Social Media for WordPress](http://youtu.be/iJAq2nJi6BM) by a helpful user of Social Media Feather!
|
20 |
|
21 |
https://www.youtube.com/watch?v=iJAq2nJi6BM
|
22 |
|
23 |
-
Now the only social sharing and bookmarking plugin with full support for the **Retina and high resolution displays** as used in iPad
|
24 |
|
25 |
The primary goal behind the plugin is to provide very lightweight WordPress social sharing and following that doesn’t add any unnecessary burden to your site and especially on your users, so you can easily add share buttons and social profiles links to your posts and pages automatically and speedily.
|
26 |
|
@@ -154,6 +154,44 @@ Go to Settings -> Social Media and under "Automatic Display" uncheck "Display Sh
|
|
154 |
|
155 |
Go to Settings -> Social Media and under "Automatic Display" uncheck "Display Sharing Buttons" as well as "Display Follow Buttons". Then go under Appearance -> Widgets and add the "Social Media Feather: Follow Us" widget to your sidebar.
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
== Screenshots ==
|
158 |
|
159 |
1. An example of how the sharing or following buttons appear in the front-end at 64 pixel resolution
|
@@ -166,6 +204,17 @@ Go to Settings -> Social Media and under "Automatic Display" uncheck "Display Sh
|
|
166 |
|
167 |
== Changelog ==
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
= 1.7.9 =
|
170 |
* Changed text domain to reflect plugin slug
|
171 |
|
1 |
+
=== Social Media Feather | social media sharing ===
|
2 |
+
Contributors: Synved, socialmediafeather
|
3 |
Donate link: http://synved.com/wordpress-social-media-feather/
|
4 |
+
Tags: social media, social sharing, Facebook, Share, Like, twitter, google, Reddit, youtube, instagram, pinterest, social media buttons, button, shortcode, sidebar
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 4.7
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Lightweight, modern looking and effective social media sharing and profile buttons and icons. All your social media needs in 1 easy package!
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
[WordPress Social Media Feather](http://synved.com/wordpress-social-media-feather/ "Lightweight WordPress social sharing and following") is a super lightweight free social media WordPress plugin that allows you to quickly and painlessly add **social sharing and following** features to all your posts, pages and custom post types.
|
16 |
|
17 |
+
The plugin supports adding of social buttons for sharing or following (that is, social buttons that link to your social network profiles pages). The social media buttons can easily and automatically be added to all your posts, pages or any other **custom post types**.
|
18 |
|
19 |
Check out this introductory tutorial on [how to install and get started with Social Media for WordPress](http://youtu.be/iJAq2nJi6BM) by a helpful user of Social Media Feather!
|
20 |
|
21 |
https://www.youtube.com/watch?v=iJAq2nJi6BM
|
22 |
|
23 |
+
Now the only social sharing and bookmarking plugin with full support for the **Retina and high resolution displays** as used in the iPad, iPhones and other devices!
|
24 |
|
25 |
The primary goal behind the plugin is to provide very lightweight WordPress social sharing and following that doesn’t add any unnecessary burden to your site and especially on your users, so you can easily add share buttons and social profiles links to your posts and pages automatically and speedily.
|
26 |
|
154 |
|
155 |
Go to Settings -> Social Media and under "Automatic Display" uncheck "Display Sharing Buttons" as well as "Display Follow Buttons". Then go under Appearance -> Widgets and add the "Social Media Feather: Follow Us" widget to your sidebar.
|
156 |
|
157 |
+
= How do I show a set of custom sharing buttons on my homepage or about page? =
|
158 |
+
|
159 |
+
You can simply edit the page in question and add a [shortcode](https://codex.wordpress.org/Shortcode) like the following `[feather_share url="http://www.example.org"]`, then replace `http://www.example.org` with the URL to your site. See the next FAQ as well for adding an image. You can also install our free [WordPress Shortcodes](https://wordpress.org/plugins/synved-shortcodes/) plugin that lets you add shortcodes more intuitively by providing built-in documentation for parameters.
|
160 |
+
|
161 |
+
= How do I specify a custom image for my sharing buttons shortcode? =
|
162 |
+
|
163 |
+
Just edit your [shortcode](https://codex.wordpress.org/Shortcode) so it looks like this `[feather_share url="http://www.example.org" image="http://www.example.org/image.jpg"]`, remember to substitute `http://www.example.org` with the URL to your site and the same goes for the JPEG URL.
|
164 |
+
|
165 |
+
= How do I add a set of custom social network profile icons on my homepage or about page? =
|
166 |
+
|
167 |
+
Just edit the page contents and insert another [shortcode](https://codex.wordpress.org/Shortcode) like this `[feather_follow]`. You should consider installing our free [WordPress Shortcodes](https://wordpress.org/plugins/synved-shortcodes/) plugin that makes adding shortcodes more intuitive by showing detailed descriptions for all arguments.
|
168 |
+
|
169 |
+
= Facebook is not showing the correct title/description/thumbnail, what to I do? =
|
170 |
+
|
171 |
+
Social Media Feather always try to communicate to Facebook the correct parameters corresponding to the post being shared, including title and thumbnail but Facebook sometimes decides to ignore this information and instead picks up its own details from the page. This could be because some other plugin on your site is incorrectly specifying some OpenGraph tags in your page, or simply down to a Facebook choice. In both cases the solution is to remove any plugins creating incorrect OpenGraph tags and instead installing a plugin that provides proper OpenGraph tags, like [Yoast SEO](https://wordpress.org/plugins/wordpress-seo/).
|
172 |
+
|
173 |
+
= I have an OpenGraph plugin which is creating the proper tags but Facebook is not picking them up, what do I do? =
|
174 |
+
|
175 |
+
This could be due to Facebook caching your page information. Go to [Facebook Debug Tools](https://developers.facebook.com/tools/debug/) and type in the URL to the post/page, then click "Debug". On the next screen that loads, now click on "Fetch new scraping information"; this should clear Facebook's cache of your page.
|
176 |
+
|
177 |
+
= Only some or none of the social media buttons show up, what causes it? =
|
178 |
+
|
179 |
+
If you have automatic display enabled or you're displaying the social media icons using other means, like shortcodes or widgets, but some or all the buttons are not showing up in your browser, but they do show up on a fresh install of a different browser, it is possible that some of your browser add-ons are blocking the icons. This is generally caused by ad-blocking software such as Adblock or Adblock Plus. Please add your site in the exception list for these add-ons and your social icons should show up again.
|
180 |
+
|
181 |
+
= When clicking on any share button, I'm getting an error of "The requested content cannot be loaded. Please try again later." How do I fix it? =
|
182 |
+
This is not caused by our plugin but by a lightbox library you are using. This could either be loaded by your theme or one of your other plugins. If you're using Easy Fancybox, please install their [development version](https://downloads.wordpress.org/plugin/easy-fancybox.zip).
|
183 |
+
|
184 |
+
= I want to add/remove some margin to the social media buttons, how do I do it? =
|
185 |
+
You can achieve this by adding some CSS under Settings -> Social Media, "Extra Style" option. Add something like this inside that text area:
|
186 |
+
`.synved-social-button {
|
187 |
+
margin-left: 10px !important;
|
188 |
+
}`
|
189 |
+
|
190 |
+
If you want to just add it to the buttons as a whole instead of each individual button, then set "Buttons in Container" to "Both" and "Buttons Container Type" to "Block" and add this:
|
191 |
+
`.synved-social-container {
|
192 |
+
margin-left: 10px;
|
193 |
+
}`
|
194 |
+
|
195 |
== Screenshots ==
|
196 |
|
197 |
1. An example of how the sharing or following buttons appear in the front-end at 64 pixel resolution
|
204 |
|
205 |
== Changelog ==
|
206 |
|
207 |
+
= 1.7.12 =
|
208 |
+
* Performance improvements for Dashboard loading
|
209 |
+
* Added "message" parameter to share shortcode
|
210 |
+
|
211 |
+
= 1.7.11 =
|
212 |
+
* Adjusted some text and README descriptions
|
213 |
+
|
214 |
+
= 1.7.10 =
|
215 |
+
* Use HTTPs by default for Facebook/Twitter follows
|
216 |
+
* Ensure facebook alt uses capitalized Facebook to pass facebook ads requirements
|
217 |
+
|
218 |
= 1.7.9 =
|
219 |
* Changed text domain to reflect plugin slug
|
220 |
|
social-media-feather.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Social Media Feather
|
|
4 |
Plugin URI: http://synved.com/wordpress-social-media-feather/
|
5 |
Description: Super lightweight social media plugin to add nice and effective social media sharing and following buttons and icons anywhere on your site quickly and easily
|
6 |
Author: Synved
|
7 |
-
Version: 1.7.
|
8 |
Author URI: http://synved.com/
|
9 |
|
10 |
LEGAL STATEMENTS
|
4 |
Plugin URI: http://synved.com/wordpress-social-media-feather/
|
5 |
Description: Super lightweight social media plugin to add nice and effective social media sharing and following buttons and icons anywhere on your site quickly and easily
|
6 |
Author: Synved
|
7 |
+
Version: 1.7.12
|
8 |
Author URI: http://synved.com/
|
9 |
|
10 |
LEGAL STATEMENTS
|
synved-connect/synved-connect-sponsor.php
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
|
3 |
function synved_connect_sponsor_list($filter = null)
|
4 |
{
|
|
|
|
|
5 |
$sponsor_list = array(
|
6 |
'wordpress-themes-1' => array(
|
7 |
'type' => 'credit',
|
@@ -40,67 +42,76 @@ function synved_connect_sponsor_list($filter = null)
|
|
40 |
)
|
41 |
);
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
if (!is_wp_error($feed))
|
46 |
{
|
47 |
-
$
|
48 |
-
$feed_items = $feed->get_items(0, $maxitems);
|
49 |
-
$feed_list = array();
|
50 |
-
|
51 |
-
if ($maxitems > 0)
|
52 |
-
{
|
53 |
-
foreach ($feed_items as $feed_item)
|
54 |
-
{
|
55 |
-
$id = $feed_item->get_id();
|
56 |
-
$label = $feed_item->get_title();
|
57 |
-
$tip = $feed_item->get_description();
|
58 |
-
$link = $feed_item->get_permalink();
|
59 |
-
$text = $feed_item->get_content();
|
60 |
-
|
61 |
-
$id_parts = array();
|
62 |
-
parse_str(parse_url($id, PHP_URL_QUERY), $id_parts);
|
63 |
-
$id = $id_parts['guid'];
|
64 |
-
|
65 |
-
$feed_categories = $feed_item->get_categories();
|
66 |
-
$type = null;
|
67 |
-
|
68 |
-
if ($feed_categories != null)
|
69 |
-
{
|
70 |
-
$category_tag = 'synved-connect-type-';
|
71 |
-
|
72 |
-
foreach ($feed_categories as $feed_category)
|
73 |
-
{
|
74 |
-
$feed_category = $feed_category->get_label();
|
75 |
-
|
76 |
-
if (substr($feed_category, 0, strlen($category_tag)) == $category_tag)
|
77 |
-
{
|
78 |
-
$type = substr($feed_category, strlen($category_tag));
|
79 |
-
|
80 |
-
break;
|
81 |
-
}
|
82 |
-
}
|
83 |
-
}
|
84 |
-
|
85 |
-
if ($type != null && $id != null)
|
86 |
-
{
|
87 |
-
$feed_list[$id] = array(
|
88 |
-
'type' => $type,
|
89 |
-
'label' => $label,
|
90 |
-
'tip' => $tip,
|
91 |
-
'link' => $link,
|
92 |
-
'text' => $text
|
93 |
-
);
|
94 |
-
}
|
95 |
-
}
|
96 |
-
}
|
97 |
-
|
98 |
-
if ($feed_list != null)
|
99 |
-
{
|
100 |
-
$sponsor_list = $feed_list;
|
101 |
-
}
|
102 |
}
|
103 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
if ($filter != null)
|
105 |
{
|
106 |
$final_list = array();
|
2 |
|
3 |
function synved_connect_sponsor_list($filter = null)
|
4 |
{
|
5 |
+
global $synved_connect;
|
6 |
+
|
7 |
$sponsor_list = array(
|
8 |
'wordpress-themes-1' => array(
|
9 |
'type' => 'credit',
|
42 |
)
|
43 |
);
|
44 |
|
45 |
+
if (isset($synved_connect['sponsor-list']))
|
|
|
|
|
46 |
{
|
47 |
+
$sponsor_list = $synved_connect['sponsor-list'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
+
else
|
50 |
+
{
|
51 |
+
$feed = fetch_feed('http://feeds.feedburner.com/_SynvedConnectList?format=xml');
|
52 |
+
|
53 |
+
if (!is_wp_error($feed))
|
54 |
+
{
|
55 |
+
$maxitems = $feed->get_item_quantity();
|
56 |
+
$feed_items = $feed->get_items(0, $maxitems);
|
57 |
+
$feed_list = array();
|
58 |
+
|
59 |
+
if ($maxitems > 0)
|
60 |
+
{
|
61 |
+
foreach ($feed_items as $feed_item)
|
62 |
+
{
|
63 |
+
$id = $feed_item->get_id();
|
64 |
+
$label = $feed_item->get_title();
|
65 |
+
$tip = $feed_item->get_description();
|
66 |
+
$link = $feed_item->get_permalink();
|
67 |
+
$text = $feed_item->get_content();
|
68 |
+
|
69 |
+
$id_parts = array();
|
70 |
+
parse_str(parse_url($id, PHP_URL_QUERY), $id_parts);
|
71 |
+
$id = $id_parts['guid'];
|
72 |
+
|
73 |
+
$feed_categories = $feed_item->get_categories();
|
74 |
+
$type = null;
|
75 |
+
|
76 |
+
if ($feed_categories != null)
|
77 |
+
{
|
78 |
+
$category_tag = 'synved-connect-type-';
|
79 |
+
|
80 |
+
foreach ($feed_categories as $feed_category)
|
81 |
+
{
|
82 |
+
$feed_category = $feed_category->get_label();
|
83 |
+
|
84 |
+
if (substr($feed_category, 0, strlen($category_tag)) == $category_tag)
|
85 |
+
{
|
86 |
+
$type = substr($feed_category, strlen($category_tag));
|
87 |
+
|
88 |
+
break;
|
89 |
+
}
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
if ($type != null && $id != null)
|
94 |
+
{
|
95 |
+
$feed_list[$id] = array(
|
96 |
+
'type' => $type,
|
97 |
+
'label' => $label,
|
98 |
+
'tip' => $tip,
|
99 |
+
'link' => $link,
|
100 |
+
'text' => $text
|
101 |
+
);
|
102 |
+
}
|
103 |
+
}
|
104 |
+
}
|
105 |
+
|
106 |
+
if ($feed_list != null)
|
107 |
+
{
|
108 |
+
$sponsor_list = $feed_list;
|
109 |
+
}
|
110 |
+
}
|
111 |
+
|
112 |
+
$synved_connect['sponsor-list'] = $sponsor_list;
|
113 |
+
}
|
114 |
+
|
115 |
if ($filter != null)
|
116 |
{
|
117 |
$final_list = array();
|
synved-connect/synved-connect.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Module Name: Synved Connect
|
4 |
Description: Connect and sync components in a WordPress installation with a remote server
|
5 |
Author: Synved
|
6 |
-
Version: 1.0.
|
7 |
Author URI: http://synved.com/
|
8 |
License: GPLv2
|
9 |
|
@@ -24,8 +24,8 @@ include_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'synved-connect-sponsor.p
|
|
24 |
|
25 |
|
26 |
define('SYNVED_CONNECT_LOADED', true);
|
27 |
-
define('SYNVED_CONNECT_VERSION',
|
28 |
-
define('SYNVED_CONNECT_VERSION_STRING', '1.0.
|
29 |
|
30 |
|
31 |
$synved_connect = array();
|
3 |
Module Name: Synved Connect
|
4 |
Description: Connect and sync components in a WordPress installation with a remote server
|
5 |
Author: Synved
|
6 |
+
Version: 1.0.3
|
7 |
Author URI: http://synved.com/
|
8 |
License: GPLv2
|
9 |
|
24 |
|
25 |
|
26 |
define('SYNVED_CONNECT_LOADED', true);
|
27 |
+
define('SYNVED_CONNECT_VERSION', 100000003);
|
28 |
+
define('SYNVED_CONNECT_VERSION_STRING', '1.0.3');
|
29 |
|
30 |
|
31 |
$synved_connect = array();
|
synved-social/synved-social-setup.php
CHANGED
@@ -962,6 +962,7 @@ function synved_social_init()
|
|
962 |
$share_params = array(
|
963 |
'url' => __('URL to use for the sharing buttons, default is the current post URL', 'social-media-feather'),
|
964 |
'title' => __('Title to use for the sharing buttons, default is the current post title', 'social-media-feather'),
|
|
|
965 |
);
|
966 |
|
967 |
$follow_params = array(
|
962 |
$share_params = array(
|
963 |
'url' => __('URL to use for the sharing buttons, default is the current post URL', 'social-media-feather'),
|
964 |
'title' => __('Title to use for the sharing buttons, default is the current post title', 'social-media-feather'),
|
965 |
+
'message' => __('Message to use when sharing content, replaced into the %%message%% variable', 'social-media-feather'),
|
966 |
);
|
967 |
|
968 |
$follow_params = array(
|
synved-social/synved-social.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Module Name: Synved Social
|
4 |
Description: Social sharing and following tools
|
5 |
Author: Synved
|
6 |
-
Version: 1.7.
|
7 |
Author URI: http://synved.com/
|
8 |
License: GPLv2
|
9 |
|
@@ -18,8 +18,8 @@ In no event shall Synved Ltd. be liable to you or any third party for any direct
|
|
18 |
|
19 |
|
20 |
define('SYNVED_SOCIAL_LOADED', true);
|
21 |
-
define('SYNVED_SOCIAL_VERSION',
|
22 |
-
define('SYNVED_SOCIAL_VERSION_STRING', '1.7.
|
23 |
|
24 |
define('SYNVED_SOCIAL_ADDON_PATH', str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, dirname(__FILE__) . '/addons'));
|
25 |
|
@@ -216,7 +216,7 @@ function synved_social_service_provider_list($context, $raw = false)
|
|
216 |
'title' => __('Share on Facebook')
|
217 |
),
|
218 |
'twitter' => array(
|
219 |
-
'link' => '
|
220 |
'title' => __('Share on Twitter'),
|
221 |
),
|
222 |
'google_plus' => array(
|
@@ -250,11 +250,11 @@ function synved_social_service_provider_list($context, $raw = false)
|
|
250 |
{
|
251 |
$provider_list = array(
|
252 |
'facebook' => array(
|
253 |
-
'link' => '
|
254 |
'title' => __('Follow us on Facebook'),
|
255 |
),
|
256 |
'twitter' => array(
|
257 |
-
'link' => '
|
258 |
'title' => __('Follow us on Twitter'),
|
259 |
),
|
260 |
'google_plus' => array(
|
@@ -608,7 +608,7 @@ function synved_social_icon_skin_get_image_list($skin, $name_list, $forced_size
|
|
608 |
|
609 |
function synved_social_button_list_shortcode($atts, $content = null, $code = '', $context = null)
|
610 |
{
|
611 |
-
$vars_def = array('url' => null, 'image' => null, 'title' => null);
|
612 |
$params_def = array('skin' => null, 'size' => null, 'spacing' => null, 'container' => null, 'container_type' => null, 'class' => null, 'show' => null, 'hide' => null, 'prompt' => null, 'custom1' => null, 'custom2' => null, 'custom3' => null);
|
613 |
$vars = shortcode_atts($vars_def, $atts, 'feather_' . $context);
|
614 |
$params = shortcode_atts($params_def, $atts, 'feather_' . $context);
|
@@ -1199,7 +1199,7 @@ function synved_social_button_list_markup($context, $vars = null, $buttons = nul
|
|
1199 |
'child-list' => array(
|
1200 |
array(
|
1201 |
'tag' => 'img',
|
1202 |
-
'alt' => $button_key,
|
1203 |
'title' => $title,
|
1204 |
'class' => 'synved-share-image synved-social-image synved-social-image-' . $context,
|
1205 |
'width' => $size,
|
3 |
Module Name: Synved Social
|
4 |
Description: Social sharing and following tools
|
5 |
Author: Synved
|
6 |
+
Version: 1.7.12
|
7 |
Author URI: http://synved.com/
|
8 |
License: GPLv2
|
9 |
|
18 |
|
19 |
|
20 |
define('SYNVED_SOCIAL_LOADED', true);
|
21 |
+
define('SYNVED_SOCIAL_VERSION', 100070012);
|
22 |
+
define('SYNVED_SOCIAL_VERSION_STRING', '1.7.12');
|
23 |
|
24 |
define('SYNVED_SOCIAL_ADDON_PATH', str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, dirname(__FILE__) . '/addons'));
|
25 |
|
216 |
'title' => __('Share on Facebook')
|
217 |
),
|
218 |
'twitter' => array(
|
219 |
+
'link' => 'https://twitter.com/intent/tweet?url=%%url%%&text=%%message%%',
|
220 |
'title' => __('Share on Twitter'),
|
221 |
),
|
222 |
'google_plus' => array(
|
250 |
{
|
251 |
$provider_list = array(
|
252 |
'facebook' => array(
|
253 |
+
'link' => 'https://www.facebook.com/facebook',
|
254 |
'title' => __('Follow us on Facebook'),
|
255 |
),
|
256 |
'twitter' => array(
|
257 |
+
'link' => 'https://twitter.com/twitter',
|
258 |
'title' => __('Follow us on Twitter'),
|
259 |
),
|
260 |
'google_plus' => array(
|
608 |
|
609 |
function synved_social_button_list_shortcode($atts, $content = null, $code = '', $context = null)
|
610 |
{
|
611 |
+
$vars_def = array('url' => null, 'image' => null, 'title' => null, 'message' => null);
|
612 |
$params_def = array('skin' => null, 'size' => null, 'spacing' => null, 'container' => null, 'container_type' => null, 'class' => null, 'show' => null, 'hide' => null, 'prompt' => null, 'custom1' => null, 'custom2' => null, 'custom3' => null);
|
613 |
$vars = shortcode_atts($vars_def, $atts, 'feather_' . $context);
|
614 |
$params = shortcode_atts($params_def, $atts, 'feather_' . $context);
|
1199 |
'child-list' => array(
|
1200 |
array(
|
1201 |
'tag' => 'img',
|
1202 |
+
'alt' => $button_key == 'facebook' ? 'Facebook' : $button_key,
|
1203 |
'title' => $title,
|
1204 |
'class' => 'synved-share-image synved-social-image synved-social-image-' . $context,
|
1205 |
'width' => $size,
|