How to use WordPress shortcodes in themes-/templates

Snippets WordPress

This snippet will allow you to insert WordPress shortcodes into your theme-/templates – using WordPress built-in function do_shortcode()

Add this code your theme files where you want the shortcode content to be run.

Leave a Reply

Your email address will not be published. Required fields are marked *