How to use DataForm to create plugin settings pages #433
meszarosrob
started this conversation in
Topic Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The https://developer.wordpress.org/news/2024/03/how-to-use-wordpress-react-components-for-plugin-pages/ is (hopefully) a good intro for anybody who might want to use React for their plugin's settings page.
However, with recent developments in the https://developer.wordpress.org/block-editor/reference-guides/packages/packages-dataviews/, the creation of relatively simple settings pages could also be done using just the
DataForm.I think it would be educational to take the settings page of https://developer.wordpress.org/news/2024/03/how-to-use-wordpress-react-components-for-plugin-pages/ and show how that could be achieved using
DataForm.While there's an overlap with #412, that seems more focused on
DataViewsand its angle seems different.Still an early draft, but something like this: https://docs.google.com/document/d/1OWPnZGoKXfhc_AorN0zyexl1orXUsTzwHCEtkWsetmA/edit?usp=sharing
Beta Was this translation helpful? Give feedback.
All reactions