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.
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
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Social Links”, insert it. Category: Marketing.
- Configure inspector controls that exist on this block. Open Social Links. Set “Platform”, “URL”, “Custom Label”, “Enabled”.
- Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Platform | Select control; the chosen value is saved on the block. |
| URL | Text field in the inspector. |
| Custom Label | Text field in the inspector. |
| Enabled | On/off toggle in the inspector. |
| Layout | Select 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 — Alignment | Select control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: left. Saved as `alignment`. |
| Icon Style | Select 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 Effect | Select 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 Labels | On/off toggle in the inspector. Off by default. Saved as `showLabel`. |
| Label Position | Select 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 Tab | On/off toggle in the inspector. On by default. Saved as `openNewTab`. |
When this is the right block
- Social media icon links with brand colors, custom styles, and multiple layout options — that is the job of Social Links, not a generic content block.
- Use it when you need the editor control labeled “Platform”, which exists on this block’s inspector.
- It matches pages about social, links, icons.
- Inserter grouping: landing pages, campaign sections, and conversion layouts.
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
Social Feed
Display a grid of social media post cards with images, captions, engagement metrics, and platform badges.
Feature Columns
Responsive 2–4 column feature grid with icon, title, and description. Multiple icon and visual styles.
Icon Feature Grid
Responsive grid of features with icons, titles and descriptions. Perfect for product pages, landing pages, and about sections.
Testimonial Wall
Masonry-style testimonial wall with platform source badges (Google, G2, Capterra, Twitter/X), per-card ratings, and featured card highlights.
Video Testimonial
Testimonial cards with embedded YouTube/Vimeo video, star rating, quote, and author. Builds deep social proof with video evidence.
Affiliate Disclosure
Styled FTC-compliant affiliate link disclosure notice for articles and reviews. Distinct from Affiliate Review Box — this is the small legal notice, not a full product review.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Social Links from the Gutenberg inserter.