I just spent an hour or two trying to get one my custom fields to show at the user profile page (wp-admin/profile.php), but so far without any luck.
Since it doesn’t seem to be a standard feature, I figure I need to use custom location rules (http://www.advancedcustomfields.com/resources/tutorials/custom-location-rules/) to get it going.. But I have no idea how to build it.
I’m guessing that somehow I need to add it as an action to the edit_user_profile, but guessing doesn’t get my that far.. Who can point me in the right direction? 🙂
Hi!
There is already the possibility to add fields to the profile page..Check your location rules for “user” and set the user role..
Then to output them you have to set the second parameter to user_<userID>
Hi @wdekreij
Location rules already exist for the user profile pages. Please not, currently this only works in the backend of WP, not any front end registration forms.
You can find docs here:
http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-a-user/
Thanks
E