我在索引页面上运行'循环',当我在循环上放置the_content()时,它会'<p>..</p>'在内容之间自动添加,我想取消它.
无论如何?谢谢.
添加你的functions.php文件:
remove_filter('the_content', 'wpautop');
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7056 次 |
| 最近记录: |