=== Affiliate Coupons - Coupon Display Manager - Excellent Tool for Affiliate Marketers === Contributors: deetronix Donate link: Tags: affiliate coupons, Click reveal, discount Requires at least: 3.0.1 Requires PHP: 5.6.0 Tested up to: 6.9.4 Stable tag: 1.8.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Helps you to earn more affiliate money! == Description == **Increase your revenue by promoting discount codes** - why Affiliate Coupons is your most intuitive coupon plugin *All you need from a coupon plugin. Features include:* - **Easily create vendors and links for affiliate coupons** - Design beautifully structured lists of coupons provided by your favorite merchants. - **Display coupons via shortcode** - Your frontend needs to look sharp. Affiliate Coupons presents coupons neatly with easy-to-manage shortcode. - **Filter your coupons** - Proudly display your best coupons front and centre. You can choose which affiliate coupons to promote to the top of your pages. - **Presentation options with coupon templates** - Choose between standard, grid or list templates for laying out your coupons to best suit your website. You can even [view our full template list](https://affcoups.com/templates/) right now. - **Central or sidebar? It’s up to you** - Enjoy our fully integrated widgets for displaying your affiliate coupons in the sidebar. - **Check our coupon plugin live demo out** - Take a look at our free [online demo](https://affcoups.com/demo/) of the Affiliate Coupons Plugin in action. - **Follow our changelog** - See exactly how we have been carrying out [regular enhancements](https://wordpress.org/plugins/affiliate-coupons/#developers) to maximize your coupon plugin success! All of these key features are **available in our free version of Affiliate Coupons**. **You want more?** Dive into our Pro version of this coupon plugin for all the above AND additional features! *Make more affiliate money with the Pro version and its following highlights:* - **Click-to-reveal discount codes** - This is the big one. With the Pro version of Affiliate Coupons, you can increase your affiliate earnings as soon as visitors click to reveal their discount coupons. - **Discover key coupon stats** - Keep track of your coupon plugin success by tracking view, copy and click statistics for all campaigns. - **Advanced styles and templates** - Experiment with more complex styles and templates that add extra revenue potential to your coupon page. You can even create your own custom templates. - **Powerful & comprehensive search & filter function** - That's powerful! Clever filtering and searching allows you to view coupons individually and quickly. - **Comfortable pagination** - Allows you to display a variety of coupons spread over multiple pages. - **Highlight single coupons** - Make a show and dance of your best value coupon. With Pro, you can do more than just placing it at the top of your page. - **Widget for popular coupons** - Get an entire widget devoted to showcasing the most popular affiliate coupons on your website. - **Smart event tracking** - Google and Piwik do the hard work as they track how your customers interact with your coupons. Interested in bringing your coupon game to the next level? **[Check out Affiliate Coupons PRO](https://affcoups.com/features/?utm_source=wordpress.org&utm_medium=textlink&utm_campaign=Affiliate%20Coupons&utm_content=pro-version-link)**. = Quickstart Examples = * Create vendors * Create coupons * Link coupons to vendors * Assign categories and/or types to coupons if needed * Display coupons inside your posts/pages by using shortcodes = Support = * Browse [issue tracker](https://github.com/deetronix/affiliate-coupons/issues) on GitHub * [Follow us on Twitter](https://twitter.com/affcoups) to stay in contact and informed about updates == Installation == The installation and configuration of the plugin is as simple as it can be. = Using The WordPress Dashboard = 1. Navigate to the 'Add New' in the plugins dashboard 2. Search for 'affiliate coupons' 3. Click 'Install Now' 4. Activate the plugin on the Plugin dashboard = Uploading in WordPress Dashboard = 1. Navigate to the 'Add New' in the plugins dashboard 2. Navigate to the 'Upload' area 3. Select `affiliate-coupons.zip` from your computer 4. Click 'Install Now' 5. Activate the plugin in the Plugin dashboard = Using FTP = 1. Download `affiliate-coupons.zip` 2. Extract the `affiliate-coupons` directory to your computer 3. Upload the `affiliate-coupons` directory to the `/wp-content/plugins/` directory 4. Activate the plugin in the Plugin dashboard == Frequently Asked Questions == = Multisite supported? = Yes of course! Feel free to use our coupon plugin in a multisite installation. = Can I use Affiliate Coupons with any theme? = Due to our flexible shortcodes and templates, Affiliate Coupons can be used with any theme out there. = How many coupons can I create? = There’s no limit to the number of coupons you can have. = How many vendors can I create? = There’s no limit to the number of coupon vendors you can have. = Do you offer support? = Of course! Our caring developers and support team would be happy to assist you whenever you need our help. = Is Affiliate Coupons GDPR compatible? = Affiliate Coupons is a fully GDPR compatible WordPress coupon plugin. We don’t track or store any data ourselves. == Screenshots == 1. Coupons Grid 2. Settings == Changelog == = Version 1.8.4 (19 DMar 2026) = * Tweak: Code updated to handle the wordpress notice w.r.t. loading of text domain , fixed. * Plugin tested upto Wordpress V6.9.4 = Version 1.8.3 (20 Dec 2025) = * At few places string was not translatable , fixed. * Plugin tested upto Wordpress V6.9 = Version 1.8.2 (06 Oct 2025) = * rectified warning message "undefined title_display and undefined description" = Version 1.8.1 (06 Oct 2025) = * readme.txt file updated as per wordpress guidelines * Plugin tested upto WordPress v6.8.3 = Version 1.8 (16 Feb 2025) = * fix : security vulnerability patched * Tweak : added code to support pro feature * Plugin tested upto WordPress v6.7.1 = Version 1.7.3 (03 Nov 2024) = * fix : warning undefined array key vendor_logo fixed = Version 1.7.2 (23 Oct 2024) = * "WordPress" word removed from title as per guideline = Version 1.7.1 (12 Sep 2024) = * fix : descripton can be styled using html tags = Version 1.7 (01 Sep 2024) = * plugin tested upto WordPress v6.6.1 * new : option to show the vendor logo over the coupon added * new : action hook 'affcoups_add_after_button' added to add custom code below coupon button. * Tweak : added code to support pro feature = Version 1.6.10 (05th Mar 2024) = * plugin tested upto WordPress v6.4.3 * Fix : Image field not appearing and date selector not appearing due to conflict of metabox with elementor, fixed. = Version 1.6.9 (06th Dec 2023) = * plugin tested upto WordPress v6.4.1 * Fix : additional news added by plugin to the "WordPress events and news" widget in the admin dashboard have been removed as per wordpress guideline = Version 1.6.8 (15th Aug 2023) = * plugin tested upto WordPress v6.3 * Tweak : added code to support pro feature = Version 1.6.7.8 (25th Jun 2023) = * New : Option to hide Coupon Title and Coupon Description added. * Updated Quickstart Guide = Version 1.6.7.7 (1st Feb 2023) = * New : Excerpt length option for Grid template added. * Tweak : added code to support pro feature = Version 1.6.7.6 (12th Dec 2022) = * plugin tested upto WordPress v6.1.1 = Version 1.6.7.5 (24th Jul 2022) = * Tweak : added code to support pro feature = Version 1.6.7.4 (28th Jun 2022) = * plugin tested upto WordPress v6.0 * Tweak : added code to support pro feature = Version 1.6.7.3 (5th May 2022) = * plugin tested upto WordPress v5.9.3 = Version 1.6.7.2 (9th Jan 2022) = * Updated stable tag = Version 1.6.7.1 (16th July 2021) = * Updated stable tag = Version 1.6.7 (16th July 2021) = * Tweak: Adjusted CSS max-width for .affcoups container = Version 1.6.6 (14th July 2021) = * Tweak: Optimized affcoups container CSS = Version 1.6.5 (8th July 2021) = * Tweak: Updated stable tag * WordPress v5.7.2 compatibility = Version 1.6.4 (6th July 2021) = * Tweak: Minor code changes for git deployment = Version 1.6.3 (6th July 2021) = * New: Added shortcode "expired" attribute * New: Added "Show all coupons" / "Show active coupons only" feature * Tweak: Optimized webpack loader * Tweak: Optimized quickstarter guide * Fix: Getting property ID of non-object warning appeared for coupons and vendors * Updated translations .pot file = Version 1.6.2 (3rd March 2021) = * Fix: CSS and Javascript files were missing since the last plugin update = Version 1.6.1 (2nd March 2021) = * New: Added setting to link coupon titles * New: Added "Vendor" column to the admin coupons overview page * Fix: Admin notices were positioned incorrectly on the settings page * Updated translations .pot file * WordPress v5.6.2 compatibility = Version 1.6.0 (12th January 2021) = * Tweak: Refactored admin pages and applied new branding * Tweak: Refactored templates and introduced template functions * Tweak: Refactored workflow for Javascript and CSS assets * Updated translations .pot file * Updated dependencies * PHP v7.4.1 compatibility * WordPress v5.6.0 compatibility = Version 1.5.7 (16th October 2020) = * Tweak: Updated settings page widgets * Fix: Compatibility issue with third-party "Yet Another Related Posts Plugin (YARPP)" * Fix: Compatibility issue with third-party "Yasr – Yet Another Stars Rating" * WordPress v5.5.1 compatibility = Version 1.5.6 (18th August 2020) = * Fix: Function "affcoups_get_options" was not available in uninstall.php * Updated dependency "Meta Box" to latest v5.3.3 * WordPress v5.5 compatibility = Version 1.5.5 (21th December 2019) = * Fix: Hiding invalid and/or expired coupons didn't work as expected * WordPress v5.3.2 compatibility = Version 1.5.4 (17th December 2019) = * New: Added setting and shortcode attribute for hiding coupons which are not valid yet * New: Added "Credits" setting * Fix: Order by "valid until" didn't work properly * Fix: Escaping issue on settings page "Quick Start" guide * Updated dependency "Meta Box" to latest v5.2.4 * WordPress v5.3.1 compatibility = Version 1.5.3 (25th January 2019) = * Tweak: Optimized coupon code copy to clipboard handling * Fix: Coupon category and type metabox didn't show up in the sidebar of Gutenberg editor * Updated Clipboard.JS dependency to latest v2.0.4 * WordPress v5.0.3 compatibility = Version 1.5.2 (17th December 2018) = * Tweak: Enabled new Gutenberg editor for coupon posts * Updated Quickstart Guide * Updated dependency "Meta Box" to latest v4.15.9 * WordPress v5.0.1 compatibility = Version 1.5.1 (20th November 2018) = * Tweak: Setting a coupon "valid from" date now uses 23:59 as default time * Tweak: Optimized loading of plugin core files * Fix: Grid size wasn't taken properly from plugin settings * Updated .pot file and removed unneeded translation strings = Version 1.5.0 (11th November 2018) = * New: Redesigned & restructured settings page * New: Clipboard icon can now selected via settings (3 different icons and 2 colors are available to be chosen from) * New: Clipboard background & font colors can now be overwritten via settings * New: Added new button icon and 2 colors (black & white) * New: Added setting which allows you to hide coupon dates on the front end * Tweak: Removed third party plugin installation dependency * Tweak: Optimized coupons admin overview page * Tweak: Optimized templates & styles * Tweak: Added install & uninstall routines * WordPress v4.9.8 compatibility = Version 1.4.1 (18th June 2018) = * Tweak: Removed directly included metabox dependency and switched over to "TGM_Plugin_Activation" class instead * Tweak: Added fallback for "rwmb_meta" function * Fix: "Fatal error: Uncaught Error: Class 'RWMB_About' not found" = Version 1.3.2 (17th June 2018) = * Fix: Settings section headlines were not output correctly * Updated dependency "Meta Box" to latest v4.14.11 * WordPress v4.9.6 compatibility = Version 1.3.1 (28th April 2018) = * New: Overwrite coupon image with post thumbnail * Fix: Custom CSS output = Version 1.3.0 (24th April 2018) = * New: Added multiple coupons widget * Tweak: Security * WordPress v4.9.5 compatibility = Version 1.2.2 (30th November 2017) = * New: Added setting in order to adjust the default excerpt length * Tweak: Remove unwanted line breaks from shortcode output * Fix: "PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function affcoups_widget_text()" * WordPress v4.9.1 compatibility = Version 1.2.1 (28th November 2017) = * New: Added a brand new list template * New: Added a new widget for displaying a single coupon in your sidebar * New: Added new setting in order to customize button colors * New: Added new setting in order to customize discount ribbon colors * Tweak: When setting up a valid from/to date you are now able to choose as time as well * Tweak: Added type slug as class in templates in order to make it customizable * Tweak: Display recommended image size besides the image upload fields * Tweak: Tweaked shortcode previews inside admin area * Tweak: Adjusted default thumbnail size to 480*270px * Tweak: Optimized CSS in order to remove border from thumbnail link * Tweak: Updated plugin icons inside admin area * Fix: Expiring on the same day leads into now showing coupon * Fix: Custom CSS was not being outputted correctly on special pages (e.g. front page) * WordPress v4.9 compatibility * Updated dependency "Meta Box" to latest version 4.12.5 = Version 1.2.0 (7th November 2017) = * New: Added support for Google Accelerated Mobile (AMP) * Tweak: Enhanced CSS styles in order to display a grid with up to 10 columns * Tweak: Added prefixes to plugin related post types on admin export page * Fix: HTML and apostrophes inside link/image titles and alt tags lead into markup issues * Fix: Issue which was related to "term_taxonomy_id" while executing our coupon query * Fix: Thumbnail previews on manage coupons/vendors pages might be shown too big * Fix: Registering custom image sizes was accidentally loaded in admin area only * Updated plugin branding and links * Updated dependency "Meta Box" to latest version 4.12.4 = Version 1.1.3 (7th June 2017) = * Tweak: Optimize scripts loading * Tweak: Optimized CSS styles * Fix: Custom CSS not being inserted correctly * Minor improvements * Updated templates: grid.php, standard.php = Version 1.1.2 (3rd June 2017) = * New: Added shortcode preview to admin coupons overview page * New: Added shortcode preview to admin categories overview page * New: Added shortcode preview to admin types overview page * Fix: Since the latest update, thumbnail images didn't show up correctly * Fix: Admin vendors overview page showed incorrect shortcode preview = Version 1.1.1 (2nd June 2017) = * Tweak: Set default grid size back to 3 * Fix: Removed shortcode debugging :) = Version 1.1.0 (2nd June 2017) = * New: Display single coupons by id * New: Display coupons from a specific vendor * New: Sort coupons on a shortcode basis * New: Added more setting options (template, grid size, order, orderby, button text, button icon) * New: Button text can be overwritten via shortcode attribute "button_text" * Tweak: Added links to coupon thumbnails * Tweak: Optimized CSS styles * Tweak: Optimized scripts loading * Fix: Post types appeared in sitemaps and search results * Changed shortcode from "affcoups_coupons" to "affcoups" (added fallback for previous shortcode) = Version 1.0.1 (9th August 2016) = * Tweak: Optimized settings quickstart explanation for categories/types * Tweak: Made "Copied!" label translatable * Fix: Only 5 coupons appearing for a category * Fix: Fatal error: Can't use function return value in write context ... coupons-grid.php on line 48 = Version 1.0.0 (30th July 2016) = * Initial release == Upgrade Notice == = Version 1.6.0 (12th January 2021) = * Latest WordPress & PHP v7.4 compatibilities; refactored admin pages and frontend templates. = Version 1.5.5 (21th December 2019) = * Fix: Hiding invalid and/or expired coupons didn't work as expected * WordPress v5.3.2 compatibility = Version 1.5.4 (17th December 2019) = * New: Added setting and shortcode attribute for hiding coupons which are not valid yet * New: Added "Credits" setting * Fix: Order by "valid until" didn't work properly * Fix: Escaping issue on settings page "Quick Start" guide * Updated dependency "Meta Box" to latest v5.2.4 * WordPress v5.3.1 compatibility = Version 1.5.3 (25th January 2019) = * Tweak: Optimized coupon code copy to clipboard handling * Fix: Coupon category and type metabox didn't show up in the sidebar of Gutenberg editor * Updated Clipboard.JS dependency to latest v2.0.4 * WordPress v5.0.3 compatibility = Version 1.5.2 (17th December 2018) = * Tweak: Enabled new Gutenberg editor for coupon posts * Updated Quickstart Guide * Updated dependency "Meta Box" to latest v4.15.9 * WordPress v5.0.1 compatibility = Version 1.5.1 (20th November 2018) = * Tweak: Setting a coupon "valid from" date now uses 23:59 as default time * Tweak: Optimized loading of plugin core files * Fix: Grid size wasn't taken properly from plugin settings * Updated .pot file and removed unneeded translation strings = Version 1.5.0 (11th November 2018) = * New: Redesigned & restructured settings page * New: Clipboard icon can now selected via settings (3 different icons and 2 colors are available to be chosen from) * New: Clipboard background & font colors can now be overwritten via settings * New: Added new button icon and 2 colors (black & white) * New: Added setting which allows you to hide coupon dates on the front end * Tweak: Removed third party plugin installation dependency * Tweak: Optimized coupons admin overview page * Tweak: Optimized templates & styles * Tweak: Added install & uninstall routines * WordPress v4.9.8 compatibility = Version 1.4.1 (18th June 2018) = * Tweak: Removed directly included metabox dependency and switched over to "TGM_Plugin_Activation" class instead * Tweak: Added fallback for "rwmb_meta" function * Fix: "Fatal error: Uncaught Error: Class 'RWMB_About' not found" = Version 1.3.2 (17th June 2018) = * Fix: Settings section headlines were not output correctly * Updated dependency "Meta Box" to latest v4.14.11 * WordPress v4.9.6 compatibility = Version 1.3.1 (28th April 2018) = * New: Overwrite coupon image with post thumbnail * Fix: Custom CSS output = Version 1.3.0 (24th April 2018) = * New: Added multiple coupons widget * Tweak: Security * WordPress v4.9.5 compatibility = Version 1.2.2 (30th November 2017) = * New: Added setting in order to adjust the default excerpt length * Tweak: Remove unwanted line breaks from shortcode output * Fix: "PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function affcoups_widget_text()" * WordPress v4.9.1 compatibility = Version 1.2.1 (28th November 2017) = * New: Added a brand new list template * New: Added a new widget for displaying a single coupon in your sidebar * New: Added new setting in order to customize button colors * New: Added new setting in order to customize discount ribbon colors * Tweak: When setting up a valid from/to date you are now able to choose as time as well * Tweak: Added type slug as class in templates in order to make it customizable * Tweak: Display recommended image size besides the image upload fields * Tweak: Tweaked shortcode previews inside admin area * Tweak: Adjusted default thumbnail size to 480*270px * Tweak: Optimized CSS in order to remove border from thumbnail link * Tweak: Updated plugin icons inside admin area * Fix: Expiring on the same day leads into now showing coupon * Fix: Custom CSS was not being outputted correctly on special pages (e.g. front page) * WordPress v4.9 compatibility * Updated dependency "Meta Box" to latest version 4.12.5 = Version 1.2.0 (7th November 2017) = * New: Added support for Google Accelerated Mobile (AMP) * Tweak: Enhanced CSS styles in order to display a grid with up to 10 columns * Tweak: Added prefixes to plugin related post types on admin export page * Fix: HTML and apostrophes inside link/image titles and alt tags lead into markup issues * Fix: Issue which was related to "term_taxonomy_id" while executing our coupon query * Fix: Thumbnail previews on manage coupons/vendors pages might be shown too big * Fix: Registering custom image sizes was accidentally loaded in admin area only * Updated plugin branding and links * Updated dependency "Meta Box" to latest version 4.12.4 = Version 1.1.3 (7th June 2017) = * Tweak: Optimize scripts loading * Tweak: Optimized CSS styles * Fix: Custom CSS not being inserted correctly * Minor improvements * Updated templates: grid.php, standard.php = Version 1.1.2 (3rd June 2017) = * New: Added shortcode preview to admin coupons overview page * New: Added shortcode preview to admin categories overview page * New: Added shortcode preview to admin types overview page * Fix: Since the latest update, thumbnail images didn't show up correctly * Fix: Admin vendors overview page showed incorrect shortcode preview = Version 1.1.1 (2nd June 2017) = * Tweak: Set default grid size back to 3 * Fix: Removed shortcode debugging :) = Version 1.1.0 (2nd June 2017) = * New: Display single coupons by id * New: Display coupons from a specific vendor * New: Sort coupons on a shortcode basis * New: Added more setting options (template, grid size, order, orderby, button text, button icon) * New: Button text can be overwritten via shortcode attribute "button_text" * Tweak: Added links to coupon thumbnails * Tweak: Optimized CSS styles * Tweak: Optimized scripts loading * Fix: Post types appeared in sitemaps and search results * Changed shortcode from "affcoups_coupons" to "affcoups" (added fallback for previous shortcode) = Version 1.0.1 (9th August 2016) = * Tweak: Optimized settings quickstart explanation for categories/types * Tweak: Made "Copied!" label translatable * Fix: Only 5 coupons appearing for a category * Fix: Fatal error: Can't use function return value in write context ... coupons-grid.php on line 48 = Version 1.0.0 (30th July 2016) = * Initial release