Category: Web Development

0

WordPress: Shortcodes in Theme Files

The following code will enable you to use any shortcode within your theme and not just a page or post.

Just replace the [shortcode option1=”value1″ option2=”value2″] with your desired shortcode.