WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin : Grunion Contact Form] using the shortcode in template ? (1 post)

  1. Dunkkan
    Member
    Posted 5 years ago #

    Hello guys,

    I've been trying to set the [contact-form] shortcode in the loop, just to avoid my client must write it everytime in the posts editor, but with no succes.

    Does anybody knows how to implement the shortcode in the template ?
    I've been able to print it, but it seems its 'send me e-mail' functions are not working anymore, using this code :

    <?php
    $text = contact_form_shortcode('[contact-form]');
    echo $text;
    ?>

    Thanks in advance for any comment.

Topic Closed

This topic has been closed to new replies.

About this Topic