Revision: 57505
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 29, 2012 21:47 by leeboyce
Initial Code
<?php echo apply_filters('the_content', get_post_meta($post->ID, 'your_custom_field_here', true)); ?>
Initial URL
http://leeboyce.co.uk
Initial Description
This snippet will enable you to add shortcode to a wordpress custom field. Normally wordpress does not run shortcodes that you put into a custom field. Just put this code into whatever page you are displaying the results of the shortcode, and change the 'your_custom_field_here' to the name of your custom field.
Initial Title
Execute Shortcode From Custom Field
Initial Tags
php
Initial Language
PHP