How to display shortcode in wordpress template?

startup, start-up, notebooks

You have a shortcode for a plugin and you want it to display in a WordPress template file. Nothing easier here is how to do it with a simple function. You just need to replace “[shortcode]” with the shortcode that you want to display and the job is done.


echo do_shortcode( '[shortcode]' );


You can use the comment box below if you have any questions.

Leave a Comment

Your email address will not be published.

Scroll to Top

Choose your language