Developer Corner
WordPress plugin guide
AfroLink ships two WordPress plugins: Embed for simple widgets on regular sites and Partner for official partner directories, onboarding and reports.
Plugin downloads
Download the current public WordPress plugin releases and verify the file hashes before installing.
AfroLink Embed for WordPress
Adds AfroLink banners, profile cards, pricing, industry lists and signup blocks to a WordPress site.
- Version
- 1.0.0
- File size
- 36,395 bytes
- SHA-256 checksum
85ed50567cd20e7fcf3592fe94406e7abc47804b100b362718493214fe2247d6
- Required scopes
- read:partner-widget, read:profiles, read:banner, read:countries, read:industries, read:plans, create:partner-signups when signup forms are enabled
Keep API keys server-side. Do not place real keys in browser JavaScript, public documentation or source control.
AfroLink Partner for WordPress
Adds official partner directory pages, onboarding, pricing and attribution reports for WordPress.
- Version
- 1.0.0
- File size
- 29,967 bytes
- SHA-256 checksum
263ada660eb4ed8afdbd9878b98ccd1d5f276dedc47f3fa08498419c083f4557
- Required scopes
- read:partner-widget, read:profiles, read:banner, read:countries, read:industries, read:plans, create:partner-signups, read:partner-reports
Keep API keys server-side. Do not place real keys in browser JavaScript, public documentation or source control.
Install from WordPress admin by uploading the ZIP file, then configure the API base URL, partner slug and a server-side partner API key.
AfroLink Embed
Use Embed for recent profile cards, banners, pricing, industries and optional signup forms. It validates keys before saving, stores them encrypted, renders dynamic blocks server-side and registers sidebar widgets.
- Shortcodes, Gutenberg blocks and classic widgets are included.
- Elementor widgets register only when Elementor is active.
- Signup forms require create:partner-signups.
- Style modes: AfroLink default, minimal and theme controlled.
AfroLink Partner
Use Partner for official integrations that need a managed directory, profile detail route, signup/onboarding, pricing pages and attribution reports.
- The setup wizard maps or creates pages only after administrator confirmation.
- Directory and profile detail pages render server-side.
- Reports require read:partner-reports and do not expose sensitive visitor or signup data.
Embeds
Embed shortcodes can also be used inside page-builder shortcode modules.
[afrolink_profiles limit="6" layout="grid"]
[afrolink_banner placement="sidebar"]
[afrolink_pricing]
[afrolink_industries limit="12"]
[afrolink_signup]
[afrolink_partner_directory]
[afrolink_partner_pricing]
[afrolink_partner_signup]