Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)
  • But I don’t want to remove s I want to stop wordpress from adding and
    around every block of text in my post. I want to be able to create my own markup because the wordpress wpautop filter is worthless to me. I despise it. All I want, is to have my post interpreted as straight up html – thats it!

    I don’t want to remove all s from my post because I want to be able to use them as I see fit. So I don’t want to do string replacements.

    Allusion says

    just use remove_filter

    Nuclear Moose says

    remove_filter('the_content', 'wpautop');

    Neither provide any details as to how or where we are supposed to use this. or is this just something I chant while holding a crucifix?

    Where am I supposed to put that?

    I am so godammed tired of fighting with worpdress over these p tags.

    WHY does it still put them around everything I do?

    I have read every single post on this website, and participated in every discussion yet I am unable to remove this ridiculous behavior.

    For the record, so far I have

    1) unchecked “correct invalidly nested XHTML automatically”

    2) gone into “template-functions-post.php” and commented out the line that reads add_filter("the_content", "wpautop"); (as suggested here

    3) checked “Use legacy my-hacks.php file support” 4) created a “my-hacks.php” file with the following lines:

    remove_filter("the_content", "wpautop");
    remove_filter("the_excerpt", "wpautop");
    remove_filter("comment_text", "wpautop");

    5) removed all whitespace from my markup before pasting it into wordpress.

    6) tried alternate versions of wordpress, including nightlies, hoping there is a bug somewhere.

    None of these measures or combinations thereof have mattered. I have been very conscious of clearing my cache and even creating brand new test posts – nothing works.

    Using WordPress 1.2.2

    remove_filter('the_content', 'wpautop');

    Where exactly am I supposed to put that?

    I tried putting it in my-hacks.php but it did not work. (I made sure the legacy my-hacks.php box was checked) WP 1.2.2

    Thread Starter zach

    (@zach)

    NuclearMoose: I’ve run that speed report and it basically tells me that I have too many images and too much css. Neither of which concern me for the reasons stated previously.

    What that report doesn’t tell me is why there is such an enormous discrepancy between the exact same page as html and php.

    I expect the static html to be faster. But the php should be at least usable. As it stands, I can’t use the php index without killing the server.

    Thread Starter zach

    (@zach)

    I’ve been staring at these stats. Am I missing something obvious?

    Thread Starter zach

    (@zach)

    Also, keep in mind that right now no one is hitting the dynamic-index.php so it renders much faster(still too slow for comfort) when it is the main index. When everyone tries to access the home page at the same time, it’s all over.

    Thread Starter zach

    (@zach)

    Here is the home page (currently static html to mitigate performance issues)
    http://goldenfiddle.com/

    And here is the actual home page (currently renamed for same reasons)
    http://goldenfiddle.com/dynamic-index.php

    Image sizes The page uses a lot of large images, but that is the nature of this site, and the static version renders at acceptable speed.

    Posts displayed per page At the moment the home page shows 5 posts (down from 10, which was down from 20).

    Number of external links… There are a $@)tload of external links. I never thought about that as being a problem. How many is too many?

    Thanks for your help

    macmanx: That doesn’t help, I still get dangling p tags peppered throughout my markup.

    I seem to remember something about having block level elements inside list items possibly causing this problem, I’ll look into it.

    When I comment out the wpautop filter in the code it works ok, and I can deal with it, but it took me a ridiculous amount of time to locate this bug and fix it with a hack.

    Thread Starter zach

    (@zach)

    Lol, ok, I guess that’s easy enough, thanks.

    I completely agree with OtherMichael. We should have the ability to turn off this automatic formatting without installing plugins, adding extra fields, or altering the code. This should be part of the core distribution. It would be an extremely easy feature to include, and it won’t scare off timid users — that is who the “Simple controls” setting is for. The “Advanced controls” only have 3 or 4 minor additional features, and this is a perfectly logical 5th. It can be deselected by default — no one gets hurt 😉

    I understand Brak’s argument against adding complicated features for the few, but I’m willing to bet we aren’t as few you think; but even if we are a minority, we are an important minority of advanced users capable of forming our own html and don’t want our tool to fight against us every step of the way.

    A feature shouldn’t have to be requested and used by 51% of the user base to be included, especially if it’s tucked into the Advanced tab where the average user fully expects to be confused by some of the options anyway. After all, tell me honestly, how many people need “Geo Tracking Features” in the default install, now that should be plugin ; )

    The main reason for my reply is to be counted in this few. Others reading this post who agree with OtherMichael and me should also chime in.

    I know this is an old post but I have this exact same question right now. Anybody have the best way to do this?

    Thread Starter zach

    (@zach)

    Bueller…

    Thread Starter zach

    (@zach)

    UPDATE wp_posts SET post_author = '2' WHERE post_author = '1';

    That did it! Thank you so much fellas. That’s all Johnny was looking for : )

    Thread Starter zach

    (@zach)

    anyone?

    Same here. Anyone?

    Thread Starter zach

    (@zach)

    YES! That was it. It does work.
    Thank you rboren. : )

Viewing 15 replies - 1 through 15 (of 26 total)