Social sharing block for Gurtenberg. Gutenberg should be activated for this plugin to work.
Author: | N.O.U.S. Open Useful and Simple (profile at wordpress.org) |
WordPress version required: | 4.9.7 |
WordPress version tested: | 6.1.1 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 01-08-2018 |
Last updated: | 20-04-2023 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://avecnous.eu/ |
Total downloads: | 1 100 |
Active installs: | 10+ |
Click to start download |
With this plugin, you can add social sharing buttons as blocks in Gutenberg.
As a first version we created only the ones we needed : print, mail, Facebook and Twitter.
You can choose Dashicons or images, and the original colours for those network, or a grayscale version.
You can use the shortcode [sssb], with the following attributes:
- text_email : string, will be the body of the email when sharing via email | Default : You might be interested by this article : %s | You can use %s it will be replaced by the title of the current post
- object_email : string, will be the object of the email when sharing via email | Default : Have a look at this article : %s | You can use %s it will be replaced by the title of the current post
- text_twitter : string, will be the default text when sharing via twitter | Default : Hey Twitter, Have a look at this! %s | You can use %s it will be replaced by the title of the current post
- show_email : 0 or 1, will 1=show or 0=hide the email button | Default : 1
- show_print : 0 or 1, will 1=show or 0=hide the print button | Default : 1
- show_facebook : 0 or 1, will 1=show or 0=hide the facebook button | Default : 1
- show_twitter : 0 or 1, will 1=show or 0=hide the twitter button | Default : 1
- colour : original, grayscale, black or white | Default : original
- display : icons or images or mail | Default : icons | mail will generate a table
- side : left or right | Default : right
- url : url | Default : current page
Contribution
To contribute, in CLI
- sudo apt install npm
- npm install && npm run build
- npm run dev
FAQ
ChangeLog