Skip to content

Affiliate Disclosure Auto Notice

Free WordPress plugin Version 1.0.0 GPL-2.0-or-later

Affiliate Disclosure Auto Notice is a free WordPress plugin that adds your affiliate disclosure to every post that contains an affiliate link, and only to those posts. A link counts when its domain is in your list (Amazon, ShareASale, Awin, CJ, ClickBank, Rakuten and more come ready), when its address carries one of your affiliate parameters such as ?aff_id=, or when it is marked rel="sponsored". The notice goes at the top of the post by default, before the first link, or at the end, or both. Your posts in the database are not changed.

Download free Try the live demo

Who it is for

  • Bloggers and review sites with many posts that link to Amazon Associates or other affiliate programs.
  • Site owners who added affiliate links to old posts and need a disclosure on each of them without editing every post by hand.
  • Anyone who wants the disclosure only where it belongs: on posts with affiliate links, not on every page of the site.

What it does

  • Detects affiliate links by domain (subdomains included; "amazon.*" covers every Amazon country site), by URL parameter, and by rel="sponsored".
  • A ready list of common networks: Amazon, amzn.to, ShareASale, Awin, CJ, ClickBank, Rakuten, Partnerize and Skimlinks. Edit it freely.
  • One notice text with an optional "Read our disclosure" link; position at the top, at the end or both.
  • A "Disclosure" column in the posts list shows which posts get the notice and how many affiliate links each has.
  • A switch on each post to turn the notice off there, and the [affiliate_disclosure] shortcode to place it by hand.
  • Works on posts, pages or any public content type; links printed by shortcodes and blocks count too.
  • About 300 bytes of CSS, no JavaScript, no outside service; the notice is added when the post is shown, so your content stays untouched.
  • Hooks for developers: adan_domains, adan_params, adan_has_affiliate_links, adan_position, adan_notice_text, adan_notice_html, adan_notice_shown.

Live demo

See Affiliate Disclosure Auto Notice working with sample data: the site owner screen and what your visitors see. Change anything and watch the result.

your-site.com › The 5 best trail cameras this year

The 5 best trail cameras this year

This post contains affiliate links. If you buy through them, we may earn a commission at no extra cost to you.

We tested trail cameras for three months in rain and snow. Our pick is the Trail Camera 4K, with an eight-month battery.

On a budget? The Trail Cam Lite from Example Shop takes good daytime photos for less.

2 affiliate links found, so the notice is shown. In the page source:

<div class="adan-notice adan-notice-top" role="note"><p>This post contains affiliate links. If you buy through them, we may earn a commission at no extra cost to you.</p></div>

Open the live demo

How to install

  1. Download the zip file (the link arrives by email).
  2. In WordPress open Plugins → Add New → Upload Plugin, choose the zip and click Install Now, then Activate.
  3. Open Settings → Affiliate Disclosure, check the notice text and the list of affiliate domains, and click Save settings.
  4. Open Posts: the "Disclosure" column shows every post that now shows the notice. Open one of them to see it.

Download Affiliate Disclosure Auto Notice 1.0.0

Enter your email and we send you the download link. The same address gets one short email when this tool has a new version, with what changed. Nothing else is ever sent, and every email has a one-click unsubscribe link.

Version history

Version 1.0.0 — November 29, 2026

  • First release

Known bugs

No known bugs in version 1.0.0. Found one? Tell us through the customer portal.

Questions

Where should an affiliate disclosure go?

The US Federal Trade Commission asks for a disclosure that is clear and easy to notice, close to the claim and before the reader reaches the link. That is why the plugin puts it at the top of the post by default. You can add a second copy at the end. This is not legal advice: check the rules and your affiliate program's terms that apply to you.

How does it know which links are affiliate links?

It reads each link in the post when the post is shown. A link counts if its domain is in your list, if its address has one of your affiliate parameters, or, if you keep the option on, if it is marked rel="sponsored". Posts with no such link get no notice.

Does it change my posts?

No. The notice is added to the page when the post is shown. If you deactivate the plugin, your posts are exactly as they were.

Does it work with cloaked links like /go/product/?

A short link on your own domain does not show the affiliate network, so the plugin cannot tell it apart from a normal link. Mark those links rel="sponsored" (most link cloaking plugins can do it, and Google asks for it anyway) and they count.

What does the new version notice send?

Twice a day the plugin asks affiliatepro.org whether a newer version exists. It sends only the plugin name and the installed version (and, like any web request, your server's IP address). It can be turned off in the settings.

What happens when I delete the plugin?

Deleting it from the Plugins screen removes its settings and the per-post switches. Deactivating keeps them.

Request custom development

A different notice for each category or language, a short note next to every affiliate link, or a log that records on which posts the notice was shown and when. We build extensions on top of this tool for your site.

Request custom development

Related AffiliatePro products