Combing do_shortcode & get_post_meta?
-
Is it possible to combine these two elements?
For example i have a custom meta element where you input the address for the embedded video showing in the short code…
<?php echo do_shortcode('[iframe_loader src="video address" width="400" height="250" frameborder="0"]'); ?> <?php echo get_post_meta($post->ID, 'video address',true); ?>
Obviously i cannot just put the get_post in the space…
Is it possible?
- The topic ‘Combing do_shortcode & get_post_meta?’ is closed to new replies.