Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Alex

    (@asterix)

    Got my answer in the GARD forums:

    <?php echo do_shortcode("[gard group='1']"); ?>

    for GARD Pro (sub in your group #), so I’m guessing this would work for the regular GARD tag:

    <?php echo do_shortcode("[gard]"); ?>

    Plugin Author The Plugin Factory

    (@the-plugin-factory)

    Correct, and thank you for posting this for everyone!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to insert into template file?’ is closed to new replies.