WordPress shortcode are extremely useful, but many people thinks you can’t use them outside of the editor, for example in your theme files. But you can, and it’s pretty easy. Just read this recipe to know how to do.
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:
View the Original article
0 comments:
Post a Comment