ACF User Repeater Fields on a Custom User Profile page in Oxygen
This members-only tutorial provides the steps to display the sub fields of a repeater field set to appear on user profile pages in a custom Welcome Page for logged in users when using Oxygen.
Step 1
Install and activate ACF Pro.
Step 2
Custom Fields → Add New.
Create a new field group having a Repeater field with your desired sub fields.
Choose a appropriate location (under User
) where this group should appear.
Sample:
Step 3
Get the field group populated either by the users or you, as the admin.
The fields should be visible both at the time of creating new users as well as editing existing ones.
Step 4
Let us add a code snippet to redirect admins to the dashboard and other users to /welcome when they log in.
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: Redirect admins to the dashboard and other users to /welcome
Code:
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $599 one-time).
Already a member? Log in below or here.