This isn’t particularly a sage specific question but a general theme development workflow question.
When working with custom designs there are certain pages like Homepage, about-us and contact-us etc. pages which can’t be created in a template setup as they are very unqiue. These pages have very unique and specific content structure requirments. How do you save these contents so that client can edit as and when they want.
My Current Solution
- I create a custom post type
- Restrict its access to guest users.
- Add custom fields for different pages.
for example : I would make a post
about-usand conditionally add custom fields there which can be edited by the client. I use Toolset plugin to create them. I have seen a lot developers here use acf, and am open to switch given that it gives me better solution.
- When pulling data for
about-uspage I find a post by
about-usslug and then find the content.
Issues with this approach.
-> It doesn’t feel natural. If someone changes the slug to something else the data won’t be detected.
-> When going live I have to do re-work of database fields creation, which is a waste of my time. I hope acf can help me with this.
How do you manage these situtaion ? Are you using blocks ?