Marketing · Gutenberg

Social Links block for WordPress

Social media icon links with brand colors, custom styles, and multiple layout options.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Social media icon links with brand colors, custom styles, and multiple layout options.

Inspector panels on this block: Social Links, Layout & Style, Labels, Custom Colors. Those titles come from index.js, not from a shared template.

Behavior controls: “Layout” options: Horizontal (row), Vertical (column), Grid (wrapping); “Layout & Style — Alignment” options: Left, Center, Right; “Icon Style” options: Brand Color (filled), Brand Color (icon only), Monochrome (dark), Monochrome (light), Outline (brand color); “Hover Effect” options: Lift, Scale, Fade to Brand, Fill, None.

Social Links has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.

Where to find it

Gutenberg inserter → Marketing → search “Social Links” (block name `blockenberg/social-links` in block.json). Style it in the sidebar after insert.

How to use Social Links block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Social Links”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Social Links. Set “Platform”, “URL”, “Custom Label”, “Enabled”.
  4. Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.

Inspector controls from this block’s code

ControlWhat the code does
PlatformSelect control; the chosen value is saved on the block.
URLText field in the inspector.
Custom LabelText field in the inspector.
EnabledOn/off toggle in the inspector.
LayoutSelect control; the chosen value is saved on the block. Options: Horizontal (row); Vertical (column); Grid (wrapping). block.json default: horizontal. Saved as `layout`.
Layout & Style — AlignmentSelect control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: left. Saved as `alignment`.
Icon StyleSelect control; the chosen value is saved on the block. Options: Brand Color (filled); Brand Color (icon only); Monochrome (dark); Monochrome (light); Outline (brand color); Outline (custom); Custom Colors. block.json default: brand-solid. Saved as `iconStyle`.
Hover EffectSelect control; the chosen value is saved on the block. Options: Lift; Scale; Fade to Brand; Fill; None. block.json default: lift. Saved as `hoverEffect`.
Icon Size (px)Numeric range control in the inspector. Range 10–48. block.json default: 20. Saved as `iconSize`.
Button Size (px)Numeric range control in the inspector. block.json default: 44. Saved as `buttonSize`.
Gap Between Icons (px)Numeric range control in the inspector. Range 0–40. block.json default: 10. Saved as `gap`.
Border Radius (px)Numeric range control in the inspector. Range 0–60. block.json default: 8. Saved as `borderRadius`.
Border Width (px)Numeric range control in the inspector. Range 0–6. block.json default: 2. Saved as `borderWidth`.
Show Platform LabelsOn/off toggle in the inspector. Off by default. Saved as `showLabel`.
Label PositionSelect control; the chosen value is saved on the block. Options: Right of icon; Below icon. block.json default: right. Saved as `labelPosition`.
Padding Top (px)Numeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `wrapperPaddingTop`.
Padding Bottom (px)Numeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `wrapperPaddingBottom`.
Open Links in New TabOn/off toggle in the inspector. On by default. Saved as `openNewTab`.

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Social Links block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Social Links”. It sits under Marketing. After insert, open Social Links and set “Platform”, “URL”, “Custom Label”, “Enabled”.

What makes Social Links different from other Blockenberg blocks?

Social media icon links with brand colors, custom styles, and multiple layout options. Inspector labels on this block include “Platform”, “URL”, “Custom Label”, “Enabled”.

Is the Social Links Gutenberg block free?

Yes. Social Links ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Social Links to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Social Links, Layout & Style, Labels, Custom Colors).

Related marketing blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Social Links from the Gutenberg inserter.

Get Blockenberg