How to use WordPress shortcode outside in your theme files

Simply use the do_shortcode() function anywhere in your theme file. The shortcode you want to use have to be given to the function as shown below:

That's all :)

Recipe initially published on CatsWhoCode.


View the original article here


This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.

0 comments:

Post a Comment