Forums
(@dylanspurgin)
14 years, 2 months ago
Thanks for the great write-up, dpchen. Worked like a charm for me.
One edit: I had to remove the $sample variable from the second function definition. It looks like that function only takes 3 arguments now.
14 years, 11 months ago
I suggest promoting to full-fledged plugin status. Working for me with WP 2.9.1
15 years, 1 month ago
lesfreeman’s fix worked for me temporarily but then my page started using the index.php template.
Anyone have a better fix?
Adding this code at the top of my templates pages worked for me:
<?php remove_filter ('the_content', 'wpautop'); ?>
See this article for more info.