I was trying to setup a scenario to export posts and some custom fields in this posts. Therefore I installed wordpress plugin integromat connector and set up a connection with the API-Key of the plugin and the wordpress site (https.//domain.com/wp-json).
I checkmarked the Custom API fields I want to export from wordpress.
And because its about a custom post type, calles “sprecher”, I added this code in the functions.php:
I was only searching for public posts in this “sprecher”-post-type, but when I run the module, the search is empty, although there are several public posts.
I was changing the code in the functions.php, but the custom post types were in a separate php of one plugin I use… So I changed some things there. When I put in the ‘supports’-row of code, the website breaks down… So I just put in the ‘show_in_rest’-code.
Anyway: Now I can now see that ALL information is taken BUT I can only export some of it. In the next module (airtable) not all fields are shown …
I checked all relevant fields in the Connector, but I can not see them in the scenario ??! For example the speaker-bio…
This is for a non-queriable CPT that tracks professional bets,
and doesn’t (to the user) treat each one as a separate post.
But as items that populate a page.
Question before we continue
Is this for a one time data transfer,
(such as say a partial site migration when you want to spinoff a section of a site as its own entity)
or is this for a recurring automation?
sometimes you need to save the scenario, and reload it, before redetermining data structure, for it to be picked up by other modules. when source data structure changes.
Had one more thought, I just reviewed my own tickets with the make support team.
I have had issues in the past where nesting CPTs as child menu objects (in a submenu)