I’m also wondering what to use in place of $post_id
when using save_post
with an options page.
I found the following on a question related to acf_form
and options
. Not sure if it applies, but I’m going to try it:
Just set the post_id param to ‘options’.
I found it on this post: Using acf_form with options plugin.
My understanding is that all options pages use the options
identifier, so I don’t know how you would distinguish between multiple options pages. Perhaps you could test for a unique field for each options page to determine which is which.
I will test using options
in place of $post_id
and let you know what I find.
I’m also having this issue. I initially set zoom to 17 (closer), but then changed it to 13 (further out). I have tried deleting the field and creating a new one with a different name, but it still stays zoomed in too close.
Not sure if it is stuck on my initial closer zoom setting or is just stuck on a close zoom.
On the backend (when editing the page) the preview map is zoomed properly according to my zoom setting.
It is the map that is rendered on the actual webpage that is zoomed in too closely.
Thank you for any help you can offer!
Wordpress 3.9.1
ACF 4.3.8
Options Page 1.2
Repeater Fields 1.1.1