Categories
open content

Nix those auto-inserted <p>s in WordPress

If you’ve ever hated fighting the white space WordPress aggressively inserts all over the place, just insert this snippet of code at the top of your template file:

<?php remove_filter (‘the_content’, ‘wpautop’); ?>

Shazaam! No more auto-inserted <p>s!