Skip to content

Instantly share code, notes, and snippets.

@codeway
Forked from danlum/gist:3802764
Created July 30, 2013 18:19
Show Gist options
  • Select an option

  • Save codeway/6115408 to your computer and use it in GitHub Desktop.

Select an option

Save codeway/6115408 to your computer and use it in GitHub Desktop.

Revisions

  1. @danlum danlum created this gist Sep 29, 2012.
    5 changes: 5 additions & 0 deletions gistfile1.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    <?php
    /* Stop WordPress from adding those annoying paragraph tags */
    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_excerpt', 'wpautop' );
    ?>