Support

Account

Home Forums Front-end Issues LightBox images in custom content field Reply To: LightBox images in custom content field

  • Hi @elliot, this solution didn’t work in my situation, unfortunately.

      <?PHP
        $content = get_field('wysiwyg', false, false);
        echo apply_filters('the_content', $content);
       ?>

    It destroys the output of the wysiwyg, displaying nothing.

    I have the plugin Simple Lightbox installed, which I want to use for the gallery’s lightbox.

    Previously, I was using:

      <?PHP
         the_sub_field('wysiwyg');
       ?>

    To output the wysiwyg normally.

    Help appreciated.
    Steve