Using video shortcode in 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: https://design-science.org.uk/the-sum-of-all-paths/
The video should have been above the slideshow.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using video shortcode in custom field’ is closed to new replies.