PHP not displaying on page
-
Hi there,
I have installed the plugin and look forward to getting it working.I am using it for a PHP snippet, and am finding that it isn’t quite working.
My snippet contains this:
http://s1110.photobucket.com/user/toby012345/media/post-snippet-page.gif.html
http://s1110.photobucket.com/user/toby012345/media/post-snippet-wp.gif.htmlBut it only displays a warning on the actual page, like this:
Parse error: syntax error, unexpected ‘<‘ in /home2/mycomputer/public_html/mywebsite.com/wp-content/plugins/post-snippets/src/PostSnippets/Shortcode.php(97) : eval()’d code on line 1
I realise that this error might be attributed to me not typing the correct PHP, but I’m not entirely certain.
Any help would be appreciated.
The topic ‘PHP not displaying on page’ is closed to new replies.