Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on how to convert meta boxes to blocks #12621

Closed
forsvunnet opened this issue Dec 5, 2018 · 0 comments
Closed

Documentation on how to convert meta boxes to blocks #12621

forsvunnet opened this issue Dec 5, 2018 · 0 comments
Assignees
Labels
[Type] Developer Documentation Documentation for developers [Type] Enhancement A suggestion for improvement.

Comments

@forsvunnet
Copy link

forsvunnet commented Dec 5, 2018

According to the documentation we should use blocks instead of php meta boxes.

"porting PHP meta boxes to blocks is highly encouraged"

But there is no mention on how to do this.

I'm aware that you're able to save information from blocks to post_meta, as mentioned in this issue #7696. It would be great to see an example in the documentation on how to replace a simple meta box with a text field using gutenberg.

@designsimply designsimply added [Type] Enhancement A suggestion for improvement. [Type] Developer Documentation Documentation for developers labels Dec 5, 2018
@youknowriad youknowriad added this to the Documentation & Handbook milestone Jan 9, 2019
@mkaz mkaz self-assigned this Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Developer Documentation Documentation for developers [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants