matometaru
5/31/2017 - 1:58 AM

自動整形無効

自動整形無効

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

<?php
remove_filter ('acf_the_content', 'wpautop');
the_field("カスタムフィールド名", $post_id);
?>