The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Post Snippets
[resolved] Adding PHP to snippet results in parse error (2 posts)

  1. MTWK-Applied
    Posted 3 years ago #

    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.


  2. MTWK-Applied
    Posted 3 years ago #

    Sorry. Figured out don't need to add in <?php

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic