<div class="nutritioncontainer">
<?php echo apply_filters('the_content', get_post_meta($post->ID, 'meta-textarea-nutrition', true)); ?>
</div>
<!--or-->
<?php echo do_shortcode(get_post_meta($post->ID, 'meta-textarea-nutrition', true)); ?>
This shows custom metabox field in page [shortcode in admin custom metabox field]
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.