Hello. One of my custom fields is expected to be for an image gallery. Ideally, I'd like to be able to use a 3rd party gallery plugin, which uses an embed code/shortcode & paste that into my custom field. However, when I preview the page, it displays the shortcode as text rather than display the gallery.
I've resorted to hardcoding it inside of the php page, which looks like this:
<h3 class="bodytext"><?php echo do_shortcode('[fancygallery id="1" album="1"]'); ?> </h3>
When used like this, it works as expected. However, I don't want my client to be responsible for going into editor to change this with every project.
Why does the gallery not show? Is there a php echo I could write in order for the custom field to intake a shortcode from another plugin? What are my options?