Hey @khaleds,
Are you working on this locally by chance? If you’re not you could copy the site using a plugin like All In One Migration and use something like Local By Flywheel to quickly replicate for testing.
Either way, you should try to turn on debugging so we can see if there are any errors being thrown by the code when its attempting to get those meta values.
You can turn on debugging by using this reference:
Debugging in WordPress
Let me know if that helps turn anything up!
Cheers,
Freddie
Hi
I’m facing the same issue. When calling the CPT with e.g. /wp-json/wp/v2/worship_speaker/?per_page=1&page=6 then I see e.g. a custom field ‘area’ with the correct value, but when I instead call /wp-json/wp/v2/worship_speaker/?per_page=1&page=6&_fields=area, then I see the field, but the value is always NULL.
Suggestions?
Plugin Contributor
Tracy Levesque
(@liljimmi)
🏳️🌈 YIKES, Inc. Co-Owner
Hello @khaleds,
We haven’t heard back from you in a while so I am going to close out this ticket.
If you need more help, please reopen it and we will be happy to help you.
Thank you!
-Tracy