Minimal Share Buttons free WordPress plugin
Description
Minimal Share Buttons free WordPress plugin
Add simple share buttons under your posts, add share block in the new editor, or use the widget to add sharing to any widget area your theme provides. This plugin uses simple SVG icons for social network logos and small vanilla JavaScript to allow the user to share the current post or page. Share icons inherit their colours from the theme link colours to match the website design.
Why choose Minimal Share Buttons before other similar plugins?
Minimal and elegant look that blends with your theme (tested with all latest default WordPress themes as well as with some other popular themes).
Minimal impact on your site’s performance – the plugin loads only a small SVG file with the icons, less than 1k CSS and 3.5к unminified and uncompressed JavaScript – most of it to make SVG icons work in old browsers.
Doesn’t spy on your users – the plugin doesn’t load any thitd-party scripts that record your user’s activity on your site, doesn’t set or read any cookies.
Sharing through the native share dialog on devices that support it.
GDPR-hasle-free – since the plugin doesn’t leak personal information to third parties, this makes it easier for website owners to comply with the European privacy regulations.
Accessibility – the share links have labels, read by screen readers, and visible for keyboard users.
Gutenberg and WordPress 5.0 ready – the plugin provides block that displays the share buttons so that authors can place them wherever they want in the post content.
Usage
There are five ways of displaying the share buttons on a post or page:
Force them to display under the content of the post by checking the relevant checkboxes in the Display settings sections on the plugin settings screen.
Add Share widget to the sidebar or another widget area.
Use the Gutenberg block to add the share buttons whereever you want in the post content.
Use the shortcode [msb_share title=”Share this”] in the classic editor.
Use the function msb_display_buttons() to render the widget in your theme templates.
Theme developers
From version 1.4 you can more easily display the sharing widget in your templates using the function msb_display_buttons(). The function accepts two arguments – an array of options, passed to the widget, and a second boolean argument that tells the function to echo the resulting markup. Here’s an example:
$args = [
‘before_widget’ => ‘
’,
‘after_widget’ => ‘
’,
‘before_title’ => ‘