This topic has 5 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Eva Kemp
Hi,
I have hade previous problems with this (et-registration.php problems) but it seems that some further changes have been made in the later versions of IDStore (not sure which version this stopped working with as it wasn’t tested) which now mean that the custom fields no longer add the data to the database.
Can you let me know what’s changed to stop the custom field data being added to the database please?
Many thanks,
Simon.
Hello,
You need also add custom fields to the file functions.php in line 537 the section “! Registration” in the directory wp-content/themes/idstore/code.
Regards,
Eva Kemp.
Ok, thanks. I think that the previous developer added this to the et-registration.php file which has since been overwritten with the updates. (it looks as though this moved from the et-registration.php file into the code/functions.php file?)
I’m assuming that I just need to add the fields as before using ‘add_user_meta’ inside the ‘et_register_action’ function which I can declare again indside the functions.php file of the child theme?
My assumptions were correct, I’ve declared the function again in the child theme functions.php file and added the additional custom fields to the function there. All working again now, thanks! 🙂
Hello,
You are welcome.
Regards,
Eva Kemp.
The issue related to '‘Custom Registration Fields in et-registration.php no longer adding to database’' has been successfully resolved, and the topic is now closed for further responses