Created
July 12, 2012 03:29
-
-
Save johndugan/3095498 to your computer and use it in GitHub Desktop.
WordPress: remove <p> on category description
This file contains 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
// ------------------------------------------------------------------------------ | |
// ---------- Remove the paragraph wrapper on the category description ---------- | |
// ------------------------------------------------------------------------------ | |
<?php | |
remove_filter('term_description','wpautop'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment