Support » Fixing WordPress » Adding PHP to snippet results in parse error

  • Resolved MTWK-Applied

    (@mtwk-applied)


    Snippet works fine with html and text but creates a parse error when I add in php. Right now, just adding in echo hello for testing purposes.

    Parse error: syntax error, unexpected ‘<‘ in /home/content/42/11056642/html/b2bwordpress/wp-content/plugins/post-snippets/lib/PostSnippets/Shortcode.php(98) : eval()’d code on line 1

    Checked off shortcode and php code.

    http://wordpress.org/plugins/post-snippets/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding PHP to snippet results in parse error’ is closed to new replies.