WordPress.org

Ready to get started?Download WordPress

Forums

PHP Code Widget
PHP Code (3 posts)

  1. mrmccarrin
    Member
    Posted 11 months ago #

    Hello - I have installed your widget and am using it for my contact form. I am using the code

    <?php
    //
     contact-form-7 id="411" title="Contact Side Bar" ; ?>

    I have played around with it a bunch and I do not understand why it is only giving me the error message:

    Parse error: syntax error, unexpected 'id' (T_STRING) in /homepages/0/d459381149/htdocs/Megans WordPress/wp-content/plugins/php-code-widget/execphp.php(44) : eval()'d code on line 3

    Any help would be greatly appreciated.

    http://wordpress.org/extend/plugins/php-code-widget/

  2. mrmccarrin
    Member
    Posted 11 months ago #

    I apologize, my site is http://pkworkcomp.com

  3. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 11 months ago #

    I don't know if you misposted or the forum ate your code, but the above snippet is not valid PHP code, and yes, you would naturally get a syntax error with that.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.