• Hello,
    my problem take place when I write a post similar to this:

    <div class="sds">
    <ol>
    <li>d</li>
    <li>fd</li>
    </ol>
    </div>

    After saving it, if i try to edit the code this become:

    <p class="sds"></p>
    <ol>
    <li>d</li>
    <li>fd</li>
    </ol>

    The div become a p and the ol is put out from the element.
    Does a method exist to avoid wordpress “cleaning” the code?
    I tried to modify the tyniMCE file but it didn’ work 🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • Turn off that visual monster thing. No, do NOT switch between visual/code. Turn it OFF for good in admin > Users > Your profile.
    (anyway, if you know html code you do NOT need that idiotic wysiwyg)

    Thread Starter mega69

    (@mega69)

    Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to avoid wordpress cleaning the code of a post.’ is closed to new replies.