WordPress.org

Forums

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

  1. MTWK-Applied
    Member
    Posted 1 year 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Snippets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.