Shortcodes
The plugin ships two shortcodes: one renders the signup form, the other renders the affiliate dashboard. This tab is where you rename them and set what the signup page shows.
Open Shortcode settings
Section titled “Open Shortcode settings”Go to DevDiggers Plugins → Affiliates → Configuration → Shortcodes.

The registration and dashboard shortcodes
Section titled “The registration and dashboard shortcodes”Affiliate Registration Form Shortcode defaults to
[ddwcaf_affiliate_registration_form_shortcode]. Put it on any page to render the signup form.

Affiliate Dashboard Shortcode defaults to [ddwcaf_affiliate_dashboard_shortcode]. Activation
already put this one on the Affiliate Dashboard page it created.

Both fields let you rename the shortcode. Only do that if the default name clashes with another plugin. Renaming a shortcode does not update pages already using the old one, so you have to edit every page that uses it.
Registration Page Content
Section titled “Registration Page Content”Registration Page Content decides what the registration shortcode renders for a logged-out visitor.

- Display Login + Registration Form shows both side by side. This is the default and the right choice for a dedicated affiliate landing page, since returning affiliates need somewhere to log in.
- Display Registration Form Only shows the signup form alone. Use it when you already have a login link elsewhere on the page.
The setting only affects logged-out visitors. A logged-in customer who is not yet an affiliate always sees the short join form asking for the extra affiliate fields, whichever option is set.

Leaderboard Shortcode
Section titled “Leaderboard Shortcode”A public ranking of your top earning affiliates. This tab holds only the shortcode string. Switching the board on, how many affiliates it lists, privacy and its look all live in the Affiliate Leaderboard section of General Settings.
Leaderboard Shortcode defaults to [ddwcaf_affiliate_leaderboard_shortcode]. It takes three
attributes:
limitoverrides how many affiliates this placement lists.dayslimits the board to commissions earned in the last N days.titleprints a heading above the board.
[ddwcaf_affiliate_leaderboard_shortcode limit="5" days="30" title="Top performers this month"]The board counts commissions that are not cancelled, refunded, flagged or rejected, ordered by total commission, and it only lists affiliates who have earned something. A store with no commissions yet renders a short line saying the first sale takes the top spot.
What each shortcode renders
Section titled “What each shortcode renders”The registration shortcode renders one of three things, depending on who is looking.
| Visitor | What they see |
|---|---|
| Logged out | Login form, signup form, or both |
| Logged in, not an affiliate | The join form with the affiliate fields only |
| Logged in, already an affiliate | Nothing to sign up for |
The leaderboard shortcode renders the same board for everyone, with names masked unless Privacy is off or the viewer is looking at their own row.
The dashboard shortcode renders the full affiliate dashboard for an approved affiliate, and the signup form for anyone who is not one yet. That is why one page can serve as both the signup page and the dashboard.
Where to go next
Section titled “Where to go next”- How to Create the Affiliate Signup Page for the full build.
- Registration Fields to change what the signup form asks for.
- How to Add an Affiliate Leaderboard for the board start to finish.

