Home › Forums › Bug Reports › Options sub-page overwriting field values on other option sub-pages › Reply To: Options sub-page overwriting field values on other option sub-pages
Yea I thought about using the clone field prefixes to work around this, but thought I should report it here since it seemed like a bug to me.
I guess whether or not this is a bug is open to interpretation and Elliot will have to decide.
Personally I feel that an individual subpage should be treated uniquely from other sub pages. This might require that values from that subpage be retrieved a bit differently, like perhaps: the_field( ‘field_name’, ‘subpage-slug’ ), instead of the_field( ‘field_name’, ‘options’ ). Or maybe the_field( ‘field_name’, array( ‘options’, ‘subpage-slug’ ) ).
In the meantime I will work around this and leave it to Elliot and team to decide if this is a bug or a feature 😉
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.