WordPress.org

Ready to get started?Download WordPress

Forums

Post Snippets
[resolved] Adding PHP to snippet results in parse error (1 post)

  1. MTWK-Applied
    Member
    Posted 11 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.