Quick Links

We are super excited to finally announce the launch of Neat Affiliate Links v1.2; a fairly lightweight WordPress plugin created to allow easy affiliate marketing. Weighing a scant 2.4 kB, the plugin allows bloggers, marketers, and site owners to use powerful tools to control affiliate links efficiently.

Download

Neat Affiliate Links v1.2 • Version 1.2 • 3.94 kB • 12906 Downloads

Specifications

  • Plugin Name: Neat Affiliate Links
  • Version: 1.2
  • File Size: ~2.4 kB
  • Requires: WordPress 5.0 or higher, PHP 7.0 or higher
  • Tested Up To: WordPress 6.6
  • Custom Post Type: affiliate_link
    • Supports: Title only
    • Public: Yes
    • Menu Position: Bottom of the admin menu (position 100)
    • Rewrite Slug: Customizable (default: out)
  • Custom Taxonomy: affiliate_category
    • Hierarchical: Yes
    • Admin Column: Yes
    • Rewrite Slug: affiliate-category
  • Meta Fields:
    • _nal_affiliate_url: Stores the destination URL
    • _nal_click_count: Tracks the number of clicks
  • Settings:
    • Option: nal_affiliate_slug (default: out)
    • Sanitization: Ensures lowercase, valid slug characters
  • Redirects: 307 Temporary Redirect
  • SEO Headers: X-Robots-Tag: noindex, nofollow
  • Dependencies: None (pure WordPress core functionality)
  • Codebase: Clean, follows WordPress coding standards
  • Security:
    • Nonce verification for meta box saves
    • Sanitized inputs for URLs and slugs
    • Direct access prevention (ABSPATH check)

The plugin is built to be developer-friendly, with clear function names (prefixed with nal_) and hooks for extensibility. It uses WordPress core functions like register_post_type, register_taxonomy, and wp_redirect for reliability.

Need Custom Features?

I create my plugins with minimal, clean code in mind. Neat Affiliate Links is built to deliver a simple, powerful solution right out of the box. It includes all the basic yet essential features you need to get started with affiliate link management – without any bloat.

If you value lightweight code and streamlined performance, this plugin is designed for you. However, if you need additional features or customizations, feel free to contact me with your specifications at dev@neatwp.com.