Title: Executable code and Visual editing?
Last modified: August 19, 2016

---

# Executable code and Visual editing?

 *  [Paul Whitener Jr.](https://wordpress.org/support/users/pwhitene/)
 * (@pwhitene)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/executable-code-and-visual-editing/)
 * I’m looking to include some executable PHP in a page. Using the “HTML” editor(
   along with the Exec-PHP plugin) I’ve been able to add the code and have it function
   properly.
 * _However_, when I return to the “Visual” editing interface, the code gets destroyed.
   While I’m comfortable editing post content in HTML, we have authors who will 
   need to use the “Visual” editor.
 * I’ve been searching for days to no avail. Is there any way for executable code
   and “Visual” editing to work together?

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

 *  [cpreston](https://wordpress.org/support/users/cpreston/)
 * (@cpreston)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/executable-code-and-visual-editing/#post-1036029)
 * Your best bet is to upgrade your Visual Editor with [TinyMCE Advanced](http://wordpress.org/extend/plugins/tinymce-advanced/)
 *  Thread Starter [Paul Whitener Jr.](https://wordpress.org/support/users/pwhitene/)
 * (@pwhitene)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/executable-code-and-visual-editing/#post-1036059)
 * I’m running the TinyMCE Advanced plugin already and am still having the issue.
   Thus far, everything I’ve tried has failed; I cannot get PHP code in the post
   to work once “visual” WYSIWYG editing has been made.
 *  [nzeh](https://wordpress.org/support/users/nzeh/)
 * (@nzeh)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/executable-code-and-visual-editing/#post-1036188)
 * This plugin works with the “visual” WYSIWYG editor in WordPress:
 * [PHP Execution](http://wordpress.org/extend/plugins/php-execution-plugin/)

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

The topic ‘Executable code and Visual editing?’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [nzeh](https://wordpress.org/support/users/nzeh/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/executable-code-and-visual-editing/#post-1036188)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
