Last active
December 18, 2015 11:19
-
-
Save kjpro27/5774317 to your computer and use it in GitHub Desktop.
Execute a shortcode inside standard Wordpress custom field
This file contains hidden or 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