No Gallery 'type' => 'wysiwyg'

Support General No Gallery 'type' => 'wysiwyg'

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1602
    scherjonscherjon
    Participant

    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.

    Max

    #1610
    Anh TranAnh Tran
    Keymaster

    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' ) );

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘No Gallery 'type' => 'wysiwyg'’ is closed to new replies.