Home › Forums › Backend Issues (wp-admin) › Can't update options page repeater image › Reply To: Can't update options page repeater image
In your OP you said that this is for an options page. If this is the case then I missed something in your code that is pretty important. You need to use the value of 'option'
for the post id.
<?php if( have_rows('social', 'option') ): ?>
<?php while( have_rows('social', 'option') ):
// the rest of your code here
For more information on getting values from options pages see this page http://www.advancedcustomfields.com/resources/get-values-from-an-options-page/ it includes an example on repeater sub 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.