{"id":94065,"date":"2018-11-15T03:20:57","date_gmt":"2018-11-15T03:20:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-affiliate-disclosure\/"},"modified":"2026-05-03T09:00:13","modified_gmt":"2026-05-03T09:00:13","slug":"wp-affiliate-disclosure","status":"publish","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/wp-affiliate-disclosure\/","author":16571370,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.0","stable_tag":"trunk","tested":"6.7.5","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"WP Affiliate Disclosure","header_author":"MojofyWP","header_description":"Automatically add a customizable, FTC-compliant disclosure statement across your WordPress website based on the rule(s) you define.","assets_banners_color":"6d6a63","last_updated":"2026-05-03 09:00:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.mojofywp.com\/wp-affiliate-disclosure","header_author_uri":"https:\/\/www.mojofywp.com","rating":0,"author_block_rating":0,"active_installs":1000,"downloads":36059,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.4.0":"<p>v1.4 ships visual styling, after-paragraph placement, disclosure templates, and full REST API CRUD. Compatibility: <code>id=&amp;quot;wpadc-wrapper&amp;quot;<\/code> is preserved on the first disclosure wrapper per page. Sites with multiple disclosures on a single page should migrate custom CSS to <code>.wpadc-wrapper-class<\/code> or <code>.wpadc-disclosure<\/code>.<\/p>","1.3.0":"<ul>\n<li>Improved: Refreshed in-plugin Help and FAQ content.<\/li>\n<li>Under the hood: Modernized the build system for future development.<\/li>\n<li>Under the hood: Added namespaced service scaffolding and REST API foundations.<\/li>\n<li>Updated: Now requires WordPress 5.8+ and PHP 7.4+.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1974587,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1974587,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1974587,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1974587,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1974587,"resolution":"1","location":"assets","locale":"","width":781,"height":456},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1974587,"resolution":"2","location":"assets","locale":"","width":778,"height":1682},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1974587,"resolution":"3","location":"assets","locale":"","width":730,"height":722},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1974587,"resolution":"4","location":"assets","locale":"","width":723,"height":714},"screenshot-5.png":{"filename":"screenshot-5.png","revision":1974587,"resolution":"5","location":"assets","locale":"","width":717,"height":671}},"screenshots":{"1":"Admin: Settings page","2":"Admin: Rules settings page","3":"Frontend: WP Affiliate Disclosure in action 1.","4":"Frontend: WP Affiliate Disclosure in action 2.","5":"Frontend: WP Affiliate Disclosure in action 3."}},"plugin_section":[],"plugin_tags":[369,164340,164341,23968,5351],"plugin_category":[35],"plugin_contributors":[78154,163864],"plugin_business_model":[],"class_list":["post-94065","plugin","type-plugin","status-publish","hentry","plugin_tags-affiliate","plugin_tags-affiliate-disclosure","plugin_tags-affiliate-disclosure-statement","plugin_tags-disclosure","plugin_tags-disclosure-statement","plugin_category-advertising","plugin_contributors-freemius","plugin_contributors-mojofywp","plugin_committers-mojofywp"],"banners":{"banner":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/banner-772x250.png?rev=1974587","banner_2x":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/banner-1544x500.png?rev=1974587","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/icon-128x128.png?rev=1974587","icon_2x":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/icon-256x256.png?rev=1974587","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/screenshot-1.png?rev=1974587","caption":"Admin: Settings page"},{"src":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/screenshot-2.png?rev=1974587","caption":"Admin: Rules settings page"},{"src":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/screenshot-3.png?rev=1974587","caption":"Frontend: WP Affiliate Disclosure in action 1."},{"src":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/screenshot-4.png?rev=1974587","caption":"Frontend: WP Affiliate Disclosure in action 2."},{"src":"https:\/\/ps.w.org\/wp-affiliate-disclosure\/assets\/screenshot-5.png?rev=1974587","caption":"Frontend: WP Affiliate Disclosure in action 3."}],"raw_content":"<!--section=description-->\n<p>Live Demo: <a href=\"https:\/\/www.mojofywp.com\/wp-affiliate-disclosure\/demo\" title=\"WP Affiliate Disclosure in Action\">https:\/\/www.mojofywp.com\/wp-affiliate-disclosure\/demo<\/a><\/p>\n\n<p>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).<\/p>\n\n<p>However, adding the disclosure statement manually into each posts would be a hassle \u2013 But worries no more...<\/p>\n\n<p>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.<\/p>\n\n<p><strong>Main features:<\/strong><\/p>\n\n<ul>\n<li>Show the disclosure statement at the beginning and\/or the end of a post.<\/li>\n<li>Easily customize statement content, including adding in links, images, as well as HTML elements.<\/li>\n<li>Only show the disclosure statement on certain posts.<\/li>\n<li>Only show the disclosure statement based on its taxonomies ( categories \/ tags )<\/li>\n<li>Works on custom post type as well<\/li>\n<\/ul>\n\n<p>Live Demo: <a href=\"https:\/\/www.mojofywp.com\/wp-affiliate-disclosure\/demo\" title=\"WP Affiliate Disclosure in Action\">https:\/\/www.mojofywp.com\/wp-affiliate-disclosure\/demo<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip the downloaded zip file.<\/li>\n<li>Upload the plugin folder into the <code>wp-content\/plugins\/<\/code> directory of your WordPress site.<\/li>\n<li>Activate <code>WP Affiliate Disclosure<\/code> from Plugins page<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"my%20disclosure%20is%20not%20showing%20on%20any%20posts\"><h3>My disclosure is not showing on any posts<\/h3><\/dt>\n<dd><p>Check that you have a published rule, the display position is enabled, the post type and conditions match the post you are viewing, and any page or CDN caches have been cleared. Some custom themes and builder templates bypass WordPress's standard content filter; in those cases, use shortcode placement or test with a default WordPress theme.<\/p><\/dd>\n<dt id=\"my%20disclosure%20shows%20on%20the%20wrong%20pages\"><h3>My disclosure shows on the wrong pages<\/h3><\/dt>\n<dd><p>Review the rule conditions. Use taxonomy slugs for category or tag targeting, post IDs for individual posts, and priority ordering when multiple rules can match the same post.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20disclosure%20statement%3F\"><h3>Can I change the disclosure statement?<\/h3><\/dt>\n<dd><p>Yes. You can.<\/p><\/dd>\n<dt id=\"can%20i%20add%20links%20into%20the%20statement%3F\"><h3>Can I add links into the statement?<\/h3><\/dt>\n<dd><p>Yes. You can.<\/p><\/dd>\n<dt id=\"can%20i%20add%20images%20into%20the%20statement%3F\"><h3>Can I add images into the statement?<\/h3><\/dt>\n<dd><p>Yes. You can.<\/p><\/dd>\n<dt id=\"can%20i%20limit%20to%20which%20post%20the%20statement%20is%20shown%3F\"><h3>Can I limit to which post the statement is shown?<\/h3><\/dt>\n<dd><p>Yes. You can.<\/p><\/dd>\n<dt id=\"can%20i%20specify%20which%20post%20the%20disclosure%20statement%20should%20display%3F\"><h3>Can I specify which post the disclosure statement should display?<\/h3><\/dt>\n<dd><p>Yes. You can.<\/p><\/dd>\n<dt id=\"can%20i%20specify%20only%20posts%20with%20a%20certain%20categories%20that%20should%20show%20the%20disclosure%20statement%3F\"><h3>Can I specify only posts with a certain categories that should show the disclosure statement?<\/h3><\/dt>\n<dd><p>Yes. You can.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20compatible%20with%20all%20wordpress%20themes%3F\"><h3>Is the plugin compatible with all WordPress themes?<\/h3><\/dt>\n<dd><p>WP Affiliate Disclosure is compatible with most of the themes that follow wordpress coding practices and standards. However, since every wordpress themes has its own coding structure, it's pretty difficult to promise that this plugin will absolutely work with just any themes in the market.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20translation%20ready%3F\"><h3>Is the plugin translation ready?<\/h3><\/dt>\n<dd><p>Yes, absolutely! The plugin comes with a PO file that you can use to translate WP Affiliate Disclosure to any desired language.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>New: Visual styling controls in the rule editor \u2014 pick from 4 presets (Minimal, Boxed, Banner, Inline) or customize colors, borders, padding, and margin without writing CSS.<\/li>\n<li>New: After-paragraph placement \u2014 show the disclosure after paragraph 1, 2, or 3.<\/li>\n<li>New: One-click disclosure templates for Amazon Associates and General FTC compliance (short and long variants).<\/li>\n<li>New: <code>[affiliate_disclosure]<\/code> shortcode alias with <code>style<\/code>, <code>template<\/code>, <code>variant<\/code>, <code>text<\/code>, and <code>rule<\/code> attributes.<\/li>\n<li>New: REST API CRUD endpoints \u2014 POST\/PUT\/DELETE <code>\/wpadc\/v1\/rules<\/code> and <code>PUT \/wpadc\/v1\/rules\/reorder<\/code> for programmatic rule management.<\/li>\n<li>New: Admin notices when a rule has no targeting conditions or no rules exist (per-user dismissible).<\/li>\n<li>Fixed: Disclosure no longer injected in widgets, REST output, excerpts, or featured-image processing \u2014 main-loop guard added to all <code>the_content<\/code> callbacks.<\/li>\n<li>Fixed: Autoloader failure now shows a helpful admin notice instead of a white screen.<\/li>\n<li>Compatibility: <code>id=\"wpadc-wrapper\"<\/code> is now emitted on the <strong>first<\/strong> disclosure wrapper per page only \u2014 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 <code>.wpadc-wrapper-class<\/code> or <code>.wpadc-disclosure<\/code> to target all wrappers. Advanced users can remove the id entirely by returning <code>false<\/code> from the <code>wpadc_emit_legacy_wrapper_id<\/code> filter.<\/li>\n<\/ul>","raw_excerpt":"Automatically add a customizable, FTC-compliant disclosure statement across your WordPress website based on the rule(s) you define.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/94065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=94065"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mojofywp"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=94065"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=94065"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=94065"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=94065"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=94065"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=94065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}