• Hello all,

    I have a site, with a page called ‘contact’, that uses the template file page-contact.php

    On this page, I have a divbox where I would like the contactform to go. But how do I do this? Is there a plugin, that you can use on a template file? I’d be thankfull if anyone could point me to it. I searched, but could not find it!

    to sum up: contactform plugin, in a divbox on a template file. Can anyone help me find one?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dagon Design Formailer is a good plugin but doesn’t require a template file. Just create a page called contact. Create your form in the plugins settings and then add the shortcode to that page to add the form to that page.

    Thread Starter dekraan

    (@dekraan)

    Hello there,

    I have found several contact plugins that don’t require a template file, and that you can simply input somewhere by writing [contact form 1] or something like that.

    Because I am (and need to, for my design) using a template file, these kind of forms don’t work.

    At the moment I found a trick with the Yoast (great!) Enhanced WP-contactform. To place this in my template, I used the following code:

    <?php echo wpcf_callback(); ?>

    Someone on this very forum suggested this and it works great, for as far as I can see. I do would like to know if there are ‘better’ suited plugins to do the job, though ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘contact-form on a template file?’ is closed to new replies.