wp-paragraph-tags-300x126Its 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.

Comments are closed.

Post Navigation