问题
I already added the remove_filter ('the_content', 'wpautop'); in the functions.php but still getting the extra p & br tags in the content.
Please check this page http://insideoutdogtraining.com/rescueseries
回答1:
use
echo get_the_content();
instead
the_content();
in your theme
回答2:
Does you post content already have these extra
and
tags or are they getting auto-generated when you query for them?
来源:https://stackoverflow.com/questions/10134915/how-to-remove-extra-p-tags-in-wordpress-pages-or-posts-content