Support » Plugins » How to use Shortcode in a Custom Field

  • I’ve looked through the forums and the general consensus seems to be that this code should work:

    <?php if (get_post_meta($post->ID, 'VIDEO', true)) {
    echo do_shortcode(get_post_meta($post->ID, 'VIDEO', true));
    } else { }; ?>

    But all that shows up is the shortcode as plain text. Help please!

    Heres a link to the page:

    The video should have been above the slideshow.

  • The topic ‘How to use Shortcode in a Custom Field’ is closed to new replies.