[Resolved] Display gallery from pod item WYSIWYG field in wp template
I have an ACT pod item with a WYSIWYG field so that the admin can insert a gallery of images.
I use the code at MondayByNoon to call the pod item onto my WP page template. Everthing loads fine except the image gallery from the WYSIWYG field which renders on the front end as the wordpress short code: [gallery ids="12"]
I tried using a data cleanup like you would for displaying a single photo but got a php error “Cannot use string offset as an array in… [line number of data clean up]’
// data cleanup $services_photo = $services_photo['guid'];
- The topic ‘[Resolved] Display gallery from pod item WYSIWYG field in wp template’ is closed to new replies.