WordPress Guide

Install The Plugin Like A Normal WordPress Admin

This plugin is meant for a site admin who can upload plugins and edit pages. You do not need to edit PHP.

Step By Step

  1. Download the plugin zip from the Affiliate Downloads page.
  2. In WordPress, open Plugins > Add New > Upload Plugin.
  3. Select the zip file, click Install Now, then click Activate.
  4. Open Settings > DiPetrillo Affiliate.
  5. Paste your Affiliate Site URL as https://example.com, then paste your API Key and save.
  6. Create or edit the page where you want the form.
  7. Add a Shortcode block and paste [dp_affiliate_lead_form].
  8. Publish the page and submit one test lead.

What You Need

A WordPress admin account that can install plugins.

Your Affiliate Site URL, for example https://example.com, and your API Key.

What The Plugin Does

Stores your key in WordPress settings instead of a PHP file.

Loads case types from the affiliate API.

Submits leads server-side so the API key stays private.