A set of blocks for use within the new WordPress editor
Note: The features of this add-on have been included directly within AffiliateWP. If you have this add-on installed, you can safely deactivate it and everything will work as normal.
This add-on for AffiliateWP provides 10 blocks, one for each of AffiliateWP’s shortcodes.
Affiliate Registration block
The Affiliate Registration block displays an affiliate registration form on your website, allowing users to register as affiliates.
An optional URL where affiliates are redirected to after completing their application can also be configured.
Similarly to the Affiliate Registration shortcode, the form will change depending on AffiliateWP’s settings.
- If the password fields are not required, the password fields will not show on the form (or within the editor view)
- If “Allow Affiliate Registration” is not enabled, the form will still show within the editor but will display a notice in the block’s settings.
- The form however will not be displayed on the front-end of your website.
Affiliate Login block
The Affiliate Login block displays an affiliate login form on your website, allowing affiliates to login and view their Affiliate Area. An optional URL where affiliates are redirected to after login can also be configured.
Affiliate Area block
The Affiliate Area block displays an affiliate login form and an affiliate registration form for users on your website. If AffiliateWP’s “Allow Affiliate Registration” option is not enabled, only the login form will show.
Similarly to the Affiliate Area shortcode, the form(s) shown are configured via AffiliateWP’s “Affiliate Area Forms” setting.
Affiliate Referral URL block
The Affiliate Referral URL block displays an affiliate’s referral URL on your website. When a logged in (and active) affiliate views the page, they will see their own unique referral URL to share.
When viewed from within the WordPress editor, the user configuring the block can select between the affiliate’s ID or username, show pretty affiliate URLs, set a custom URL, or use the default options configured from AffiliateWP’s settings. If the user happens to also be an affiliate, they will be shown a real preview of their own affiliate ID or username.
Affiliate Creative block
The Affiliate Creative block displays a single creative on your website. The selected creative will only be visible to a logged in (and active) affiliate.
Affiliate Creatives block
The Affiliate Creatives block displays all of the creatives on your website. The creatives will only be visible to a logged in (and active) affiliate.
The user configuring the block can set the number of creatives to show (default is 20) and toggle the display the image/text preview.
Opt-In Form block
The Opt-in Form block displays an opt-in form on your website which integrates with either Mailchimp, ActiveCampaign or ConvertKit. An optional URL where affiliates are redirected to after opt-in can also be configured.
Affiliate Content block
The Affiliate Content block makes any block placed inside it only visible to a logged-in (and active) affiliate.
Non Affiliate Content block
The Non Affiliate Content block makes any block placed inside it only visible to non-affiliates.
Affiliate Conversion Script block
The Affiliate Conversion Script block can be placed on your website’s “success” page. When a user arrives on the website via an affiliate link, and makes it through to this page via the checkout, signup form, or any other conversion process, a referral is created for the tracked affiliate.