Title: AffiliateBoxes.com Integration
Author: Lap
Published: <strong>September 7, 2026</strong>
Last modified: September 7, 2026

---

Search plugins

![](https://ps.w.org/affiliateboxes/assets/icon-256x256.png?rev=3684383)

# AffiliateBoxes.com Integration

 By [Lap](https://profiles.wordpress.org/lapzor/)

[Download](https://downloads.wordpress.org/plugin/affiliateboxes.1.1.1.zip)

 * [Details](https://wordpress.org/plugins/affiliateboxes/#description)
 * [Reviews](https://wordpress.org/plugins/affiliateboxes/#reviews)
 *  [Installation](https://wordpress.org/plugins/affiliateboxes/#installation)
 * [Development](https://wordpress.org/plugins/affiliateboxes/#developers)

 [Support](https://wordpress.org/support/plugin/affiliateboxes/)

## Description

AffiliateBoxes.com Integration lets you insert rich affiliate product “boxes” created
in your AffiliateBoxes.com account into WordPress posts, pages, and custom post 
types. Changes to the products are automatically synced to your WordPress site.

Features:

 * Auto-sync: products synchronize automatically after changes on AffiliateBoxes.
   com.
 * Gutenberg block: pick a product from your synced list with instant preview.
 * Shortcode: `[affiliateboxes_product slug="your-product-slug"]` for use anywhere.
 * Manual refresh: force a sync from the plugin settings screen.

You’ll need an AffiliateBoxes.com account (free plan available) to connect your 
site.

#### How product content is handled

A synced product is stored as two separate values: its markup and its stylesheet.
The markup is passed through `wp_kses()` against an explicit allow list every time
it is displayed, so no scripts, event handlers, or unrecognised elements can reach
your pages. The stylesheet is loaded through WordPress’s standard `wp_enqueue_style()`/`
wp_add_inline_style()` APIs (rather than being printed as a raw `<style>` tag), 
after any sequence that could break out of it has been removed. All interactive 
behaviour — coupon panels, galleries, copy to clipboard — is driven by a script 
that ships with this plugin, registered through `wp_enqueue_script()` and triggered
by data attributes.

The allow list can be extended from your own code with the `affiliateboxes_allowed_html`
filter.

### 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.

## Screenshots

[⌊Settings screen with synchronization controls and available products list.⌉⌊Settings
screen with synchronization controls and available products list.⌉[

Settings screen with synchronization controls and available products list.

[⌊Inserting a product via Shortcode⌉⌊Inserting a product via Shortcode⌉[

Inserting a product via Shortcode

[⌊Gutenberg editor block⌉⌊Gutenberg editor block⌉[

Gutenberg editor block

## Blocks

This plugin provides 1 block.

 *   AffiliateBoxes

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/` directory or install via 
    Plugins  Add New.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to Affiliate Products in your WP Admin menu and click Connect to link your site
    with AffiliateBoxes.com.
 4. Use the “Affiliate Product” block in the editor, or add the shortcode where needed.

## FAQ

### Do I need an AffiliateBoxes.com account?

Yes. Create products on AffiliateBoxes.com, then connect your WordPress site from
the plugin settings.

### How do I insert a product with a shortcode?

Use: `[affiliateboxes_product slug="your-product-slug"]`
 Shortcodes are shown underneath
the product when editing on AffiliateBoxes.com and listed on WP Admin under the 
Affiliate Products menu once the site is connected.

### Can I refresh products manually if things are out of sync?

Yes. Use the “Force Synchronize” button on the settings screen to refresh immediately.

There is also a refresh button on the Gutenberg block that will refresh that specific
product. However, normally you would never need to do this, changes are sent to 
your WordPress site immediately when you save changes on AffiliateBoxes.com.

### My boxes disappeared after updating to 1.1.0

They come back on their own. Version 1.1.0 changed the stored format, so a product
synced by an
 earlier version re-syncs the first time it is displayed. If a box 
stays empty, press “Force Synchronize” on the settings screen, and check that your
site is still connected.

### Connections to AffiliateBoxes.com fail with an SSL certificate error

All requests to AffiliateBoxes.com verify the TLS certificate, as they should. A
small number of
 hosts ship an outdated or incomplete CA bundle, which can make 
verification fail even though the certificate is valid. If your host is affected
and cannot update its CA bundle, you can opt out of verification for requests to
AffiliateBoxes.com only, by adding this to your theme’s functions.php or a site-
specific plugin:

    ```
    add_filter( 'http_request_args', function ( $args, $url ) {
        if ( false !== strpos( $url, 'affiliateboxes.com' ) ) {
            $args['sslverify'] = false;
        }
        return $args;
    }, 10, 2 );
    ```

This weakens the security of those requests, so treat it as a temporary workaround
and ask your host
 to fix their CA bundle. The plugin deliberately does not expose
this as a setting.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“AffiliateBoxes.com Integration” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Lap ](https://profiles.wordpress.org/lapzor/)
 *   [ affiliateboxes ](https://profiles.wordpress.org/affiliateboxes/)

[Translate “AffiliateBoxes.com Integration” into your language.](https://translate.wordpress.org/projects/wp-plugins/affiliateboxes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/affiliateboxes/), check
out the [SVN repository](https://plugins.svn.wordpress.org/affiliateboxes/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/affiliateboxes/)
by [RSS](https://plugins.trac.wordpress.org/log/affiliateboxes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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 `lapzor` to 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_html` filter 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.

## Meta

 *  Version **1.1.1**
 *  Last updated **22 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.9 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [affiliate](https://wordpress.org/plugins/tags/affiliate/)[affiliate marketing](https://wordpress.org/plugins/tags/affiliate-marketing/)
   [gutenberg](https://wordpress.org/plugins/tags/gutenberg/)[product box](https://wordpress.org/plugins/tags/product-box/)
   [shortcode](https://wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://wordpress.org/plugins/affiliateboxes/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/affiliateboxes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/affiliateboxes/reviews/)

## Contributors

 *   [ Lap ](https://profiles.wordpress.org/lapzor/)
 *   [ affiliateboxes ](https://profiles.wordpress.org/affiliateboxes/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/affiliateboxes/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://affiliateboxes.com/)