• I’m a relative WordPress newbie, but I’m losing my mind trying to get WP to leave my HTML code alone. I’ve tried a variety of plug ins and alternate WYSIWYG editor plugins to try and keep my code clean without WP re-writing it.

    Most recently, I’ve bee working with WYSI’s plugin and having pretty good success, but even that is re-writing SWF embed code when I try to enter it as straight HTML. Quote marks keep being re-written, so my embed code keeps getting mangled and preventing my SWFs from displaying…

    I’m losing my mind here. Isn’t there some simple way for me to have WP leave any pure HTML I enter alone and not rewrite it?

    Thanks in advance for any help…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you tried using the regular editor? You can switch between them at Dashboard -> Users -> Your profile -> Find the check box for the editor and uncheck it.

    Gotta admit that I just use WP-extremevideo myself. I don’t have a link handy as I’m on a locked down terminal and can’t do a search but it should come right up.

    Hope this helps,
    -drmike

    Thread Starter Matt Pusateri

    (@crookdimwit)

    The problem I had with the regular editor is that I would switch to HTML and enter some DIV tags, etc… and WP would re-write the code entirely…

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    The problem I had with the regular editor is that I would switch to HTML

    The “regular” editor does not have such a switch. It’s not a WYSIWYG editor at all.

    Go to Users->Your Profile and turn off the “use visual editor” option. Then look at your editor.

    I don’t know if crookdimwit ever resolved this, but for those who stumble upon this with the same problem like I did,

    when I cut and pasted some HTML into the editor (using both the visual turned on and off), it turned out that it was also copying the linebreaks in the original. This was confusing the editor and it was trying to resolve what I intended, changing the code in the process. I ended up have to just hit “backspace” or “delete” enough times to where the code backed up then inserted a space. Visually, you could really tell the difference. But the editor could I guess.

    Hope this helps.

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

The topic ‘Help… WP keeps rewriting my SWF embed code…’ is closed to new replies.