ShareOpenly
The official plugin for ShareOpenly - adding modern, open social media sharing links to your website.
Install in
Note about ShareOpenly v1.3 onwards: this plugin may no longer work in a block theme on WordPress versions prior to to 6.4
You know all those “share to Facebook” / “share to Twitter” links you see all over peoples’ websites? They’re all out of date.
Social media has evolved over the last year, yet nobody has “share to” links for Mastodon, Bluesky, Threads, etc. There have been a few attempts to create “share to Mastodon” buttons, but they haven’t taken the larger breadth of the new social media landscape into account.
This is where ShareOpenly comes in.
Activate this plugin and, at the bottom of every post and/or page on your site, you’ll see a “share to social media” button. If you click it, you’ll be taken to a page that shows a number of modern, social media sites (see the first screenshot). You can select one of the pre-set sites in the list, and you’ll be taken to share a post there. But if you, for example, have a Mastodon instance, or a Known site, or an IndieWeb site at a different domain, you can enter that domain in the box, and ShareOpenly will try and find a way to let you share the page with that site.
- Tested up to PHP 8.4
- Follows WordPress coding standards
- Designed to be compatible with WP VIP coding standards, as well as compatibility with their platform
- Community plugin – visit the GitHub page to get involved with the latest code development, request enhancements and report issues
Support & Contributing
If you would like to contribute to the code, report issues, request features or help with translation, then please use one of the following methods to do so…
- For support queries please use the plugin forum on WordPress.org
- To contribute to the code, suggest enhancements or report bugs you can do so on my GitHub repo
- For translations, please use GlotPress
If you wish to disclose a security issue then I would ask that you do so responsibly. For example, you could submit it via Wordfence, which this plugin is registered with.
Privacy
This plugin does not store personal data. Clicking a share link navigates the user to a third-party (or user-specified) site to complete the share.
Since v1.2, the share icon is loaded locally; no external assets or scripts are loaded by the plugin.
Plugin Settings
By default, nothing needs to be done for the new sharing options to appear. However, a number of settings are available, allowing for you to modify the results.
In Settings -> Discussion -> ShareOpenly, you can configure:
1. Location – where sharing links appear (Posts, Pages, or both)
2. Share text – the text shown next to the icon
3. Priority – the filter priority used for output ordering (default: 10)
After changing any of the settings, make sure to press the “Save Changes” button at the bottom of the screen.
Written by Joobi from the project's own listing. See the source page
I use semantic versioning, with the first release being 1.0
1.3
- Enhancement: The sharing link was added via the_content, so it also showed up everywhere else that filter runs: the REST API, plugins that render the content on their own, and the ActivityPub plugin, which federates it to the Fediverse. This change now only displays the link when the theme shows the post. Thanks to Matthias Pfefferle for the suggestion and code change
1.2.1
- Enhancement: Fixed cross-site scripting (XSS) vulnerabilities (CVE-2026-48094), as reported by Blacksolo
- Enhancement: Fixed a number of other, potential, security issues in the code too
1.2
- Enhancement: Added additional information to the README
- Enhancement: Improved accessibility, performance and security across the plugin
- Enhancement: Moved the SVG icon from an external link to locally
- Enhancement: Now making sure I’m defining the priority setting as a number and not a text field
- Enhancement: Updated the WordPress requirements script (v1.1 -> v1.2)
- Bug: Removed the smart quotes that were in the README. Thanks to Terence Eden for identifying and reporting it
1.1
- Enhancement: Custom post types added, thanks to MediaFormat
1.0.1
- Enhancement: Updated the sharing icon
- Enhancement: Updated the settings link in the plugin meta so it goes straight to the ShareOpenly settings (thanks to Jeremy Herve for this change)
- Enhancement: Added a description to the ShareOpenly settings section (thanks to Jeremy Herve for this change)
1.0
- Initial release
Follow this listing's changes (Atom feed)