I’ve created a custom metabox using this example. When the admin-user enters a shortcode in my metabox, the shortcode displays on my front-end as plain text such as:

[menu]

How can I make sure WordPress parses the shortcode so an actual menu is outputted?

I’m using this in my page.php template to display the contents of my custom metabox:

echo get_post_meta( get_the_ID(), '_my_custom_meta_value_key', true );

Read more here: How to use shortcodes inside metaboxes in WordPress?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, ,

Wordpress related questions and answers: