Home › Forums › Add-ons › Repeater Field › get_post_custom_values › Reply To: get_post_custom_values
Hello John
Lets move away from sub & repeater fields.
How about using basic text or url fields with the same key.
With WP fields, i could use 1 custom field to add 5 different values
get_post_meta( get_the_ID(), 'logos', true );
And then this to get all the values
$key = get_post_custom_values( 'logos' );
How do i do this with ACF text or URL fields?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.