Description
QuachCMO Pure Affiliate is a powerful, lightweight plugin that provides everything you need to build a high-performance affiliate marketing website. It includes custom post types, advanced taxonomies, Gutenberg blocks, and shortcodes for managing coupons, deals, and affiliate partners professionally.
Whether you’re building an affiliate blog, coupon aggregator, or deals website, QuachCMO Pure Affiliate handles all the heavy lifting with optimized performance, built-in caching, and accessibility compliance.
Live Demo: https://lab.quachcmo.com/quachcmo-pure-affiliate/
Core Features
Custom Post Types & Taxonomies:
* Coupon custom post type with coupon codes, affiliate URLs, partner linkage, expiry date management, and featured deal support.
* Partner custom post type for affiliate stores with ratings, taglines, pricing information, and support details.
* Hierarchical coupon categories for organized content.
* Internal taxonomies for optimized filtering and performance.
Gutenberg Block Editor Integration:
* Coupon List Block — Display filtered coupons with category and partner filters.
* Top Deals Grid Block — Showcase featured coupons in a responsive card grid.
* Latest Coupons Block — Full coupon list with category tabs, filtering, and pagination.
* Partners Grid Block — Display partners in card layout or logo carousel with optional search.
* User Profile Block — Account dashboard with profile editing and saved deals management.
* All blocks use Server-Side Rendering for always-current data.
Advanced Functionality:
* Coupon Management — Coupon codes, affiliate URLs, expiry dates, working status verification, and featured offer support.
* Transient Caching — All database queries cached for 12 hours with automatic invalidation on content updates.
* AJAX Save Feature — Heart icon to save favorite coupons for logged-in users.
* Coupon Reveal Modal — Secure code display with one-click copy-to-clipboard functionality.
* User Profiles — Logged-in users can manage their account, bio, and view all saved deals in one place.
* Responsive Design — Mobile-optimized layouts that work on all devices.
Developer-Friendly:
* Fully internationalization-ready with .pot file for translations.
* WCAG 2.1 AA accessibility compliant with proper focus styles and ARIA labels.
* Clean, well-documented code following WordPress standards.
* REST API support for all custom post types.
* Extensible architecture with action and filter hooks.
* No external dependencies or bloatware.
Gutenberg Blocks (Server-Side Rendering)
All blocks use Server-Side Rendering for always-current, dynamically-generated content:
- Coupon List Block — Display filtered coupons by count, category slug, and/or partner. Includes responsive card layout with code reveal modal.
- Top Deals Grid Block — Showcase featured coupons marked as “Featured Offer” in a beautiful grid layout. Great for homepage hero sections.
- Latest Coupons Block — Full coupon list with interactive category filter tabs, pagination, and sorting. Includes save-to-profile feature.
- Partners Grid Block — Display affiliate partners in card format (with ratings and quick facts) or as a logo carousel. Optional live search functionality.
- User Profile Block — Account management dashboard showing profile info, email, bio, and all saved deals in organized list. Login redirect for non-authenticated users.
Block-specific features:
* Heading customization with optional icon (star, fire, gift, ticket, store).
* Spacing controls (margins and padding).
* Responsive breakpoints for all layouts.
* Accessible focus styles and ARIA labels.
Shortcodes (Classic Editor Support)
For WordPress installations using the classic editor or widget areas:
[quacpuaf_coupons count="5" category="deals" partner_id="123"]— Display coupon list filtered by category slug and/or partner post ID.[quacpuaf_top_deals count="4"]— Show featured coupons (“Featured Offer” label) in grid layout.[quacpuaf_latest_coupons count="10"]— Display all coupons with category filter tabs and pagination.[quacpuaf_partners count="-1" layout="grid" search="false"]— Partners in “grid” (cards) or “logos” (carousel). Set search=”true” for searchable partner grid.[quacpuaf_user_profile]— User dashboard. Shows login link for unauthenticated users.
Screenshots

Block Editor Interface — The Coupon List Block in the WordPress Block Editor with full inspector controls for filtering, spacing, and display options. Shows live block preview with settings panel on the right.

Top Deals Grid — Featured coupons displayed in a responsive grid layout on the frontend. Shows coupon cards with logos, titles, descriptions, and action buttons. Mobile-optimized with flexible columns.

Coupon Reveal Modal — The coupon code reveal popup showing code display, one-click copy-to-clipboard button, confirmation message, and “Visit Deal” link. Smooth overlay with proper focus management.

Partner Grid Layout — Affiliate partner showcase displaying cards with partner logos, ratings (with star visualization), taglines, excerpts, and action buttons to view deals or visit partner site.

User Profile Dashboard — Logged-in user dashboard showing account information, profile editing form, saved deals tab, and navigation between different profile sections. Shows empty state for users with no saved deals.
Blocks
This plugin provides 5 blocks.
- Top Deals Grid Display featured deals in a responsive grid layout.
- Latest Coupons Display the latest coupons with category filter tabs and pagination.
- Partners Grid Display affiliate partner stores in a grid or logo carousel.
- Coupon List Display a filterable list of affiliate coupons.
- User Profile Display the user profile page with saved deals and account info.
Installation
-
Download & Upload:
- Download the
quachcmo-pure-affiliateplugin folder. - Upload to
/wp-content/plugins/via FTP or WordPress admin panel. - OR Install directly from WordPress.org Plugin Directory (if available).
- Download the
-
Activate:
- Go to Plugins Installed Plugins in WordPress admin.
- Click Activate next to “QuachCMO Pure Affiliate”.
-
First Steps:
- Go to Coupons in the admin sidebar to create your first coupon.
- Create a Partner first (the affiliate store) before linking it to coupons.
- Use the Block Editor or shortcodes to display coupons and partners on pages.
-
Create a Profile Page (Optional):
- Go to Pages Add New.
- Add the
[quacpuaf_user_profile]shortcode or User Profile Block. - Publish as your user profile page URL.
FAQ
-
Does this plugin require a specific theme?
-
No! QuachCMO Pure Affiliate works with any WordPress theme:
– ✓ Block Themes (WordPress 5.9+) — Full compatibility with FSE and block theme features.
– ✓ Classic Themes — Works alongside any traditional theme.
– ✓ Page Builders — Compatible with Elementor, Divi, Beaver Builder, etc.The plugin provides its own responsive, mobile-friendly styling that integrates seamlessly with your theme.
-
How do I add coupons to a page?
-
Using Gutenberg (Block Editor):
1. Edit any page with the Block Editor.
2. Click the + button and search for “Pure Affiliate”.
3. Select any Pure Affiliate block (Coupon List, Top Deals, Latest Coupons, etc.).
4. Configure options in the right sidebar (count, category filter, spacing, etc.).
5. Publish the page.Using Shortcodes (Classic Editor):
Add shortcodes directly in page/post content or widget areas:
[quacpuaf_coupons count=”5″ category=”deals”] -
How do I link a coupon to a partner store?
-
- Go to Coupons Add New (or edit existing).
- In the Coupon / Deal Details meta box on the right, select a partner from Partner Store dropdown.
- This links the coupon to that affiliate store for organizational purposes.
You can also filter coupons by partner using:
[quacpuaf_coupons partner_id=”123″] (where 123 is the partner post ID) -
What happens when a user clicks “Show Code”?
-
- A Coupon Reveal Modal popup appears with the coupon code.
- The code is displayed in a copy-friendly text field.
- Clicking Copy button copies the code to clipboard (with “Copied!” confirmation).
- If “Auto-Open Link” is enabled, the affiliate URL opens in a new tab automatically.
This provides a smooth user experience while tracking affiliate links.
-
Can I set expiry dates on coupons?
-
Yes! For each coupon, you can:
1. Check Enable Expiry Date in the Coupon meta box.
2. Set a Start Date (coupon shows as “Not yet available” before this).
3. Set an End Date (coupon shows as “Expired” after this).
4. The expiry logic runs server-side, so it’s always accurate. -
Is performance/caching included?
-
Yes! QuachCMO Pure Affiliate includes built-in performance optimization:
– ✓ Transient Caching — All coupon/partner queries cached for 12 hours.
– ✓ Automatic Cache Invalidation — Cache clears automatically when any coupon/partner is created, updated, or deleted.
– ✓ No Slowdown — First load generates cache, subsequent loads are instant.
– ✓ Compatible — Works with WP Super Cache, W3 Total Cache, and all caching plugins. -
Can registered users save their favorite coupons?
-
Yes! Logged-in users can:
1. Click the Heart Icon on any coupon to save it.
2. Access all saved coupons in their User Profile ([quacpuaf_user_profile]).
3. View saved deals in a “Saved Deals” tab on the profile page.Non-logged-in users see a login prompt when clicking the heart icon.
-
How do I add the User Profile page?
-
Create a new page and add either:
– Block Editor: Search for “User Profile Block” and add it.
– Shortcode: Add[quacpuaf_user_profile].Non-authenticated users will see a login link. Logged-in users see their profile dashboard.
-
Do you provide translations?
-
Yes! QuachCMO Pure Affiliate is fully internationalization-ready:
– ✓ All strings use proper__()and_e()functions.
– ✓.potfile is included in/languages/for translator reference.
– ✓ You can contribute translations via the WordPress.org translation hub once the plugin is published.Current language: English (additional languages welcome from community)
-
What are the server requirements?
-
- WordPress: 6.3+
- PHP: 7.4+ (PHP 8.0+ recommended for best performance)
- Database: MySQL 5.7+ or MariaDB 10.2+
- Web Server: Apache, Nginx, or compatible
- SSL Certificate: Recommended (not required)
-
QuachCMO Pure Affiliate is a complete, standalone plugin with no premium upsells. All features are included:
– All 5 Gutenberg blocks
– All 5 shortcodes
– Full caching and performance
– User profiles and saved deals
– No recurring fees or upgrades needed -
How do I get support?
-
- Documentation: Visit QuachCMO Pure Affiliate Docs
- Support Forum: Once published, use the WordPress.org plugin support forum.
- Email Support: contact@quachcmo.com
-
Can I extend or customize the plugin?
-
Absolutely! QuachCMO Pure Affiliate is built for developers:
– ✓ Clean, well-documented code
– ✓ Extensive action and filter hooks
– ✓ Custom taxonomy support
– ✓ REST API endpoints for all post types
– ✓ Easy to build custom blocks or shortcodes on topSee documentation for code examples.
-
How do I uninstall QuachCMO Pure Affiliate?
-
- Go to Plugins Installed Plugins.
- Click Deactivate then Delete next to “QuachCMO Pure Affiliate”.
- Confirm deletion.
- Plugin options, transients, user saved-coupon preferences, and coupon/partner content (posts, categories, and their meta) will be permanently removed from the database.
Note: Uninstalling only removes plugin data — it does NOT affect WordPress core or other plugins. Please back up your database before uninstalling if you may want to restore coupon/partner content later.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“QuachCMO Pure Affiliate” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “QuachCMO Pure Affiliate” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Added pure-affiliate custom post types (Coupon, Partner).
- Implemented 5 Gutenberg blocks with SSR architecture.
- Premium responsive design with Outfit and Inter typography.
- Built-in star rating system and coupon reveal functionality.
- AJAX-based “Save Coupon” feature.
- SEO optimized structure and WCAG compliant accessibility focus states.
