• How do I go about turning off the “HTML Optimization” for posts. I’m not sure if that is the correct term, but it seems to be correct.

    Basically, I don’t want WordPress changing the html of my posts as it keeps messing it up. I write valid html, so I don’t need it to “fix” it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The real question should be are you writing vaild xhtml? Since WP does try to make valid xhtml.

    admin panel > Options > Writing?

    Do you mean that you want WordPress to keep your HTML and XHTML from either not working or turning into <p> codes?

    First, you can try turning off WordPress should correct invalidly nested XHTML automatically in Admin > Options > Writing. Just make sure you correctly nest everything. If not, running a valdation on your site will catch it. It happens to everyone. Nested lists are a frequent validation breaker. But I assume you know how to check your stuff.

    Second, download and install TextControl plugin as it allows for globally or on a per-post basis allow you to control how WP formats your posts.

    I sometimes write quick little posts and I don’t want to put them in tags because there is no reason. I want WordPress to take care of it for me, so I set the TextControl options on THAT post to use wpautop and texturize. But for the serious stuff that has containers and formatting issues, I turn off all formating and character formating. Then the HTML displays the page with no problems.

    Until I run a validation on the page and found out that I slipped and wrote <il> instead of <li>, which happens to all of us 😉 .

    Thread Starter thejoker101

    (@thejoker101)

    Ok, thanks for the Admin > Options > Writing part, I was actually on that page, but I guess I was looking for something a little bit more pronounced.

    However, that didn’t exactly do what I wanted. WordPress will still insert tags at every new line, I don’t want it to do that. Will that TextControl plugin do that?

    Thread Starter thejoker101

    (@thejoker101)

    Apparently it yanked out my < p > tag i wrote.

    Thread Starter thejoker101

    (@thejoker101)

    And by “it”, I mean this board.

    You mean WP adds all that <p> and <br> and you don’t want that?

    Then I guess if you use that TextControl plugin and set it to no formatting, then your post will not be filtered at all.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘HTML Optimization Off’ is closed to new replies.