
Add banners and widgets from the affiliate program of LWS.
This plugin, created by LWS, allows you to easily add banners and widgets such as domain name availability search or a summary table of our hosting plans on your website.
Enjoy our affiliate program and earn money!
Key Features
Major features in LWS Affiliation include:
-
Add an affiliate banner in one click.
-
Add a customizable domain name search widget.
-
Add a table of our hosting offers (shared hosting, VPS, e-commerce, cloud, etc…).
-
Follow the perfomances of your widgets on your website
You will need a LWS Affiliation account to use it.
This plugin is ideal for fans of LWS services and especially Best Sellers shared web hosting , WordPress hosting, cPanel hosting.
Screenshots

Home of the LWS Affiliate plugin

Welcome to the plugin

Statistics of clicks, sales and commissions

Last sales made on LWS.fr via your banner or widget

LWS Affiliate button in the classic WordPress editor

LWS Affiliate button in the WordPress Gutenberg editor

Affiliate Widget Popup Window: Add Banners

Add a domain name search widget

Add LWS Offer Tables Widget
FAQ
How to configure the plugin?
In your WordPress administration, click on “LWS Affiliation” in the side menu, then enter your affiliate ID and your affiliate password. Create your affiliate account if you do not have one yet.
How to add a banner or a widget with Gutenberg?
Add one of the “LWS banner”, “LWS domain name search” or “LWS hosting offers” blocks, then choose the banner or the widget in the list. The options of the widgets (extension, button, language…) are in the block settings sidebar.
And with the classic editor?
Click on the “LWS Affiliation” button of the editor toolbar and choose your banner or widget: a [lws_affiliation] shortcode is inserted. In the block editor, this shortcode can be converted into a block.
How to display banners automatically?
Open the “Placements” tab of the plugin settings. You can display a banner or a widget in the content of your posts, a sticky banner at the bottom of the page, and banners on the sides of wide screens. All placements are disabled by default.
Can I insert several widgets on the same page?
Yes. Since version 3.0, several widgets, even of the same type, can be displayed on the same page.
What happens to the banners inserted with previous versions?
They keep working: nothing changes for the content you already published.
Can I self-affiliate?
No. Your customers will benefit from your personalized promo code and you will earn a commission on the sales generated on LWS.fr. As a user of our WordPress plugins, you can use the coupon code WPEXT15 at checkout to get an additional 15% discount.
How does affiliation work?
- Publish a LWS banner or widget on your site.
- Each visitor clicking on your banner and then ordering a web hosting package or another LWS service is counted.
- Each validated order gives you a commission (provided that the customer does not request a refund), that you can follow from your affiliate account.
Where can I get help?
See our online help. A free support is also available 7 days a week when you have ordered a service from LWS.
ChangeLog
3.0.0
- New: Gutenberg blocks “LWS banner”, “LWS domain name search” and “LWS hosting offers”, also usable in widget areas and block theme templates
- New:
[lws_affiliation] shortcode; the classic editor button now inserts this shortcode
- New: automatic placements (in the content, sticky bar at the bottom of the page, side banners on wide screens)
- New: several widgets, even of the same type, can be displayed on the same page
- New: affiliate links are marked as sponsored (rel=”sponsored”)
- New: when an ad blocker hides a banner, its promo code caption (and the sticky bar) is hidden too, also for banners inserted with previous versions
- Fixed: banners inserted with previous versions are now centered above their promo code caption
- Security: banners and widgets are rendered by the plugin from validated identifiers; no script or HTML from the content is executed any more, and the affiliate ID always comes from the connected account
- Security: widgets are displayed in an iframe served by LWS; the plugin no longer loads an old version of jQuery on your site
- Performance: the list of banners is refreshed once a day in the background, no network request when opening the editor
- Performance: the plugin assets are only loaded on pages displaying a banner or a widget
- Changed: the Poppins font of the settings page is now included in the plugin (no more request to Google Fonts)
- Changed: requires WordPress 6.6 and PHP 7.4
2.4.0
- Security: the affiliate ID and password are now sent in the body of a POST request, never in the URL
- Security: the API key is sent in a request header, never in the URL
- Security: the login and logout forms are now protected against cross-site request forgery (CSRF)
- Security: the review notice and its actions are restricted to administrators
- Security: the server path is no longer exposed to the editor scripts
- Performance: the plugin stylesheet is no longer loaded on every page of the site, only where a legacy banner caption is displayed
- Performance: no network request when opening the editor; statistics and last sales are cached for 15 minutes
- Changed: the old front-end stylesheet contained generic rules (body, table, select…) that could alter your theme; they have been removed
- Fixed: login errors were not displayed
- Fixed: passwords containing spaces or special characters could be altered before being sent
- Fixed: the banner window stayed empty when a persistent object cache (Redis, Memcached) was active
- Fixed: PHP warnings on the statistics and last sales tabs when the affiliate platform could not be reached
- Fixed: the “configure your account” notice pointed to a wrong URL and was shown to every user on every admin page
- Fixed: the review reminder never expired
- Fixed: a network error while logging in could cause a fatal error
- Removed: obsolete allow_url_fopen and iThemes Security checks
2.3.6
- Updated translations and the “Our plugins” tab
2.3.5
- Added capability checks on AJAX actions
2.3.4
- Use the WordPress HTTP API instead of file_get_contents
- Improved input sanitization and output escaping
2.3.3
- Hide other admin notices on the plugin settings page
2.3.2
- Fixed issue with CSS which could cause it to apply to unrelated elements
2.3
- Changed how data are loaded (now with AJAX)
- Fixed security issue
- Changed translations
2.2.6
2.2.5
- Bug corrected for “Stats” page where data would not load properly
- Can be asked for reviews
2.2
- Preventive security fix
- New plugin added to “Our plugins”
2.1
- Complete rework
- New design
- New “Our plugins” page
2.0.1
Relase Date – 16 Sept, 2022
* Minor bug fixes
* Now with a banner on the installation page
2.0
Release Date – 23 August, 2022
* Updated design of the widget
* Updated design of the pages
* Now display coupons on the banners and widgets
* New tabs in the configuration page to follow the stats and performances of your banners and widgets
* Minors changes
* Bugs fixes
1.1
Release Date – 20 April, 2022
- Corrected the translation
- Corrected some sentences
- Updated function calls to a more recent version
- Added more instructions tu use our plugin
1.0
Release Date – 2nd October, 2015
- Add all banners.
- Add table widget.
- Update frame to select affiliate element to insert on the content
0.1
Release Date – 23th July, 2015
- Add domain name search Widget.