Created
November 15, 2012 23:03
-
-
Save Pleiades/4082164 to your computer and use it in GitHub Desktop.
How to execute shortcodes inside custom fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo apply_filters('the_content', get_post_meta($post->ID, 'your_custom_field_here', true)); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment