Disable WordPress from adding

tags

Disable WordPress from adding

tags

Use this:

remove_filter( the_content, wpautop );
remove_filter( the_excerpt, wpautop );

in your functions.php

Heres the complete answer: http://codex.wordpress.org/Function_Reference/wpautop#Disabling_the_filter

WordPress modifies and cleans your entered HTML both in the editor and at output.

Use this plugin to get unmodified markup into your posts:

https://wordpress.org/extend/plugins/raw-html/

Disable WordPress from adding

tags

Try this in your functions.php

<?php remove_filter (the_content, wpautop); ?>

Leave a Reply

Your email address will not be published.