I have a posttype called “Events” where the posts are edited via Blocks in Gutenberg.
If i create a “Event end date” in a block it is not saved in post_meta so i can not make a query based on its value.
And if i create a new field group and set position to “Side”, the field is displayed in a meta box that is located in the bottom of the sidebar and it doesn´t look good.
Does anyone have a solution to this?
I found a guide for creating custom meta-boxes https://developer.wordpress.org/block-editor/how-to-guides/metabox/#step-1-register-meta-field, but it would be nice to be able to use ACF to administer the fields.
This has been an open issue for more than 4 years. https://github.com/AdvancedCustomFields/acf/issues/83
For one of my own project I created this workaround: https://github.com/AdvancedCustomFields/acf/issues/83#issuecomment-629553379
Meanwhile, someone else seemed to have made it a bit more error proof: https://github.com/AdvancedCustomFields/acf/issues/83#issuecomment-818614596 but I haven’t tested this one.