Skip to content

Instantly share code, notes, and snippets.

@3200creative
Created October 12, 2013 22:48
Show Gist options
  • Save 3200creative/6955828 to your computer and use it in GitHub Desktop.
Save 3200creative/6955828 to your computer and use it in GitHub Desktop.
Disable WordPress form adding paragraphs
remove_filter('the_excerpt', 'wpautop');
remove_filter('the_content', 'wpautop');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment