Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make…
About Social Sharing Plugin – Social Warfare
The Social Warfare plugin for WordPress is a high-performance social sharing tool that can increase social shares by 300% without slowing down your website. It offers attractive share buttons for popular social networks, customizable placement options, and additional features like popular posts widgets and click-to-tweet quotes.Frequently asked questions
What is the best WordPress social sharing plugin?
The best WordPress social sharing plugin is Social Warfare. It is built by a group of social media marketing experts and world-class developers who are obsessed with performance.
What social networks can I choose from for sharing buttons?
You can choose from the top social networks sharing buttons, including Facebook, Twitter, Pinterest, LinkedIn, Mix, and Mastodon.
Can I choose where the share buttons show up?
Yes, you can choose where you want the share buttons to show up. You can choose from options such as above the post content, below the post content, both above and below the post content, or none (or manual placement).
Can I have floating share buttons?
Yes, Social Warfare allows you to have floating share buttons that follow your readers down the screen when static buttons are not in view. This ensures that readers always have easy access to your share buttons, no matter where they scroll on your page.
What are the premium social sharing options available?
Premium Social Warfare Pro license holders get access to additional social network share buttons such as Reddit, Tumblr, Yummly, WhatsApp, Pocket, Buffer, Hacker News, Flipboard, and Email. They can also reactivate, track, and display Twitter tweet counts.
Changelog
This changelog covers version 4.5.0 and later. The full changelog can be found on our GitHub.= 4.5.6 (13 Mar 2025) =
Security fix: Properly sanitize and escape clickToTweet attributes to prevent stored XSS.
Sanitized the theme attribute using sanitize_html_class().
Escaped shortcode output with esc_attr() and esc_html() to prevent injection.
Secured tweet input by using sanitize_text_field().
4.5.5 (26 Feb 2025)
- Enhanced security by replacing
strip_tags()withwp_strip_all_tags()and usingesc_html()andwp_kses()for safer output. - Improved JSON security by switching from
json_encode()towp_json_encode(). - Added compatibility check for
WpOrg\Requests\Requeststo prevent errors on older WordPress versions. - Refactored Gutenberg Blocks for safer HTML output and improved CSS consistency.
- Removed outdated config files from
assets/js/post-editor/.
4.5.3 (12 Aug 2024)
- Updated stable tag and version numbers to 4.5.3.
- Updated allowed HTML tags and attributes in
SWP_Header_Output.phpto enhance security and compatibility.
4.5.2 (5 Aug 2024)
- Updated stable tag and version numbers to 4.5.2.
- Changed hook from
wptowp_loadedfor deferred class instantiation to improve performance and compatibility. - Updated plugin version to 4.5.2.
4.5.1 (29 Jul 2024)
- Updated
.wp-env.jsonwith social-warfare-pro plugin version 4.5.1. - Improved security by updating
SWP_Addon.phpto use ‘security’ instead of ‘nonce’. - Updated
SWP_Options_Page.phpto use translation functions for better internationalization support.
4.5.0 (15 Jul 2024)
- Implemented linting and WP ENV for local development.
- Added PHPCS ruleset.
- Removed coding standards workflow file.
- Added compiled HTML property to
SWP_Noticeclass. - Created and updated CODEOWNERS.
- Removed unnecessary lines and comments.
- Added API URLs array to
SWP_Post_Cacheclass. - Created
dependabot.yml. - Updated multiple dependencies and workflows.
- Added Security Policy.
- Refactored PHPDoc comments and auto-registered widget in
SWP_Popular_Posts_Widget. - Escaped HTML output in
SWP_Widget.php. - Enhanced form rendering in
SWP_Popular_Posts_Widget.php. - Updated
meta_keyinSWP_Popular_Posts_Widget. - Optimized settings storage and HTML tag stripping in
SWP_Utility.php. - Modified ‘excerpt_more’ filter.
- Removed screen options tab from the admin page.
- Corrected variable name typo in
SWP_Utility.php. - Refactored and improved readability, naming conventions, and security in multiple classes.
- Created persistent notices.
- Updated
README.md.
