Marketing · Elementor

Share Buttons widget for Elementor

Social share buttons for the current page, with networks and labels you choose.

Open live demo

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

Social share buttons for the current page, with networks and labels you choose.

Some inspector controls are marked Pro in PHP (eicon-pro-icon / king-addons-pro-control). Those need King Addons Pro, not Elementor Pro.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Edit with Elementor. Open a page and click Edit with Elementor.
  3. Insert the widget. Search the panel for “Share Buttons”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Network”, “Show Title”, “Show Excerpt”, “Share Buttons”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including Share Buttons.

Inspector controls from this widget’s PHP

ControlWhat the code does
share_buttons — NetworkOptions: Facebook; X (Twitter); LinkedIn; Pinterest; Reddit; WhatsApp; Telegram; VK….
share_buttons — Show TitleSwitcher inspector control (`show_whatsapp_title`).
share_buttons — Show ExcerptSwitcher inspector control (`show_whatsapp_excerpt`).
General — Share ButtonsRepeater rows; render() loops each item to build the list or slides.
Layout — ColumnsOptions: Auto; 1; 2; 3 (Pro); 4 (Pro); 5 (Pro); 6 (Pro).
Layout — Horizontal GutterWrites CSS (grid-column-gap, margin-right, margin-left) onto the widget’s front-end markup. (min 0, max 25).
Layout — Vertical GutterWrites CSS (grid-row-gap, margin-bottom) onto the widget’s front-end markup. (min 0, max 25).
Layout — Icon WidthWrites CSS `width` onto the widget’s front-end markup. (min 15, max 200).
Layout — Icon HeightWrites CSS (height, line-height) onto the widget’s front-end markup. (min 15, max 100).
Layout — Icon SizeWrites CSS (font-size, width, height) onto the widget’s front-end markup. (min 10, max 100).
Layout — Label SpacingWrites CSS `padding` onto the widget’s front-end markup. (min 0, max 100).
Layout — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-share-buttons .king-addons-share-label`.
Layout — Border WidthWrites CSS (border-width, border-style) onto the widget’s front-end markup. (min 0, max 10).
Layout — Button Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Layout — AlignmentWrites CSS `justify-content` onto the widget’s front-end markup. Options: Left; Center; Right; Justified.
Styles — Use Custom ColorsSwitcher inspector control (`share_custom_colors`).
Styles — Icon Background ColorSwitcher inspector control (`share_icon_bg_tr`).
Styles — Label Background ColorSwitcher inspector control (`share_label_bg`).
Styles — Label Background TransparencySwitcher inspector control (`share_label_bg_tr`).
Styles (Normal) — Icon ColorWrites CSS (color, fill) onto the widget’s front-end markup.
Styles (Normal) — Icon Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Styles (Normal) — Label ColorWrites CSS `color` onto the widget’s front-end markup.
Styles (Normal) — Label Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Styles (Normal) — Border ColorWrites CSS `border-color` onto the widget’s front-end markup.
Styles (Hover) — Icon ColorWrites CSS (king-addons-share-icon, color, fill) onto the widget’s front-end markup.
Styles (Hover) — Icon Background ColorWrites CSS (king-addons-share-icon, background-color) onto the widget’s front-end markup.
Styles (Hover) — Label ColorWrites CSS (king-addons-share-icon, color) onto the widget’s front-end markup.
Styles (Hover) — Label Background ColorWrites CSS (king-addons-share-icon, background-color) onto the widget’s front-end markup.
Styles (Hover) — Border ColorWrites CSS (king-addons-share-icon, border-color) onto the widget’s front-end markup.
Styles — Transition Duration (ms)Writes CSS `transition-duration` onto the widget’s front-end markup. (default 100, min 0).

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

Which Share Buttons options need King Addons Pro?

Controls marked with the Pro icon in this widget’s PHP. King Addons Pro is a separate license from Elementor Pro.

How do I add Share Buttons in Elementor?

Install King Addons and Elementor, edit a page, search the panel for “Share Buttons”, drag it onto the canvas, then set Content and Style.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related marketing widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for Share Buttons after you activate it.

Get King Addons