Posted By

primitiveshaun on 01/31/11


Tagged

php wordpress


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

virendrakryadav
Almaz
dima7b


Add WP Shortcode to Templates


 / Published in: PHP
 

Inserts WordPress shortcode outside the loop in a template

  1. <?php echo do_shortcode('[shortcode option1="value1" option2="value2"]'); ?>

Report this snippet  

You need to login to post a comment.