Fetching Data From Wordpress Via Graphql And Building Frontend Forms
Fetching Data From Wordpress Via Graphql And Building Frontend Forms
At a glance
The community member in the post is interested in using WordPress GraphQL to fetch and display content, including native posts, pages, taxonomies, custom post types, and custom fields. They also inquire about building frontend forms for user registration, login, content submission, editing, and deletion.
In the comments, another community member suggests using Webstudio solely for fetching and displaying content, while having editors manage content within WordPress. If anonymous users need to submit forms, the community member recommends building a Webhook Form in Webstudio and catching the Webhook on WordPress, Zapier, or n8n.
So based on what I've read so far, I can easily fetch data from WP via GraphQL to display archives as well as single views of native posts, pages and taxonomies, as well as custom post types and custom fields, which is great.
How about frontend forms for user registration and login, content submission, editing and deletion? Is that something one could conveniently build as well?
I would use Webstudio solely for fetching and displaying content and have editors work within WordPress for managing content. If you need to let anonymous users submit forms then you can build a Webhook Form in Webstudio and catch that Webhook on WordPress (if possible) or zapier/n8n