Support » Plugin: Post Snippets » Adding PHP to snippet results in parse error

  • Resolved MTWK-Applied

    (@mtwk-applied)


    Snippet works fine when just using html

    But just adding in an echo ‘hello’; results in a parsing error

    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

    I’ve checked off shortcode and php code. Is there something else I need to do?

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

  • The topic ‘Adding PHP to snippet results in parse error’ is closed to new replies.