Support » Fixing WordPress » Disappearing Code

  • Resolved Raquel Wilson


    I am trying to add a form to one of my WP Pages. However, the hidden input tags are deleted when I save the page. I’ve tried adding the form to the page a few different ways (copying + pasting directly into the Page editor, c+p into the Page HTML editor, using a PHP include to pull the code into the page from an outside page hosted on the same site), but nothing seems to work.

    Does anyone have any suggestions for other solutions to get the form on the page without the tags being deleted?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Disable the rich text (wysiwyg) editor, from wp-admin/users/your profile page – scroll down, bottom left corner, uncheck the box.

    Just in case you need this–to put php code in a post or page look at:

    RunPHP Plugin
    Don’t forget to check the “run PHP code?” box on the Write Post and Write Page area.

    QuickPHP is really targeted for single function calls or include statements (it does one ‘method’, with a parenthesized parameter list), constant arguments. But including a php script is then really easy, or calling a function (like any basic WP func..).

    The author, David Chait, uses it for embedding things like CG-FeedRead feeds, or wacky CG-Amazon stuff (since CG-Inline already has an amazon tag).

    PHPExec Plugin

    Raquel Wilson


    Thanks to both of you! I actually did a different work around for it and created a new template for the specific page with the form. It only needs to appear on one page, so everything should be ok for now.

    Thanks for the links to the PHP plugins, I’ll make note for future use. I’m sure they will come in handy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disappearing Code’ is closed to new replies.