Execute Shortcode From Custom Field

/ Published in: PHP
Save to your folder(s)

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.

URL: http://leeboyce.co.uk

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.