WordPress.org

Ready to get started?Download WordPress

Forums

Quick Contact Form
[resolved] Problem adding the form to my theme files (3 posts)

  1. grishart
    Member
    Posted 11 months ago #

    Hi

    I am trying to add the form to my template file with the following code <?php echo do_shortcode("[qcf id="name-of-form"]"); ?> I keep getting an error message.

    there is a syntax error on line 147.

    Any help would be good.

    http://wordpress.org/extend/plugins/quick-contact-form/

  2. aerin
    Member
    Plugin Author

    Posted 11 months ago #

    It's the quotes that are the problem. Try this:

    <?php echo do_shortcode('[qcf id="name-of-form"]'); ?>

    Just tested and it worked for me.

  3. grishart
    Member
    Posted 11 months ago #

    Hi Aerin

    Many thanks that has worked a treat.

    Thanks

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.