1

I have problem in API & CMB2 WP plugin

I want to repeat images in slide but api get data as one field

attached photo

Plugin : CMB2, JSON API

https://i.stack.imgur.com/seFsx.jpg

1

Consider using the CMB2 API.

<SITE_URL>/wp-json/cmb2/v1/boxes/<METABOX_ID>/fields/PhotoGalleryGroup?object_id=<POST_ID>&object_type=post

You will need to enable the API feature for your box/fields. Documentation for that is in the wiki.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.