When is use de metabox 'type' => 'wysiwyg in the admin i can make a gallery ([gallery ids="52,43,42"]) and de editor shows de gallery. But on the front i see only de code [gallery ids="52,43,42"] and not de images.
How can i fix this.
The rwmb_meta only returns the raw value of the field. It does not parse any shortcode or apply formats by default. In your case, you can make it parse shortcodes by:
echo do_shortcode( rwmb_meta( 'field_id' ) );
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘No Gallery 'type' => 'wysiwyg'’ is closed to new replies.