I have social media share buttons on every blog post. However, the icon images are not displaying or loading. Does anyone know how to fix it? Thanks
You can see it in this screenshot: https://drive.google.com/file/d/14e8cv8GtrAfUKkllGnJderI-ccJrGiwU/view?usp=sharing
]]>My php logs show this warning, every time a page loads:
PHP Warning: Undefined array key "ssba_bar_buttons" in ../wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 602;
Using WordPress 6.6.2 on PHP 8.2.24 with Simple Share Buttons Adder plugin version 8.5.1.
]]>While the X icon has been updated in most of the plugin, when using the Shortcode version, it still displays the Twitter icon.
]]>Hi,
We’ve noticed a bug where “Uncaught ReferenceError: Main is not defined at …” which is defined in:
wp_add_inline_script(
ASSET_PREFIX . "-ssba",
sprintf(
'Main.boot( %s );',
wp_json_encode( array() )
)
);
We noticed in the client the following:
<script data-no-instant type="text/javascript" src="https://example.com/wp/wp-content/plugins/simple-share-buttons-adder/js/ssba.js?ver=1719322229" id="simple-share-buttons-adder-ssba-js"></script>
<script data-no-instant type="text/javascript" id="simple-share-buttons-adder-ssba-js-after">
/* <![CDATA[ */
Main.boot( [] );
/* ]]> */
</script>
The script-source had /wp/
behind it, when the plugin is not installed in the /wp/
directory but in another directory.
So I was wondering if there is a way where I can provide a pull-request with changes ?
How did i fix it on my part?
define( 'SSBA_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
2. In php/class-plugin.php I changed the following:
All /wp-content/plugins/simple-share-buttons-adder/
to SSBA_PLUGIN_URL
So you get registers like:
// Line 57:
wp_register_script(
ASSET_PREFIX . "-ssba",
SSBA_PLUGIN_URL . "js/ssba.js",
array( 'jquery' ),
filemtime( DIR_PATH . "js/ssba.js" ),
true
);
// Line 77:
wp_register_style(
ASSET_PREFIX . "-ssba",
SSBA_PLUGIN_URL . "css/ssba.css",
array(),
filemtime( DIR_PATH . "css/ssba.css" )
);
Looking forward for your reply,
regards,
Paul – Senior Frontend developer at Acato.nl
Since a very long time I get warnings from Plesk and the recommendation to deactivate this plugin
“WordPress Simple Share Buttons Adder plugin <= 8.5.0 – Cross Site Request Forgery (CSRF)
Cross Site Request Forgery (CSRF) vulnerability discovered by Muhammad Daffa (Patchstack Alliance) in WordPress Plugin Simple Share Buttons Adder (versions <= 8.5.0)
Date: 19.04.2023 | Source: https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/simple-share-buttons-adder/simple-share-buttons-adder-846-cross-site-request-forgery “
I am using version 8.5.0
Maybe this is a faulty alert?
]]>Hi,
I have installed the plugin. The icons appear fine and everything is all right on desktop.
However, on mobile some icons are clickable and some are not. In the case of my website, Facebook and Twitter are not clickable at all. You keep clicking on it and nothing happens.
Any solution to this?
Regards
]]>When I add the shortcode multiple times on one page [ssba-buttons url=”https://’xtfgjjfgj.com#titel of post” title=”xtfgjjfgj”] it’s copying just the first link of the page.
]]>Hi, so every time I load up my page the icons are all vertical and scrambled everywhere. This also happens for my friends when accessing my website.
]]>I am having trouble with the formatting of the icons on the bottom of my posts. Instead of aligning in a single row, icons are being stacked in two rows, regardless of the left, center, or right alignment chosen for the icons.
I am working in maintenance mode on my site currently, so you won’t be able to see the page. I couldn’t figure out how to attach a screenshot here.
]]>Hi! I have a problem with the X icon. The icon displays as a single-colored rectangle. When I inspect the element, in the SVG code I can see “ract” which covers the logo.
]]>I’ve rolled back for now, but with v8.4.10 enabled, my client’s website is getting extra <br>
tags getting added all over the place. I ran a diff on the two versions, and it appears that the issue is at simple-share-buttons-adder/php/class-buttons.php, on lines 80 and 101. The removal and readdition of wpautop
sems to be causing this to occur; when I comment out those lines, it works correctly again.
The latest update caused all <p> tags to be stripped from the frontend on posts that were created with the classic editor. Happened immediately after updating. Disabling the plugin restores normal functionality again.
]]>FYI I was able to narrow down this issue specifically to your latest update.
Once rolled back the issue went away.
It is messing up the page layouts on a Kadence Pro theme website using Kadence Block Pro etc for designs.
This was in the debug log file:
[09-Dec-2023 03:28:58 UTC] PHP Notice: Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in /home/website/public_html/wp-includes/functions.php on line 5905
[09-Dec-2023 03:28:58 UTC] PHP Notice: Trying to get property ‘post_title’ of non-object in /home/website/public_html/wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 120
Hello, when are you going to update the Twitter icon to X?
]]>How can I increase the size of fonts within the buttons? They are floating around at the top of the button, rather than filling it.
]]>For some reason, a whole set of duplicate buttons has appeared beneath my row of Share buttons.
How can I remove them please?
EDIT: Solved. I found the Settings.
]]>This plugin supports a very impressive list of networks. Most I have never heard about. But I do not see Mastodon in the list. – Obviously Mastodon is not very big. But I have the impression that this it not a factor to not include it for this plugin.
Is it maybe because it is probably tricky to implement because there is not one central server?
]]>Not urgent but it would be great to resolve this
Undefined array key “ssba_bar_buttons” in /wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 598
]]>There are several deprecated warning form this plugin on PHP 8.2
Any plan to update soon?
]]>I had a crash during update. I isolated it to this plugin. I ended up reinstalling manually and that worked. This is not a request for help, just information.
]]>Hello,
The Pinterest button does not pull the page or blog post image or featured image when pinning. It is pulling the site logo or favicon. Please advise how I may fix this.
Visible here: https://www.blogsecrets101.com/how-to-get-more-traffic-to-my-website/
]]>I know this has been reported in a other thread, but nothing has been done to fix it yet. Can you please look at getting this fixed please. iThemes Security is continuing to report it as an issue.
Thanks.
]]>My hosting provider -hostinger- signals the current release as vulnerable, based on the post by patchstack
]]>Hello! Could you make the icons alt texts translatable? Now those are hard coded like this:
alt="Share on ' . $button_name . '"
This is an issue now, because it is always written/read in English for screen readers etc. like: “Share on Facebook”. We have a multilingual site which should be made accessible for website’s visitors.
]]>Now that Twitter has updated it’s brand guidelines (https://about.twitter.com/en/who-we-are/brand-toolkit) will you be updating the bird icon to a X any time soon?
]]>I think the Twitter share button stops working when a character like “%” is in the title. I get a broken page when trying to share this post for example (https://www.xealth.com/blog/chime-survey-digital-health-adoption/), but not this post (https://www.xealth.com/blog/navigating-the-complex-pathways-in-pediatric-digital-health/). Can you fix this?
]]>Simple Share Buttons Adder plugin is adding unwanted words like “Facebook Pinterest Twitter Linkedin Email Print” at the beginning of the blog archive text content,
]]>Hi, can’t see insta and youtube button.
Can we add that?
If yes then how?
Thanks!
WP Engine reports of a vulnerability that allows an
attacker to target privileged authenticated users with malicious links that
make authenticated requests to WordPress on behalf of the user. An attacker could use this vulnerability to modify site configuration, including adding backdoors such as other WordPress administrators.
Do you have a patch for this or an updated version of the plugin available yet?
]]>Hello,
We recently received some notices of an issue with the Simple Share Buttons Adder plugin, with versions 8.4.6, and below.
We took immediate action and we now have released version 8.4.7 so fix this, please update the plugin, and don’t hesitate to reach out for support!
Thank you for your understanding,
– The ShareThis Technical Support team.
]]>