remove_filter('the_content', 'autop')
remove_filter('the_content', 'autop')
hey, thanks for the tip. remove_filter() threw an "undefined function" error, though (??) but i ended up figuring out that i could solve the problem by commenting out the following line in vars.php: add_filter('the_content', 'wpautop');
did the trick quite nicely...
You could also do a p.storycontent {display: inline;} in your css.
remove_filter('the_content', 'wpautop')
...worked for me. Note the difference is wpautop instead of autop. I'm using a nightly build from mid-April 2004.
Where should the remove filter function be put?
Into index.php as
<?php remove_filter('the_content', 'wpautop') ?>
I am a little new to all this, sorry.
i need some help on this too, please?
Where might one find the place where WP is inserting the tags to begin with, so I can just take it out. remove_filter/apply_filter is not working.
Wherefore, wherefore, wherefore doth we place the code?
Oh, that there were a button that sayeth but "Auto-formatting is on/Auto-formatting is off."
Visit there and log an enhancement suggestion.
Jan, that bug is already fixed in CVS.
Flagged for Codex
hi, still waiting for an answer... WHERE does the "remove_filter" code get placed?
MtDewVirus has made this into a plugin I believe.
Link?
This topic has been closed to new replies.