Hello,
I have been using this plugin for years!
Recently, came across a deprecated notice, when WP debug log is turned on.
PHP Notice: The called constructor method for WP_Widget in socialIcons is deprecated since version 4.3.0!
To solve this, please edit the file easy-social-widget.php
and change the line (number 3 as of this writing) that starts with parent::WP_Widget
(inside function socianIcons()
) to parent::__construct
. When you do this, you’ll be presented with another PHP notice as follows…
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
To fix this, edit the same file and change the line (number 2 as of this writing), from function socialIcons() {
to function __construct() {
.
Hope this helps someone!
]]>.jpg’s speak louder than words: https://imgur.com/EzoMCnh.jpg
]]>Hey guys,
Thanks for an amazing plugin, I have two problems. My facebook like and share buttons are sitting lower than the rest of the icons. Maybe 2-4px lower. Can you help me resolve this please.
Also when I’m in the setup area and try to enter the URL’s for each social service I fill them out and click update and it 404 errors to the front of my site.
Any help would be amazing!
Cheers
AJ
How do you get the pinterest button to show? where are the settings for this? I can’t find it…what am I missing?
]]>How to make this plugin show the buttons above the post instead of below the post
]]>Hi Add Google+ share button
]]>Hello, the social media buttons are not appearing on my posts. Any idea of what the problem might be?
]]>Have a clean install of WP using Thesis theme and your latest version. When I activate your plug-in I get the following error:
Fatal error: Call to undefined function get_post_thumbnail_id() in easy-social-media.php on line 87.
Any solutions?
Thanks
]]>Hi Alex, luv the pluggin…but experiencing a funny little quirk. Every time someone selects the Facebook like feature or the send for a post it sends the post however the image in the post is not being displayed what is being displayed is random image found in one of my widgets menu. So you have a completely unrelated image for the post being carried over into Facebook. Can you offer some guidance on how to correct. Thanks!
Reposted here from your blog. Thanks
]]>Last update inserts the post title below post meta data, so the post title is displayed twice. Using a child theme of twentyeleven.
]]>Hello, I would like that code should use to add social buttons to the entries that appear on the main page of my site. thanks
]]>Hello!
I am using your easy-social-media plugin to add the social buttons to a wordpress site I’m working on for a customer.
On this site’s front page, we have some static content, and then there are blog posts displayed as well. I’ve modified my index.php for the site to show the easy social buttons after each blog post on the index page.
However, when I do this, the share buttons all try to share the homepage, and not the link to the blog that they should be referring to.
I’ve modified your code slightly to allow passing of a URL to the add_social_buttons function. I thought I’d share this code modification with you, and if you wanted you could integrate this into futre releases.
Here’s a diff that shows the changes I’ve made:
https://pastebin.com/RYYfCmW2
And I call the function like this in my index.php from wordpress:
echo add_social_buttons($content, get_permalink());
Hope you like my addition! Thanks for the plugin!
[sig moderated as per the Forum Rules]
]]>Overall, I love this plugin. I have only one issue (less important issue).
For some reason, Linkedin social button is missing in the widget area. I checked the URL of my Linkedin profile (on a incognito window). So, the link works.
Is it a bug or am I missing something?
Thanks.
]]>