HTMLで入力したい人にとっては邪魔以外の何物でもない自動で挿入されるPタグを無効にするには、以下をfunctions.phpに追加します。
remove_filter ( 'the_content', 'wpautop' ); remove_filter ( 'the_excerpt', 'wpautop' );
上記は全体に反映する方法ですが、個別に反映したい場合は以下のように挿入します。
<?php
while (have_posts()) :
the_post(); ?>
<?php remove_filter('the_content', 'wpautop'); ?>
<?php the_content(); ?>
<?php endwhile; ?>


