papaface Posted January 4, 2008 Share Posted January 4, 2008 Hello, I have a blog. In my blog I have examples of code. For some reason when I use the editor and insert a ' it is printed in wordpress as a ‘ Which obviously caused parsing issues when people copy and past the text for code such as: echo ‘<a href="’.$links[$randnum].‘"><img style=" border:none" src="’.$images[$randnum].‘" /></a>’; should be: echo '<a href="'.$links[$randnum].'"><img style=" border:none" src="'.$images[$randnum].'" /></a>'; Any ideas as to how I can fix this? Quote Link to comment https://forums.phpfreaks.com/topic/84507-solved-wordpress-and-php-code-plugin/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.