You can let the Affiliates plugin generate an Affiliate Area page for you.
Go to Affiliates > Settings and press the Generate button.
You will find a new page titled Affiliate Area on your site.
The Affiliate Area includes a login form, an affiliate registration form, information about an affiliate’s performance and the affiliate’s link as well as a link to log out at the end of the page.
Now you can let your affiliates sign up directly from the Affiliate Area or start adding affiliates manually and provide them with affiliate links to your site.
The affiliate registration form also allows to specify a link to the terms and conditions page of your affiliate program, an example template document can be found here. See below how to do it using the shortcode attribute.
Affiliate registration form
If your affiliate program is open to practically anyone who wishes to join it, you will need to provide a form that your future affiliates can fill out and submit to join.
Affiliates provides two ways to do that. You can create a page and embed the form using a shortcode or you can use a widget.
Existing users are able to join the affiliate program using the form as well. Once logged in, they can submit the form and join.
If you do not want anyone to be able to join your affiliate program you can add affiliates manually to your site.
If you do allow visitors to join your affiliate program automatically, you can use either the shortcode or the widget.
Using the shortcode
If you choose to embed your affiliate registration form on a page you need to use the shortcode:
This shortcode provides the following fields: first_name, last_name, user_name, user_email, password and any further field previously created. See the Settings > Registration > Registration Form.
A precondition for the affiliate registration forms to be accessible for visitors is that your site allows them to register. If registration is not allowed, you will see a message saying Registration is currently closed or something similar.
In that case you need to go to Affiliates > Settings, tick the checkbox under Affiliate Registration that says Allow affiliate registration and hit Save.
Recommendation: Instead of using the attributes below, use the shortcodes which provide a much more flexible way to handle redirection and how the registration/login is presented to visitors.
The shortcode allows the use of the following attributes:
is_widget: Must be set to true if the shortcode is used in a widget. default: false
registered_profile_link_text: Profile link text to be displayed for registered users after signing up for the affiliate program.
registered_profile_link_url: Profile Link for registered users after signing up for the affiliate program.
redirect: Whether to redirect after registration. default: false
redirect_to: Redirection URL.
terms_post_id: ID of the post with affiliate terms and conditions.
Normally affiliates are required to accept the terms and conditions of your affiliate program. Example:
1) Create a page that details the terms and conditions.
2) Assuming your terms and conditions page has an ID of 10.
3) Use the following shortcode to embed the registration form outlining the terms and conditions on that page:
[affiliates_registration terms_post_id="10" /]
Using the Affiliates Registration Widget
Go to Appearance > Widgets and drag the Affiliates Registration widget to a sidebar of your choice.
This widget also allows to include the terms and conditions of your affiliate program:
1) Create a page that details these.
2) Write part of the title of that page or the post ID in the widget’s field titled Terms Page or Post ID and press Enter.
3) Write a title for your registration form if desired.
4) Hit the Save button and this page will be referenced when the affiliate registration widget is displayed.
Note that only one registration form will be active.
If you are not familiar with the usage of shortcodes, it also is a good example of how to use them.
You can edit the page and adjust it according to your preferences. Please refer to the shortcodes documentation.