Wouldn’t it be easier to have a global slider option instead of setting this for every post? You could use a repeater field to add new post_id’s to your slider and make this field visible within the option page. The only thing to code would be a populate_field filter to provide all avaible posts for the slider settings.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Clients need flexibility. Developers need a repeatable workflow that doesn’t have a steep learning curve. See how digital marketing agency Noiza found both with Advanced Custom Fields in our latest case study.https://t.co/BxQAy6COJt