• Resolved bowoolley

    (@bowoolley)


    Hi – I’m using the wp-quotes plugin to put random quotes on my start page. When I insert the php quote into the (“static”) page, and click save, it works just fine. When I go back to edit the page, however, the php has disappeared. This has happened other times when I’ve typed in php commands as well. What am I doing wrong, please??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bowoolley

    (@bowoolley)

    Just found out that this only happens when using the visual editor. I have unchecked “use visual editor” in the user’s interface, and things seem to be ok. But I’m afraid that if I inadvertently go to the visual editor to check something out before publishing, the code will disappear again. Is there a fix??

    Thread Starter bowoolley

    (@bowoolley)

    OK, not resolved really, but I’m using BBEdit to edit the file directly from the server. Problem not resolved in the absolute sense, but I’m closing the question (no replies anyway!!)

    You can NOT use php code in the content of a Page or post.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Php disappears when editing’ is closed to new replies.