This plugin, created by
LWS, lets you
add banners and widgets, such as a domain name availability search or a table of our hosting offers, to your website, and earn commissions with the LWS affiliate program.
Key Features
- Gutenberg blocks: "LWS banner", "LWS domain name search" and "LWS hosting offers", usable in posts, pages, widget areas and block theme templates.
- Classic editor: the "LWS Affiliation" button inserts a
[lws_affiliation] shortcode, also usable with page builders.
- Automatic placements: display a banner in your posts (before, after or after a given paragraph), in a sticky bar at the bottom of the page or on the sides of wide screens.
- Customizable domain name search: extension, button color and text, language.
- Statistics: follow your clicks, sales and commissions from your WordPress dashboard.
- Lightweight: nothing is loaded on pages without a banner, banners are lazy-loaded and affiliate links are marked as sponsored.
You will need a
LWS affiliate account to use it.
Follow the instructions on the configuration page to learn how to add your first banner or widget.
There are 3 different ways to install LWS Affiliation (as with any other
wordpress.org plugin).
Using the WordPress dashboard
- In WordPress, in the Extensions menu, click on "Add"
- Search for the 'LWS Affiliation' plugin
- Click 'Install Now'
- Activate the plugin
- Log in to your LWS Affiliate account to use it
Uploading in WordPress Dashboard
- Download the latest version of this plugin
- In WordPress, in the Extensions menu, click on "Add"
- Click on the top button "Upload an extension"
- Select the zip file from your computer (zip file from step 1.)
- Click 'Install Now'
- Activate the plugin
- Log in to your LWS Affiliate account to use it
Using FTP
- Download the latest version of this plugin
- Unzip the zip file. This extracts the files from the compressed folder on your computer
- Upload the LWS affiliation folder to the /wp-content/plugins/ directory in your web space
- Activate the plugin in WordPress
- Log in to your LWS Affiliate account to use it
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.