PHP Code Widget
PHP Code (3 posts)

  1. mrmccarrin
    Posted 2 years ago #

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

     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.


  2. mrmccarrin
    Posted 2 years ago #

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

  3. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.