Home › Forums › Backend Issues (wp-admin) › Searching saved options fields › Reply To: Searching saved options fields
Options are not save, by default, to any post type and are saved in the options table. It is impossible to search for “options pages” using the default save location. This is because an options value not associated with a “post”. Also, if you have multiple options pages and they all have the same fields/field names, then all of the values for all options pages will have the same value. field names for options pages must be unique.
If you want to be able to have multiple options pages with the same fields then the first step is probably to set up a custom post type where the values will be stored and use the ‘post_id’ argument to set specific post ID in your custom post type for the save location of the values https://www.advancedcustomfields.com/resources/acf_add_options_page/
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.