=== SlipMgr Affiliate Network ===
Contributors: karl kiebel
Tags: marina, boating, booking, affiliate, directory
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 3.4.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Turn your boating blog or website into a marina booking engine. Display a beautiful map search and earn commissions on slip bookings.

== Description ==

**Monetize Your Boating Traffic**

The SlipMgr Affiliate Network plugin allows any WordPress site to display a professional "Find a Slip" search engine. 

If you run a boating blog, a local guide, or a marine service website, you can now offer real utility to your visitors. Instead of sending them away to find dockage, let them search directly on your site.

**Features:**

*   **Global Inventory:** instantly connects to the SlipMgr Directory of marinas.
*   **Interactive Map:** Built-in Leaflet map shows marinas, amenities, and pricing.
*   **Seamless Booking:** Visitors can inquire and book slips without leaving your page.
*   **Zero Maintenance:** You don't need to manage the marinas. Availability is synced automatically from the marinas' own systems.

**How it Works:**

1.  Sign up for an Affiliate ID at [SlipMgr.com](https://slipmgr.com/affiliates).
2.  Install this plugin.
3.  Enter your Affiliate ID in the settings.
4.  Place the shortcode `[slipmgr_affiliate_search]` on any page.
5.  When a visitor books a slip, the system tracks it to your ID.

== Installation ==

1.  Upload the plugin files to the `/wp-content/plugins/slipmgr-affiliate` directory, or install the plugin through the WordPress plugins screen directly.
2.  Activate the plugin through the 'Plugins' screen in WordPress.
3.  Navigate to **Settings -> SlipMgr Affiliate** to enter your Affiliate ID.
4.  Add the `[slipmgr_affiliate_search]` shortcode to a page to display the search engine.

== Frequently Asked Questions ==

= Do I need to own a marina to use this? =
No! This plugin is designed for content creators, bloggers, and marine businesses who want to *display* marinas and earn referrals.

= How do I get paid? =
You must register for an Affiliate account at SlipMgr.com. Payouts are processed monthly via PayPal for all completed bookings generated from your site.

= Can I filter the map to show only my local area? =
Yes. The search engine automatically centers based on the user's location, but you can also provide default coordinates via shortcode attributes.

== Screenshots ==

1. The search interface with map and list view.
2. The booking modal where users enter boat details.
3. The settings page for your Affiliate ID.

== Changelog ==

= 1.2.1 =
*   Fixed Restricted Term issue with plugin slug.
*   Added sanitization to settings.

= 1.0.0 =
*   Initial release.