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.
- The topic ‘[Plugin : Grunion Contact Form] using the shortcode in template ?’ is closed to new replies.