How To Read Read Custom Post Type Data in Headless CMS Mode


I’m doing my site with two pieces — the headless CMS on a subdomain where content is entered, and the root domain where I display data. Only WP is installed in the subdomain, not the root domain. In the subdomain, I created a custom post type called Staff, and then items inside are a Member. I noticed that I can’t use the URL…


…to read these items. Looking in the docs, I see that I can address it as…

When I use /staff, it shows me the core post fields, but not any of the custom field groups. (Note, I’m using the Custom Post Types plugin from

How do I get a given staff member’s custom field properties on their record? I can access someone such as:

…but there are no custom fields in there that I attached to this record.

Volomike 1 year 2021-09-12T18:50:05-05:00 0 Answers 0 views 0

Leave an answer