Need help with ACF
-
I’m having trouble understanding how to display content from Advanced Custom Fields. Here’s my example. I have a repeater field called Employees. The repeater fields under Employees are Name and Phone Number. Are name and phone number the sub-fields? If so is this correct:
[repeater field=”employees”]
[sub field=”name”]
[sub field=”phone_number”]
[sub field=”email_address”]
[/repeater]I’ve entered some data but it is just displaying a portion of the actual shortcode. What else do I need to do to display a list of employees that looks like this:
name phone number
name phone number
name phone numberBit of a noob here but I have successfully used your plugin to display content in loops. Thanks for your help.
The topic ‘Need help with ACF’ is closed to new replies.