WP Affiliate Disclosure
Automatically add a customizable, FTC-compliant disclosure statement across your WordPress website based on the rule(s) you define.
Install in
Live Demo: https://www.mojofywp.com/wp-affiliate-disclosure/demo
If you’re an affiliate marketer, blogger, or website owner, and you’re promoting products of companies from US, UK, or Canada, the FTC (Federal Trade Commission) requires you to tell your visitors that you will be compensated if they purchase something through your affiliate link(s).
However, adding the disclosure statement manually into each posts would be a hassle – But worries no more…
WP Affiliate Disclosure allows you to add a customizable, FTC-compliant disclosure statement that will automatically display across your WordPress website based on the rule(s) you define.
Main features:
- Show the disclosure statement at the beginning and/or the end of a post.
- Easily customize statement content, including adding in links, images, as well as HTML elements.
- Only show the disclosure statement on certain posts.
- Only show the disclosure statement based on its taxonomies ( categories / tags )
- Works on custom post type as well
Live Demo: https://www.mojofywp.com/wp-affiliate-disclosure/demo
Written by Joobi from the project's own listing. See the source page
1.5.0
- New: Affiliate Disclosure block with Boxed, Banner and Inline style variations.
- New: Editor sidebar panel showing the matching rule, with per-post overrides (disable, text, placement, style).
- New: Four block patterns (Standard FTC, Amazon Affiliate Notice, Sponsored Post Header, Minimal Inline).
- New: Import / Export (Tools) for rules, templates, settings and styling as JSON, with a preview before anything changes.
- Improved: A valid disclosure block on a post prevents a second automatic disclosure.
- Improved: Automatic disclosures never disappear because of an empty or broken block (fail-safe).
- Improved: The disclosure block saves a plain-text copy of its text, shown only if the plugin is deactivated or rolled back to 1.4.x, so the post keeps a disclosure.
- Fixed: Free version limits now also apply to the REST API, Tools import and per-post placement overrides: after-paragraph, shortcode and widget placements, extra post types, exclusion filters and more than one rule need the premium version. Imports into a free site keep one rule and list what was skipped or removed.
- Fixed: The Help page marks premium-only placement guides as Premium on the free version.
- Fixed: The editor sidebar no longer says an empty or hidden disclosure block handles the disclosure.
- Fixed:
[wpadc rule="N"]shows rule N’s own text and style, also on a post with per-post overrides. - Fixed: A rule can no longer be saved without a post type. A rule created through the REST API keeps the default settings for anything the request leaves out.
- Changed: Per-post placement overrides use the hyphen form (
before-content,after-content), the same as rules. The underscore forms (before_content,after_content) are still accepted when saving and are converted. Any other value is rejected with a 400rest_not_in_enumerror. - Security: The getting-started wizard and the rule list refresh on the Overview page now require an administrator.
- Security: Disclosure rules can only be read, created, edited or deleted by administrators, on every WordPress path including XML-RPC.
- Security: Rule text saved from the rule editor and the wizard is filtered the same way as in the REST API and import, and rule priority is stored as a number.
- Security: These issues also affect 1.4.x. Updating is recommended.
- Updated: Requires WordPress 6.6 or higher for the block editor features. On older WordPress your existing rules, shortcodes and automatic disclosures keep working, and you will see an update notice.
- Classic Editor: works exactly as before.
- Compatibility: Tested up to WordPress 7.1.5.
1.4.1
- Updated: Freemius SDK to 2.13.5.
- Compatibility: Tested up to WordPress 7.1.3.
1.4.0
- New: Visual styling controls in the rule editor — pick from 4 presets (Minimal, Boxed, Banner, Inline) or customize colors, borders, padding, and margin without writing CSS.
- New: After-paragraph placement — show the disclosure after paragraph 1, 2, or 3.
- New: One-click disclosure templates for Amazon Associates and General FTC compliance (short and long variants).
- New:
[affiliate_disclosure]shortcode alias withstyle,template,variant,text, andruleattributes. - New: REST API CRUD endpoints — POST/PUT/DELETE
/wpadc/v1/rulesandPUT /wpadc/v1/rules/reorderfor programmatic rule management. - New: Admin notices when a rule has no targeting conditions or no rules exist (per-user dismissible).
- Fixed: Disclosure no longer injected in widgets, REST output, excerpts, or featured-image processing — main-loop guard added to all
the_contentcallbacks. - Fixed: Autoloader failure now shows a helpful admin notice instead of a white screen.
- Compatibility:
id="wpadc-wrapper"is now emitted on the first disclosure wrapper per page only — preserving backward-compatible CSS for sites with a single disclosure per page. Pages with multiple disclosures (e.g. both before- and after-content placements active) will only see the id on the first wrapper; use.wpadc-wrapper-classor.wpadc-disclosureto target all wrappers. Advanced users can remove the id entirely by returningfalsefrom thewpadc_emit_legacy_wrapper_idfilter.
Follow this listing's changes (Atom feed)