WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Contact Form 7] how to output the form in header.php

[Plugin: Contact Form 7] how to output the form in header.php

  • Hi there
    I wanted to use this form as a slide out contact form for any page using jquery, how do i echo this form in my header.php

    Thanks

Viewing 1 replies (of 1 total)
  • Add this code to your theme file:

    <?php echo do_shortcode( ‘[contact-form 1 “Contact form 1”]’ ); ?>

    That should work for you.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Contact Form 7] how to output the form in header.php’ is closed to new replies.