wordpress

how to insert any short code into template in wordpress

Inserting a gallery into a template

You can insert any shortcode for any plugin into a template using the following (enclosed in standard PHP tags):

echo do_shortcode('[shortcode option1="value1" option2="value2"]');

Advertisements