How to add social sharing buttons to a WordPress site
You can add social sharing buttons with the Sharing Buttons block supplied by Jetpack, or use a dedicated sharing plugin for floating buttons and per-post controls. WordPress’s built-in Social Icons block links to your profiles; it does not automatically share the current post.
- 01Choose where buttons belong
- 02Add the sharing block
- 03Use the manual route carefully
- 04Set the social preview
- 05Test every display condition
- 06Take the fast way
What you need
- Administrator access to WordPress
- A block-based editor or a sharing plugin
- A featured image and social title for posts
- A staging site or recent backup for major theme changes
Choose where buttons belong
Decide whether buttons should appear below posts, above posts, on pages, in a floating bar, or only on selected content. Start with two or three networks your readers actually use, such as Facebook, LinkedIn, WhatsApp, Reddit, or X.
Do not confuse sharing buttons with profile links. WordPress’s Social Icons block is designed to link to your social profiles, while a sharing block passes the current page to a social service.
Add the sharing block
If your site has Jetpack Sharing enabled, edit the post, page, or single-post template and insert the Sharing Buttons block. Add the services you want, then set the order, orientation, alignment, and whether visitors see icons, text, or both.
On a block theme, add the block to Appearance → Editor → Templates → Single Posts if you want it on every post. The Single Posts template controls the layout of individual posts.
Use the manual route carefully
The manual route is to configure Jetpack’s sharing block and keep the button set small. This is fine for a blog that only needs ordinary inline buttons, and it avoids adding another specialist plugin.
WordPress core alone does not turn the Social Icons block into dynamic sharing controls. A developer can build custom buttons with sharing links or the browser Web Share API, but the Web Share API requires a secure HTTPS site, a user click, and does not work in every widely used browser.
The common mistake is adding profile URLs and assuming they share the current article. They only open your account. Another is hard-coding one article URL, which makes every button share the wrong page.
Set the social preview
Check the post title, description, canonical URL, and featured image before you test sharing. The button sends a URL; the social network normally builds the preview from metadata on that URL. Open Graph fields such as og:title, og:description, and og:image control much of that preview.
If your SEO plugin or theme already adds social metadata, do not add a second system that outputs another set of Open Graph tags. Duplicate metadata can produce stale or inconsistent previews.
Test every display condition
Open a published post in a private browser window and test each button on desktop and mobile. Confirm that the shared URL is the post’s canonical URL, the title and image are correct, and the buttons are readable without colour alone.
If buttons appear twice, check whether the theme, Jetpack settings, and another social plugin are all enabled. If an old image still appears, clear the WordPress cache and any CDN cache, then allow the social network to fetch the page again. Also test posts, pages, archives, and WooCommerce products separately because visibility settings may differ.
Take the fast way
For floating buttons, custom styling, mobile-friendly layouts, per-post controls, analytics, or BuddyBoss activity reposting, use BuddyBoss Sharing. Install and activate it from the WordPress dashboard, open its settings, choose the networks and placement, then disable any other sharing system so visitors do not see duplicate buttons.
This is the quicker route when you need site-wide controls rather than a few inline buttons. It also suits sites that need both ordinary social distribution and sharing inside a BuddyBoss community.
Let BuddyBoss Sharing do it
Adds customizable, floating share buttons and BuddyBoss activity reposting when you need both social distribution and community sharing.
Sources
- wordpress.org /documentation/article/social-icons/?utm_source=openai
- wordpress.com /support/wordpress-editor/blocks/sharing-buttons-block/?utm_…
- developer.mozilla.org /en-US/docs/Web/API/Web_Share_API?utm_source=openai
- wordpress.com /support/social-previews/?utm_source=openai
Questions
- Does WordPress have social sharing buttons built in?
- WordPress has a Social Icons block for linking visitors to your social profiles, but it does not automatically create dynamic share buttons for the current post. A Sharing Buttons block may be available through Jetpack or your hosting platform. For site-wide floating buttons, conditional display, and analytics, use a dedicated sharing plugin or custom development.
- What is the difference between social icons and sharing buttons?
- Social icons open your Facebook, LinkedIn, Instagram, or other profile. Sharing buttons send the current page URL to a social service so the visitor can recommend that article, product, or page. Using profile links in place of sharing links is a common setup mistake because visitors reach your profile instead of sharing the content they were reading.
- Why are my social sharing buttons showing twice?
- Buttons usually appear twice because two systems are active, such as Jetpack, a theme option, and a dedicated social plugin. Check the theme customiser, Jetpack sharing settings, the post template, and the plugin list. Disable all but one system, clear the site and CDN caches, then check a published URL in a private browser window.
- Why does the shared post have the wrong image or title?
- The shared preview usually comes from the page’s social metadata, not from the button itself. Check the post’s featured image, SEO plugin social fields, canonical URL, and Open Graph output. Clear caching after changing them. Social networks can retain an earlier preview, so re-fetching the URL may be necessary before the new image appears.
- Do I need a plugin for floating social sharing buttons?
- You need a plugin or custom development for reliable floating buttons that automatically use each post’s URL. A simple inline setup can use a sharing block, but WordPress core’s Social Icons block is not a floating share system. A dedicated plugin is the practical choice when you need responsive positioning, network controls, exclusions, styling, and analytics.