wordpress / enabling shortcode in custom fields

<?php echo apply_filters('the_content', get_post_meta($post->ID, 'custom field name', true)); ?>
replace 'custom field name' with yours.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.