Hey @vansite,
With the free version, the one hosted here on the WordPress plugin directory, you cannot add custom fields to the registration forms.
For more information please contact us directly on our website here: https://slicewp.com/contact/
Considering these forums are only meant for the version of the plugin hosted here, I cannot offer you more information on the subject.
Thank you and best wishes,
Mihai
-
This reply was modified 4 years, 9 months ago by
iova.mihai.
Hi, thanks for the reply. Pretty sure I can add the custom field custom coding, however.
Hey @vansite,
This indeed can be done using the free version. Unfortunately, we don’t yet have a developer documentation, so I can’t help with an article explaining how to set it up.
If you’re comfortable with code, I recommend looking for the “slicewp_register_affiliate_fields” filter and adding a callback to it. The callback function will receive an array with all the fields.
The field should be set as an array, similar to this:
$fields[] = array(
'type' => 'text',
'id' => 'your-field-id',
'name' => 'your_field_name',
'label' => 'Label',
'is_required' => true,
'output_conditionals' => array( 'form' => array( 'affiliate_registration' ) )
);
Best wishes,
Mihai
Thanks! I will try it. Let’s see how it goes, hehe.