Your affiliate links,
automatically
in the sidebar.
wBuild Affiliate Links Sidebar scans your post content for affiliate links you have already written and surfaces them in a polished sidebar widget. Zero manual entry, zero extra work.
Three steps, then it runs itself.
Install once, configure your affiliate prefix, drop the widget in your sidebar. Every page takes care of itself after that.
Set your prefix
Tell the plugin what your affiliate link domain looks like, e.g. https://amzn.to/. Pro users can add multiple prefixes for any program: Amazon, ShareASale, CJ, Impact, and more.
Place the widget
Add the Affiliate Links Sidebar widget to any sidebar area in Appearance, Widgets. Or drop the [wbuild-affiliate-links] shortcode anywhere in your content for inline display.
Links appear automatically
On each page load, the plugin scans your post content, extracts matching affiliate links, and displays them. Clean, clickable, and properly disclosed. Unique to each page, every time.
Everything you need, nothing you don't.
Clean output, a straightforward settings panel, and smart defaults right out of the box.
Auto-populates on every page
Write your post normally with your affiliate links in the content. The widget reads the page, finds every matching link, and displays them in a styled list with proper anchor text pulled from your original links.
- Detects up to 5 links (free) or unlimited (Pro)
- Uses actual anchor text from your post content
- Unique widget output per page, not a static list
- Desktop-only mode to hide on mobile
- Customizable widget title per widget instance
- Full CSS customization via settings panel
- Disclosure text with FTC and Amazon-compliant defaults
- Optional credit link (opt-in, off by default)
Simple settings, powerful control
One clean settings page covers everything. Affiliate prefix, display limits, link behavior, disclosure text, and CSS customization. No page builder required.
- Link prefix configuration, e.g. amzn.to/
- Max links 1 to 5 (free) or custom and unlimited (Pro)
- Link rel attributes: sponsored, nofollow, noopener
- Open in new tab toggle
- Custom disclosure text (FTC and Amazon compliant defaults)
- Widget and shortcode title overrides
- Hide shortcode on desktop, show only on mobile
- Custom CSS for widget and shortcode separately
Run every affiliate program at once
Pro lets you add as many link prefixes as you use. Amazon, ShareASale, Commission Junction, Impact, ClickBank, or any custom URL pattern. Each is detected independently and merged into one clean widget.
- Unlimited prefixes, one per line in settings
- All programs shown in a single unified widget
- Custom max links or 0 for truly unlimited
- [wbuild-affiliate-links] shortcode with per-use overrides
- Shortcode accepts prefix and max attributes inline
- Works with any URL-based affiliate link format
Use it anywhere with a shortcode.
Don't have a traditional sidebar? Drop the shortcode directly into your post content, a custom HTML block, or a widget area. It works everywhere.
[wbuild-affiliate-links]
// Pro version
[wbuild-affiliate-links]
// Pro with overrides
[wbuild-affiliate-links max="10"]
In Posts
Drop mid-article before a product section
In Pages
Resource pages, deal pages, landing pages
Mobile Only
Show inline on mobile, hide on desktop
Start free. Upgrade when ready.
Free handles most use cases. Pro starts at $29.99/yr.
- Up to 5 links per page (configurable 1 to 5)
- Single affiliate prefix
- Sidebar widget
[wbuild-affiliate-links]shortcode- Customizable link attributes (target, rel)
- Disclosure text helper
- Mobile and desktop visibility control
- Custom CSS styling
- Future updates
- Multiple affiliate programs
- Unlimited links
- Unlimited links per page (or custom max)
- Multiple prefixes, any affiliate program
- Sidebar widget
[wbuild-affiliate-links]Shortcode- Shortcode with overrides
- Customizable link attributes (target, rel)
- Disclosure text helper
- Mobile and desktop visibility control
- Custom CSS styling
- Future updates
- Amazon, ShareASale, CJ, Impact and more
- Shortcode per-use prefix and max overrides
| Feature | Free Version | Pro Version |
|---|---|---|
| Max links per page | 5 (configurable 1 to 5) | Unlimited (custom max setting) |
| Affiliate prefixes | Single prefix | Multiple (one per line, any program) |
| Sidebar widget | ✓ | ✓ |
| Shortcode | [wbuild-affiliate-links] | [wbuild-affiliate-links] with overrides |
| Link attributes (target, rel) | Customizable checkboxes | Customizable checkboxes |
| Disclosure helpers | Yes (Customizable) | Yes (Customizable) |
| Mobile and desktop visibility | ✓ | ✓ |
| Custom CSS | ✓ | ✓ |
| Credit link | Optional (opt-in) | Optional (opt-in) |
| Future updates | ✓ | ✓ |
Common questions.
Does it work with non-Amazon affiliates?
Yes. Change the prefix in free (e.g. ClickBank, ShareASale), or add multiple programs at once in Pro. Any URL-based affiliate link format works.
Is it Gutenberg compatible?
Fully. Works with the block editor, classic editor, and any page builder. The widget integrates with Appearance, Widgets and the Widget block.
What about FTC compliance?
The plugin ships with an Amazon-compliant disclosure text by default. It is fully customizable. rel="sponsored" is applied to all links by default, which is Google's recommendation.
Will it slow down my site?
No external API calls. No tracking scripts. It reads local post content, runs a simple regex match, and outputs clean HTML. Virtually no overhead added.
What if a page has no affiliate links?
The widget and shortcode output nothing. No empty boxes, no broken markup. It only displays when matching links are found on that specific page.
Can I style it to match my theme?
Yes. The settings panel has a dedicated CSS field for both the widget and shortcode separately. Override any default styles you want.
Up in under 2 minutes.
Download
Get the free ZIP from WordPress.org or purchase Pro from wBuild.dev.
Install
Upload via Plugins, Add New, Upload Plugin and activate.
Configure
Set your affiliate prefix in Settings, Affiliate Links Sidebar.
Add Widget
Drop the widget in Appearance, Widgets or use the [wbuild-affiliate-links] shortcode.
Ready to show your affiliate links?
Start for free today, or go Pro for unlimited links and multiple affiliate programs.