Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Scriptless Social Sharing icon

Scriptless Social Sharing

v3.2.4
by Robin Cornett · 5.0 (67 reviews)

This plugin adds super simple social sharing buttons to your content.

10K+ active installs Updated Nov 11, 2023 Tested to 6.4.5 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
Scriptless Social Sharing

About Scriptless Social Sharing

Scriptless Social Sharing is a simple plugin that adds social sharing buttons to your posts and pages. It uses basic sharing methods provided by each social network and does not include any fancy features or JavaScript. There is a settings page where you can customize the buttons and their placement, and developers can make use of filters throughout the plugin.

Screenshots

Scriptless Social Sharing screenshot
Scriptless Social Sharing screenshot

Frequently asked questions

Are the sharing buttons accessible?
Yes, the sharing buttons are accessible. Even with "Icons Only" styles, network names are included and hidden in an accessible-ready manner.

Changelog

3.2.4

  • updated: SVG output has been updated for PHP 8 compatibility

3.2.3

  • updated: Twitter is now X

3.2.2

  • updated: script dependencies for the Scriptless block
  • improved: Scriptless metabox can now be loaded regardless of location settings
  • fixed: improved CSS class handling for the block
  • dev: Scriptless now requires WordPress 5.2 or higher
  • dev: additional filters have been added for the Pinterest button

3.2.1

  • fixed: fatal error for sites without the mbstring extension installed
  • fixed: new icons should not override the original SVG filter usage

3.2.0

  • new: adding custom buttons is easier than ever with the new scriptlesssocialsharing_register filter (use described in FAQ)
  • new/improved: SVG icons are now used directly, instead of from a sprite file
  • added: Hatena Bookmark sharing button (props @kyontan)
  • added: minimum PHP version is 5.6
  • updated: FontAwesome 5.15.4
  • fixed: block editor check for old versions of WordPress
  • fixed: PHP constants for older versions of PHP
  • note: this is the final version of Scriptless which will support WordPress versions earlier than 5.2

3.1.6

  • added: filter for the Pinterest image size
  • improved: screen reader text on sharing buttons (buttons now say “Share on …”)
  • fixed: post meta sanitization was using a function deprecated in PHP 7.4

3.1.5

  • updated: tested to WordPress 5.4
  • fixed: the LinkedIn label

3.1.4

  • added: filter on button container element
  • updated: Twitter color
  • fixed: button class instantiation when button names are translated
  • fixed: styles not loading on shortcodes outside of content

3.1.3

  • fixed: fatal error for fallback button class

3.1.2

  • fixed: SMS link behavior
  • fixed: custom color CSS for custom buttons when using flexbox
  • fixed: block script enqueue
  • fixed: custom buttons now have access to query args, base URL filters, which are preferable to filtering the final URL

3.1.1

  • changed: HTML character decoding before URL encoding
  • fixed: updated WhatsApp URL to use the API link instead of the shortened link due to issues on mobile

3.1.0

  • added: links opening in new tabs are no noopener, noreferrer, and nofollow by default, and can be filtered
  • added: filter on the link target
  • added: custom class on the hidden Pinterest image
  • added: option to prevent the Scriptless block from being registered
  • improved: scriptlesssocialsharing_link_markup filter has access to all link attributes
  • improved: link parameter decoding/encoding
  • changed: source SVG is set to role=”img”
  • updated: Font Awesome 5.10.2
  • fixed: SVG role and aria attributes
  • fixed: singular post check which was always returning true

3.0.1

  • fixed: compatibility issue with WordPress versions before 5.0

3.0.0

  • added: SVG icons
  • added: buttons for Telegram and SMS
  • added: show buttons as icons only, icon + text, or text only
  • added: select default CSS style: table (old) or flexbox (new, now default)
  • added: a block!
  • added: Finnish translation, props Hannu Jaatinen of Jargon Oy
  • changed: icon only buttons use screen-reader-text class for label
  • changed: shortcodes/blocks can now use any button, not just those selected in settings
  • updated: Font Awesome is now 5.8.2 when using the webfont
  • removed: Google+
  • removed: media uploader no longer shows only images attached to the current post
  • fixed: Pinterest buttons properly pass on hashtags

2.3.0

  • added: button for sharing on WhatsApp (props @yig)
  • added: button for Pocket (props @rryyaanndd)
  • added: ability to easily update the button display order
  • added: scriptlesssocialsharing_heading_element filter to change heading level for sharing buttons
  • improved: custom Pinterest image defaults to show images uploaded to the current post

2.2.2

  • changed: Google+ is now off for new users and will be removed in a future version
  • changed: order of Pinterest button parameters to maybe reduce conflicts with lightbox plugins (props @pnwwebworks)
  • fixed: overly aggressive sanitization of the custom Pinterest description which had issues with special characters (props @pnwwebworks)

2.2.1

  • fixed: error on settings validation

2.2.0

  • added: custom Pinterest description per post
  • added: default email content setting
  • changed: code reorganization
  • fixed: email button should not open a new tab (props @salcode)
  • fixed: initial Gutenberg compatibility
  • fixed: end of content sharing buttons longer show after a shortcode if disabled

2.1.1

  • changed: CSS autoprefixing; buttons are now hidden on print

2.1.0

  • added: filter on the sharing link markup
  • added: tabnapping fix on links
  • fixed: button attributes on archives
  • fixed: title encoding when special characters are present

2.0.1

  • fixed: possible division by zero if Pinterest is the only button and there is no image
  • fixed: special characters in post titles breaking Twitter share

2.0.0

  • added: new settings to manage buttons output by content type
  • added: a shortcode!
  • added: link to the settings page from the Plugins page
  • added: filter to manage button locations
  • improved: URL construction methods now allow you to do things like add your own custom query args (props Sal Ferrarello)
  • improved: if you’ve gone to the trouble of adding alt text to your featured images, thank you, and your Pinterest button will now use that (update from 1.5.2 applied to all featured images)

1.5.2

  • improved: custom Pinterest image alt text will be preferred over post title, if alt text is set
  • fixed: URL encoding for strings with spaces

1.5.1

  • updated: Font Awesome (4.7.0)

1.5.0

  • added: ability to set a custom Pinterest image
  • added: “related” parameter to Twitter URL (props Ben Meredith)
  • improved: filter methods for adding new buttons
  • fixed: disappearing post meta settings

1.4.0

  • added: option for button padding
  • added: option for table width (width of all buttons)
  • bugfix: errant + in some mail programs (props Anders Carlen)

1.3.0

  • added: option to only show icons on buttons, no text
  • added: Reddit sharing button
  • added: option to add sharing buttons to the beginning or end of content
  • updated: code cleanup for settings and output
  • bugfix: post type setting was not saved correctly–settings should be resaved

1.2.2

  • updated: Font Awesome 4.6.3
  • fixed: error when a post is embedded in another site (feature introduced in WP 4.4) due to other checks being bypassed

1.2.1

  • fixed: pinterest button is now protected from an overzealous pinit script

1.2.0

  • added: setting to disable buttons on an individual post basis
  • fixed: use repository language packs

1.1.0

  • added: filter to disable heading on output
  • added: filter for the post fallback image (because pinterest)
  • fixed: made CSS a bit more specific to avoid theme conflicts

1.0.2

  • Fix CSS for buttons

1.0.1

  • add a fallback image method
  • bugfix: don’t add Pinterest button if there is no image

1.0.0

  • Added a settings page
  • Prep for release on the WordPress repository

0.1.0

  • Initial release on Github

Try other plugins

YITH WooCommerce Wishlist icon

YITH WooCommerce Wishlist

3.9 · 600K+ installs

YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work. WooCommerce 8.1.x compatible.

Header Footer Code Manager icon

Header Footer Code Manager

4.9 · 600K+ installs

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, marketing,…