I am doing my website with two items — the headless CMS on a subdomain the place content material is entered, and the basis area the place I show information. Solely WP is put in within the subdomain, not the basis area. Within the subdomain, I created a customized put up kind referred to as Employees, after which gadgets inside are a Member. I observed that I can not use the URL…
https://instance.com/wp-json/wp/v2/posts
…to learn these things. Trying within the docs, I see that I can tackle it as…
https://instance.com/wp-json/wp/v2/employees
Once I use /employees, it reveals me the core put up fields, however not any of the customized subject teams. (Word, I am utilizing the Customized Publish Sorts plugin from TotalPress.org.)
How do I get a given employees member’s customized subject properties on their report? I can entry somebody akin to:
https://instance.com/wp-json/wp/v2/employees/john-smith
…however there aren’t any customized fields in there that I hooked up to this report.