-
Notifications
You must be signed in to change notification settings - Fork 4
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
Set up headless Wordpress CMS #37
Comments
Branch issue-37-Set_up_headless_Wordpress_CMS created! |
For now I've just set up the default Wordpress REST API and not wpgraphql. We'll see if that needs to be changed when we get around to trying to integrate with the frontend. |
I'm a bit uncertain about what the final outcome of this issue should be. I have two questions: |
The motivation for this issue is that the client needs a way to easily edit the content of the website. In a standard Next.js website, there's no easy way to do this (short of editing the code itself and redeploying). The current site is built in WordPress, so the client has some experience updating content through this interface so I think it'd be good to use WordPress as a CMS for our version as well. So, this issue revolves around essentially implementing WordPress into the site such that content is fetched from the WordPress database and can be easily updated via the WordPress admin UI. So, in short:
Right now WordPress has already been set up on this branch, it's now a matter of integrating it with the frontend. Frontend pages should pull content from the WordPress database using the WordPress REST API. Once you have some examples of this working, write some documentation for how to do it so others can do it as well. I'll try show you in person tomorrow so it'll hopefully be a bit easier to understand. @sersangn has also already been working on this issue a little bit, so I'll make sure you find each other and are able to work together on the issue. |
Thanks for the explanation. I've got it now and am ready to proceed. Looking forward to discussing it further tomorrow!😊 |
A potentially useful plugin that would make it more convenient to edit things in WordPress: |
Basic Information
Set up a headless Wordpress CMS backend so that the client can easily edit the content. Useful information here.
Rough task list:
Other Information
The text was updated successfully, but these errors were encountered: