Skip to content

Instantly share code, notes, and snippets.

@Pleiades
Created November 15, 2012 23:03
Show Gist options
  • Save Pleiades/4082164 to your computer and use it in GitHub Desktop.
Save Pleiades/4082164 to your computer and use it in GitHub Desktop.
How to execute shortcodes inside custom fields
<?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