“Unlock the Future of Web Development: Discover the Hidden Powers of Headless WordPress!”
While it gives you more flexibility, it also means you must write a new component for every block you plan to use.
This is also where you should consider what data you need from WordPress. Some use cases may only require fetching posts, while others need menus, SEO data, and user information.
Contact forms or comment submissions may also need to be returned to WordPress via REST requests unless you plan to handle them differently.
Fetching data
On your WordPress site’s dashboard, head to the WPGraphQL area. You’ll see the GraphQL IDE, which is where you can start interfacing with WordPress via GraphQL.
Post Comment