Wordpress Tutorials, Plugins & Themes

How To Remove WordPress Auto Generated Paragraphs Tags



Its true, WordPress automatically puts some paragraphs tags all over your posts. Of course it considered a useful feature. But sometimes it creates a lot of troubles for Programmers and Template Designers. So you can remove the paragraph tags by using filter into the “functions.php” file of worpdress theme.

remove_filter ('the_content', 'wpautop');

Once saved, WordPress no longer inserts paragraph tags into your post contents.

Be Sociable, Share!

    Leave a Reply

    Required fields are marked *.

    * Copy This Password *

    * Type Or Paste Password Here *