ShareThis
Forum Replies Created
-
Forum: Plugins
In reply to: [ShareThis Reaction Buttons] Minify JS and deferHi Matt,
Thank you for reaching out to ShareThis support! We appreciate your focus on optimizing your website’s performance, especially regarding Google PageSpeed Insights recommendations. I’d be happy to guide you on both minifying and deferring JavaScript to achieve better results. How We Can Address Your Concern:
- JavaScript Minification:
Minifying JavaScript removes unnecessary spaces, comments, and formatting, helping reduce file size. This ensures faster code delivery and improves your website’s loading speed. - Deferring JavaScript:
Deferring scripts allows the browser to load the main content (HTML and CSS) first, and execute JavaScript only after the page renders. This helps avoid render-blocking issues, resulting in a better user experience and improved PageSpeed scores.
Optimizing ShareThis Scripts for Your Site:
Our ShareThis tools are designed with performance in mind. However, you can take additional steps by:
- Adding the
defer
attribute to our script to ensure it loads after your page content:
<script src="https://platform-api.sharethis.com/js/sharethis.js" defer></script>
- Minifying any custom JavaScript you may have on your site. We recommend tools like Terser or UglifyJS for easy minification.
Need More Help?
If you need further assistance or encounter any issues during implementation, please don’t hesitate to let us know. We’re happy to assist you with any additional questions or adjustments.
Best regards,
ShareThis Support TeamForum: Plugins
In reply to: [ShareThis Reaction Buttons] Change choice after click requestHi Matt,
Thank you for your valuable feedback and for being part of our community! We truly appreciate hearing your thoughts on enhancing the user experience.
We understand how helpful it would be to have the ability to change your choice after clicking, and we’re actively considering all feedback from users like yourself. Our product team continuously reviews suggestions to ensure we can deliver the best experience possible. While we don’t have an immediate update on this feature, rest assured that your input is being taken into account for future improvements.
Please don’t hesitate to reach out if you have any other questions or further suggestions – we’re here to help!
Best regards,
Sharethis Support Team- This reply was modified 1 month, 1 week ago by ShareThis.
Dear Ulf,
Thank you for your message. I understand you want to position your social sharing icons differently on each page (left, right, centered) but are having trouble with it.
Here’s a simple way to do it:
- Add Classes to Shortcodes:
When you add the shortcode to your page, include a different class for each position. For example:
html
[feather_share class="social-left"]
[feather_share class="social-right"]
[feather_share class="social-center"]
- Custom CSS:
Add the following CSS to your theme’s custom CSS section or the page’s custom CSS section. This will control the position:
css
.social-left .synved-social-container.synved-social-container-share {
text-align: left !important;
}
.social-right .synved-social-container.synved-social-container-share {
text-align: right !important;
}
.social-center .synved-social-container.synved-social-container-share {
text-align: center !important;
}- Clear Cache:
Make sure to clear your browser cache or any caching plugins to see the changes.
By following these steps, you should be able to position your social sharing icons as you want on different pages. If you still have problems, please let us know, and we will help you further.
Best regards,
ShareThis Support TeamForum: Plugins
In reply to: [Social Media Feather | social media sharing] Number of times sharedHi, @girdy74,
Thank you for reaching out to us!
To display the number of times a post has been shared, you can use our ShareThis Share Buttons with share counts enabled. Here’s a step-by-step guide to help you set this up:
1. Log into your ShareThis Account:
- If you don’t have an account, you can easily create one here.
2. Select Your Share Buttons:
- Go to the Share Buttons section and choose the type of buttons you want to use (Inline Share Buttons, Sticky Share Buttons, etc.).
3. Enable Share Counts:
- During the customization process, you will see an option to enable share counts. Make sure to toggle this on.
- Customize the appearance of the share buttons and counts to match your website’s design.
4. Generate the Code:
- Once you’ve customized your buttons, generate the code provided by ShareThis.
5. Add the Code to Your Website:
- Copy the generated code and paste it into the HTML of your website where you want the share buttons and share counts to appear.
6. Publish and Test:
- Save and publish your changes, then visit your website to ensure the share buttons and counts are displayed correctly.
For more detailed instructions, you can refer to our Share Buttons Guide.
If you encounter any issues or need further assistance, please feel free to reply to this message or visit our Help Center.
Best regards,
ShareThis Support TeamForum: Plugins
In reply to: [Social Media Feather | social media sharing] Facebook not showingHello Dumel,
Thank you for reaching out to ShareThis Support. I understand that you’re experiencing an issue where the Facebook share button is not appearing when using the shortcode
[feather_share show="twitter, facebook" hide="reddit, pinterest, linkedin, tumblr, mail"]
in your Divi text module.Let’s try the following steps to resolve this issue:
- Check the Shortcode: Ensure that the shortcode syntax is correct. From your message, it appears correct, but sometimes re-typing it can resolve any hidden formatting issues:
[feather_share show="twitter, facebook" hide="reddit, pinterest, linkedin, tumblr, mail"]
- Plugin Conflict: You mentioned removing the Smash Balloon Custom Facebook Feed plugin. Sometimes plugins can conflict with each other. After removing this plugin, clear your site’s cache and check if the Facebook button appears.
- Clear Cache: Ensure you clear any cache (both your site’s cache and your browser cache) after making changes. Cached data might cause the page to display old content.
- Check for Updates: Make sure all your plugins, themes, and WordPress core are up-to-date. Outdated software can sometimes cause conflicts or issues.
- Plugin Settings: Verify that the ShareThis plugin settings are correctly configured to include Facebook sharing. Navigate to the ShareThis settings in your WordPress dashboard and ensure that Facebook is enabled.
- Reinstall ShareThis Plugin: If the above steps do not work, try deactivating and then reactivating the ShareThis plugin. As a last resort, you can also try deleting and reinstalling the plugin to ensure there are no corrupt files.
If you continue to experience issues, please provide us with any error messages or logs that might be appearing, and we will be happy to investigate further.
Thank you for your patience, and we look forward to helping you resolve this issue.
Best regards,
ShareThis Support TeamForum: Plugins
In reply to: [Simple Share Buttons Adder] Cross Site Request ForgeryHello @walterbe,
Thank you for reaching out with your concern regarding the “WordPress Simple Share Buttons Adder” plugin.
We understand the importance of maintaining the security and integrity of your website. The alert you received from Plesk about the Cross Site Request Forgery (CSRF) vulnerability in version 8.5.0 of the Simple Share Buttons Adder plugin is legitimate. This vulnerability was indeed discovered and reported by Muhammad Daffa (Patchstack Alliance) and has been documented by Wordfence.
Given the potential risk associated with this vulnerability, we strongly recommend updating the plugin to the latest version if an update is available. If no update is available or you prefer to ensure maximum security, deactivating the plugin would be the safest course of action until a patch is released.
To address this issue, you can:
- Check for Updates: Ensure you are using the latest version of the plugin. Plugin developers often release patches to address such vulnerabilities.
- Consider Alternatives: If an update is not available, you might want to consider using an alternative plugin with similar functionality that is actively maintained and secure.
- Deactivate the Plugin: As a precaution, you can deactivate the Simple Share Buttons Adder plugin until a secure version is released.
We apologize for any inconvenience this may cause and appreciate your understanding as we work to ensure the security of your website. If you have any further questions or need assistance with finding an alternative plugin, please feel free to reach out.
Best regards,
ShareThis Support TeamForum: Plugins
In reply to: [Simple Share Buttons Adder] Where can I contribute with pull request?Hi Paul,
Thank you for reaching out and reporting this issue with the “Simple Share Buttons Adder” plugin. We appreciate your detailed explanation and the temporary fix you’ve implemented.
The error you’re encountering, “Uncaught ReferenceError: Main is not defined,” seems to be due to the incorrect script source path. Your solution to define
SSBA_PLUGIN_URL
and replace hardcoded paths in the plugin’s PHP files is a good approach to resolving this issue.To address your question about providing a pull request, here are the steps you can follow:
- Fork the Repository: Go to the plugin’s GitHub repository and fork it to your own GitHub account.
- Clone the Repository: Clone the forked repository to your local development environment.
- Implement the Fix: Apply the changes you’ve described:
- Define
SSBA_PLUGIN_URL
ininstance.php
. - Update the paths in
php/class-plugin.php
to useSSBA_PLUGIN_URL
.
- Commit Your Changes: Commit the changes to your local repository with a clear commit message describing the fix.
- Push to Your Fork: Push the changes to your forked repository on GitHub.
- Create a Pull Request: Go to the original repository and create a pull request from your fork. Provide a detailed description of the changes and how they resolve the issue.
Here’s a brief outline of the changes for reference:
instance.php
// Line 16 define('SSBA_PLUGIN_URL', plugin_dir_url(__FILE__));
php/class-plugin.php
// 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") );
We look forward to reviewing your pull request and incorporating your improvements into the plugin. If you have any further questions or need assistance during the process, please feel free to ask.
Best regards,
ShareThis TeamForum: Plugins
In reply to: [Simple Share Buttons Adder] X Icon Not Updated in ShortcodeHi There,
Thank you for bringing this to our attention. We understand how important it is for all aspects of the plugin to be consistent with the latest updates. Our team is currently investigating the issue with the Shortcode version still displaying the old Twitter icon. We appreciate your patience and will work to resolve this as quickly as possible.
If you have any further details or encounter any other issues, please feel free to share them with us.
Best regards,
ShareThis Support TeamForum: Plugins
In reply to: [ShareThis Reaction Buttons] Can be used with php 8.3?Hello @eguzmana,
Thank you for reaching out!
We’re happy to assist with your query regarding PHP version compatibility. Currently, ShareThis supports PHP versions up to 8.1. We are in the process of testing and updating our compatibility for PHP 8.3.
We recommend waiting for an official announcement from our team before upgrading to PHP 8.3 to ensure full compatibility and avoid any potential issues. In the meantime, if you have any other questions or need further assistance, please feel free to let us know.
Best regards,
ShareThis Support TeamForum: Plugins
In reply to: [ShareThis Share Buttons] Line trying to decode a malformed Json stringCertainly! Here’s a response you can consider:
Hi braunm,
Thank you for reaching out to us regarding the issue you’re experiencing with ShareThis on your website. It sounds like you’re unable to disable ShareThis and it might be affecting the functionality of adding product sets to the cart.
To address this issue, here are a few steps you can take:
- Locate ShareThis Code: The ShareThis code is typically added to your website’s template files or via a plugin. To disable it, you’ll need to locate where it’s integrated into your site’s codebase. This is often found in header.php or footer.php files if manually added, or in the settings of a plugin if using one.
- Disabling ShareThis: Once you’ve located the ShareThis code, you can either comment it out or remove it entirely from your website’s codebase. Be sure to save a backup of your files before making any changes.
- Testing: After removing or disabling ShareThis, test your website to ensure that the issue with adding product sets to the cart is resolved. Try adding different sets to the cart to verify functionality.
- Further Assistance: If you continue to experience issues or need further assistance, feel free to contact us again. Provide any error messages or specific details related to the problem so we can assist you more effectively.
We’re here to help and look forward to resolving this issue promptly for you.
Best regards,
ShareThis Support TeamForum: Plugins
In reply to: [ShareThis Share Buttons] Share Buttons not showing up.Certainly! Here’s a response you could use as a ShareThis support agent:
Hi thesudesh,
Thank you for reaching out to us. We understand your concern regarding the share buttons not appearing on your website’s post section. It sounds like you’ve already taken several troubleshooting steps, such as reinstalling the plugin, clearing cache, and trying different browsers.
The issue of the plugin getting automatically disabled and the buttons not displaying even when enabled suggests there might be a conflict or an issue with the plugin’s integration. Here are some further steps you can take to resolve this:
- Plugin Compatibility Check: Ensure that the ShareThis plugin is compatible with the version of your website’s CMS (Content Management System) and any other plugins you are using. Sometimes, conflicts arise due to incompatible versions.
- Plugin Settings Review: Double-check the plugin settings to ensure that the share buttons are configured to appear on the post section of your website.
- Theme and Template Compatibility: Verify if your website’s theme or template might be overriding or conflicting with the plugin’s display settings. Sometimes, certain themes require specific configurations for plugins to function correctly.
- Javascript Errors: Check your browser’s console for any Javascript errors that might be preventing the plugin from loading properly on your website.
If these steps do not resolve the issue, please provide us with more details about your website’s setup (CMS, plugin versions, theme details) so that we can investigate further and provide you with targeted assistance.
Best regards,
ShareThis Support TeamHello Alastair,
Thank you for you prompt response.
We apologize for the inconvenience you're experiencing with the ShareThis Share Buttons plugin on your WordPress site.
Upon reviewing your concern, it seems that you are encountering an issue where the settings to include or exclude the ShareThis buttons at the top or bottom of individual pages are not saving correctly. We understand that while global settings are functioning properly, specific page settings are not being applied as desired, specifically on the page at https://www.passionforbusiness.com/thank-you/thank-you-leap-year/.
To assist you further, we recommend the following steps:
1. Plugin Compatibility Check: Please ensure that the ShareThis Share Buttons plugin version 2.3.2 is fully compatible with your current WordPress version 6.5.5. Sometimes, compatibility issues can lead to settings not saving correctly.
2. Cache and Plugin Conflict: Clear your website cache and disable any other plugins temporarily to check if there might be a conflict affecting the ShareThis plugin's functionality.
3. Manual Override: While the plugin currently does not support page-by-page exceptions, you can manually override this by using custom CSS or JavaScript to hide the ShareThis buttons on specific pages. Here's an example CSS code snippet that you can add to your theme's custom CSS section or via a plugin like Custom CSS:
body.page-id-123 .sharethis-buttons {
display: none !important;
}
Replace 123 with the actual ID of the page where you want to hide the buttons.
4. Plugin Update or Alternative: Ensure your ShareThis plugin is updated to the latest version. If the issue persists, consider reaching out to your web developer or to a n expert for more granular control over where buttons appear.
Regarding the "Omit Class" feature mentioned in our previous response, I apologize for any confusion caused. It appears this feature may not be available directly through our current dashboard settings. We appreciate your feedback on this and will take it into consideration for future updates to improve our plugin's functionality.
We appreciate your patience and look forward to helping you resolve this issue promptly.
Best regards,
Alfred @ShareThis SupportForum: Plugins
In reply to: [Social Media Feather | social media sharing] Update X brandingHi there!
Thanks for reaching out about the ShareThis plugin and the X (formerly Twitter) rebranding. We’re aware of the update and are working on getting the plugin in sync with X’s new branding.We can’t provide an exact timeframe for the update just yet, but we recommend checking our website or social media channels for announcements. In the meantime, the plugin should still function normally.
Best Regards,
ShareThis TeamForum: Plugins
In reply to: [Simple Share Buttons Adder] Copy Link with multiple Shortcodes on one siteHi mschlick,
Thanks for reaching out about the ShareThis shortcode issue. It definitely shouldn’t be copying just the first link when you use it multiple times on a page.
There are a couple of things we can try to troubleshoot:
- Unique Shortcode Attributes: Double-check that each shortcode instance has unique
url
andtitle
attributes. Even slight variations can affect functionality. Here’s an example of a properly formatted shortcode with unique attributes:
[ssba-buttons url="https://www.example.com/page1" title="Page 1 Title"] [ssba-buttons url="https://www.example.com/page2" title="Page 2 Title"]
- Shortcode Caching: In some cases, your browser might be caching the shortcode output. To rule this out, try clearing your browser cache and reloading the page.
- Theme/Plugin Conflict: Rarely, a theme or another plugin might interfere with the shortcode functionality. Try temporarily deactivating other plugins to see if the issue persists.
If none of these suggestions work, to help us investigate further, would you be comfortable sharing your website URL (or the specific page where you’re encountering the problem)? This would allow us to look at the implementation and offer more tailored assistance.
In the meantime, you can also consider using our Share Buttons Popup instead of the shortcode. It offers more flexibility regarding placement and might be a good alternative solution.
Here’s a link to our documentation on the Share Buttons Popup: https://sharethis.com/onboarding-popup/
Best Regards,
ShareThis Support Team
Hi there,
May we know if you already tried to reinstall and update all ShareThis plugins that you currently have? We have tried various ways to replicate this issue and everything looks fine on our end.
Best Regards,
Kyle @ ShareThis Support
- JavaScript Minification: