AffiliateBoxes.com Integration
Display AffiliateBoxes.com affiliate boxes with a block or shortcode.
Install in
AffiliateBoxes.com Integration lets you insert rich affiliate boxes created in your AffiliateBoxes.com account into WordPress posts, pages, and custom post types. Every affiliate box combines a product image, description, affiliate link, and a call-to-action affiliate button, so readers can click through without leaving your content. Changes to the products are automatically synced to your WordPress site.
Features:
- Auto-sync: affiliate boxes synchronize automatically after changes on AffiliateBoxes.com.
- Gutenberg block: pick a product from your synced list with instant preview of the affiliate box.
- Shortcode:
[affiliateboxes_product slug="your-product-slug"]to drop an affiliate box anywhere in a post or page. - Comparison tables: display multiple affiliate links and buttons side by side with the table shortcode.
- Coupon lists: show every active coupon code on your site as a grid of product boxes, with sorting, a store filter and paging, using the AffiliateBoxes Coupons block or
[affcoupons slug="..."]. - Manual refresh: force a sync from the plugin settings screen.
Use it to build product roundups, “best of” lists, and review posts with a consistent affiliate box design, a clear affiliate button, and a trackable affiliate link for every product.
You’ll need an AffiliateBoxes.com account (free plan available) to connect your site.
External Service
This plugin connects to AffiliateBoxes.com to synchronize and display the products created in your AffiliateBoxes.com account. The service is operated by the makers of this plugin.
It makes remote requests to AffiliateBoxes.com endpoints over HTTPS for:
- Site connection and verification
- Listing and synchronizing your products
- Retrieving product display content: the markup and stylesheet for a box or table
When requests happen:
- When you connect your site from the plugin settings page
- When you manually synchronize products
- When AffiliateBoxes.com pushes product updates to your site
- During rendering if stored product content is missing or a refresh is explicitly requested
Data that may be sent includes:
- Site URL/domain
- Product identifiers/slugs
- Request authentication/signature data
- Plugin/version context needed for compatibility
Why this service is required:
- AffiliateBoxes.com generates and manages the box and table content based on your account and product settings. This plugin is the integration layer that syncs that content and displays it.
Service terms and policies:
- Terms of Service: https://affiliateboxes.com/terms/
- Privacy Policy: https://affiliateboxes.com/privacy/
Third-Party Libraries
This plugin bundles the following libraries. All are GPL-compatible, and both minified and
unminified builds are included where the upstream project provides them.
- Action Scheduler 3.x — GPLv3 — https://github.com/woocommerce/action-scheduler
- Bootstrap 5.3 — MIT — https://github.com/twbs/bootstrap
- Bootstrap Icons 1.13 — MIT — https://github.com/twbs/icons
- Choices.js 11.1 — MIT — https://github.com/Choices-js/Choices
- Inter (webfont) — SIL Open Font License 1.1 — https://github.com/rsms/inter
Bootstrap, Bootstrap Icons, Choices.js, and Inter are loaded on this plugin’s own admin screens only. The admin stylesheet is compiled from the SCSS sources in admin/scss/ of the plugin’s repository.
Written by Joobi from the project's own listing. See the source page
1.2.0
- Added: coupon lists. Coupon lists sync like products and tables and are displayed with the new “AffiliateBoxes Coupons” block or the
[affcoupons]shortcode (alias[affiliateboxes_coupons]). Sorting, the store filter and paging are handled by the bundled behaviour script. - The AffiliateBoxes block’s picker no longer lists coupon lists; use the AffiliateBoxes Coupons block for those.
1.1.2
- Fixed: the AffiliateBoxes block missing from the block inserter on sites where another plugin declares a global
registerBlockTypevariable (console error “redeclaration of non-configurable global property registerBlockType”). The block editor script no longer declares any global variables.
1.1.1
- Breaking: the
[affprod]and[afftable]shortcodes have been replaced by[affiliateboxes_product]and[affiliateboxes_table]. Update any posts, pages, or templates that use the old tags — they are no longer registered. The[affiliateboxes]shortcode is unaffected. - Product stylesheets are now loaded through
wp_register_style()/wp_add_inline_style()instead of being printed as a raw<style>tag on the page. - Added
lapzorto the Contributors list.
1.1.0
- Product content is now retrieved as separate markup and stylesheet, and the markup is sanitized with
wp_kses()against an explicit allow list every time it is displayed. The previous format, which stored and printed a remote script, has been removed entirely. - Box behaviour (coupon panels, galleries, copy to clipboard) now runs from a script bundled with the plugin, triggered by data attributes.
- Added the
affiliateboxes_allowed_htmlfilter for extending the sanitizer’s allow list. - Diagnostic messages now go to the standard WordPress debug log instead of a plugin-owned directory under
wp-content/. The old directory is removed on uninstall. - Uninstalling now removes everything the plugin created, including its options, transients, and queued background jobs.
- Activating the plugin no longer redirects you to the settings screen. It shows a dismissible notice on the Plugins screen instead, which survives bulk activation and does not fight other plugins for the redirect.
- Added a “Settings” link under the plugin name on the Plugins screen.
- Fixed: the first sync after connecting a site no longer asks you to confirm deleting synced products. That confirmation belongs to the Force Synchronize button, which does reset local data, and it had nothing to warn about on a fresh connection.
- Products synced by an earlier version re-sync automatically the first time they are displayed.
1.0.0
- Initial release: Connect, Synchronize, Gutenberg block, shortcode.
Follow this listing's changes (Atom feed)