I make websites for small businesses, which usually include job offerings, projects showcase and basic parts inventory.
Currently, my clients create and edit their job offerings/projects/parts in a “form” made with ACF pro and CPT UI. The resulting custom post can be seen on the corresponding page, but there is no preview available in the editor.
On the front-end, I display the custom posts with a “content-\[custom post type\].php” file that uses basic ACF functions like get\_field().
It works well but would like to offer a more “WYSIWYG” experience to my customers.
With Gutenberg, I’d like to show the custom posts in the editor like they look like in the front-end and be able to edit them directly, instead of using a “form”.
For example, if I want to edit a job offering, I can go on the job’s page, click edit, click on the job description and change it.
If I want to create a new job offering, the editor shows the page as it would appear on the front-end, with all the fields related to the job offering post type, but left blank.
I tried using patterns, but I have trouble understanding how I would use custom fields.
Thank you for reading, please leave your feedback if you have something to say and have a nice day 🙂
[ad_2]