The Social Buttons shortcode for WordPress can be used to display stylized buttons for social media sharing or linking to profile pages. Check below for example implementations and shortcode documentation:
Social Buttons Examples
Social Buttons Shortcodes
[x3m-social platform="facebook" style="default" size="30px" type="share"]Social Buttons Documentation
Here are the shortcode option settings available for Social Buttons:
| Shortcode Settings | Details |
|---|---|
| platform=”facebook” | This is used to set social media platform for sharing/profile linking. Options available are: – “facebook” – allows page share and profile linking – “bluesky” – allows page share and profile linking – “linkedin” – allows page share and profile linking – “instagram” – allows only profile linking – “x” – (Twitter) allows page share and profile linking – “tiktok” – allows only profile linking – “youtube” – allows only profile linking – “pinterest” – allows page share and profile linking – “twitch” – allows only profile linking – “google” – allows only profile linking – “tumblr” – allows page share and profile linking |
| style=”default” | This is used to set the visual button style: – “default” – displays a rounded rectangle with platform name and icon – “round” – displays a circle-shaped icon-only button – “square” – displays a square button with slightly rounded corners, icon only |
| size=”30px” | This is used to set the size of the button height in pixels (ex “30px”). |
| type=”share” | This is used to set the function of the button: – “share” – to share the current page on the specific social media platform. Please note not all social platforms allow sharing. Check above for comments on each social platform. – “profile” – to link to the social media profile. Option available for all social platforms. |
| profile=”profile link” | This is used in connection with the type=”profile” to set the own social media profile link. |
