Last active
December 26, 2015 22:49
-
-
Save michaelcarwile/7226232 to your computer and use it in GitHub Desktop.
Disable WordPress autop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Add to functions.php | |
//* Found here: http://www.stampede-design.com/blog/2010/12/disable-html-auto-formatting-in-wordpress/ | |
//* Disable WordPress autop | |
remove_filter('the_content', 'wpautop'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment