Paul Whitener Jr.
Member
Posted 3 years ago #
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?
cpreston
Member
Posted 3 years ago #
Your best bet is to upgrade your Visual Editor with TinyMCE Advanced
Paul Whitener Jr.
Member
Posted 3 years ago #
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.
This plugin works with the "visual" WYSIWYG editor in WordPress:
PHP Execution