Darn you WordPress AutoP Filter – How to disable AutoP?

WordPress automatically adds <p> tag for each line breaks within a post or page. For some, this filter can be a headache for their particular project.

I quickly googled and fixed it by adding following code in function.php

remove_filter('the_content', 'wpautop');

;)

2 replys to Darn you WordPress AutoP Filter – How to disable AutoP?

  1. Pingback: Design Gala
  2. Pingback: Design Gala

Leave a Reply

Your email address will not be published. Required fields are marked *