Forums

TinyMCE Advanced
How to force TinyMCE advanced to stop removing PHP code ? (2 posts)

  1. Fvieville
    Member
    Posted 1 year ago #

    Hi everybody,

    I'm using WP 3.0.5 and I import all my posts with TurboCSV (no need to create each post one by one).

    After importing, I have some code like this one in my posts :
    [...]

  2. <b><i>Conditions de service :</i></b> : <?php echo str_replace(',',', ',$mystring) ;?>
  3. [...]

    and for this code to work, I'm using the Exec-PHP plugin (which works well).

    But if I want to modify my posts using TinyMCE Advanced, all my PHP scripts are deleted when I use the Visual tab.

    How can I force TimyMCE Advanced NOT to delete all my PHP scripts ?

    Thanks for helping

    François

  • Andrew Ozz
    WordPress Dev
    Posted 1 year ago #

    Perhaps check the TinyMCE support forums for any suggestions, by default the editor doesn't support php code.

  • Topic Closed

    This topic has been closed to new replies.

    About this Plugin

    About this Topic

    Tags