Title: EDIT snippet does not show PHP code
Last modified: August 31, 2016

---

# EDIT snippet does not show PHP code

 *  Resolved [pirod](https://wordpress.org/support/users/pirod/)
 * (@pirod)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/)
 * Hi,
    since latest updates, now I cannot see the ixisting PHP code when editing
   a snippet. The ‘write your code’ box is blank on all snippets…
 * I tried IE11 ,FF and Chrome without success on any.
 * thanks
 * [https://wordpress.org/plugins/php-code-for-posts/](https://wordpress.org/plugins/php-code-for-posts/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [pirod](https://wordpress.org/support/users/pirod/)
 * (@pirod)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/#post-7208777)
 * just found that you need to type on the blank edit box to make the code visible.
   What is the point of that??
 *  Plugin Author [Jamie Fraser](https://wordpress.org/support/users/thejfraser/)
 * (@thejfraser)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/#post-7209006)
 * Hi Pirod,
 * On all the browsers I have tested on it loads it in automatically.
 * It could a browser plugin you have installed on all your browsers that is causing
   it (most likely not)
 * However to find out the exact nature can you tell me a bit more about your set
   up?
    - Client (your pc) Operating System
    - Client Browser (s) and version(s)
    - Any browser add-ons
    - Server Software (if known)
    - PHP version
    - WordPress Version
 * Once I have this information I’ll take a second look and see if there is anything
   I can find.
 * As a side note, does it show up if you turn off the Code Mirror editor (rich 
   snippet editor)? (it could be that the version of Code Mirror doesn’t sit well
   with your setup)
 * Cheers
 *  Thread Starter [pirod](https://wordpress.org/support/users/pirod/)
 * (@pirod)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/#post-7209007)
 * Hi,
 * Yes, it is related to the rich editor. If I hit ALT key, the content also shows,
   otherwise remains white. I deactivated the rich editor, but then the textarea
   is of only2 lines… I see no JS errors on firebug. I will check on other PCs…
 * I have all browsers on last version on Win10 PRO64. Server is centos, PHP5.4,
   WP 4.2.2 (all updated).
 *  Thread Starter [pirod](https://wordpress.org/support/users/pirod/)
 * (@pirod)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/#post-7209008)
 * I can send you screenshots…
 *  Plugin Author [Jamie Fraser](https://wordpress.org/support/users/thejfraser/)
 * (@thejfraser)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/#post-7209009)
 * Hi Pirod,
 * Please do, I have not encountered this error before (nor has it been reported)
 * You can email me at [enquiries@jamiefraser.co.uk](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/enquiries@jamiefraser.co.uk?output_format=md)
 * Cheers
 *  Plugin Author [Jamie Fraser](https://wordpress.org/support/users/thejfraser/)
 * (@thejfraser)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/#post-7209046)
 * Hi Pirod,
 * The JS is being messed with by your performace optimizing stuff
 * Clear the caches for the performace plugins and it should work again.
 * Cheers

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘EDIT snippet does not show PHP code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-code-for-posts_0d1022.svg)
 * [PHP Code for posts](https://wordpress.org/plugins/php-code-for-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-code-for-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-code-for-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/php-code-for-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-code-for-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-code-for-posts/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jamie Fraser](https://wordpress.org/support/users/thejfraser/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/edit-snippet-does-not-show-php-code/#post-7209046)
 * Status: resolved