I have a gallery plugin, and when I put the shortcode for my gallery in an WYSIWYG editor, it works fine. But I want the editor to only put in a shortcode (nothing else), so I would like to use a text field so a user can only enter the shortcode.
I did that, but how would I display that on my page now? Simply going:
<?php the_field(‘cf_custom_gallery’); ?>
is not working for me. (where cf_custom_gallery is the name of my text input field)
Anyone know how to display it, or another way to approach this?