当我在WP中使用文本编辑器时,我有两个选择:
或者我停止添加自动和
标签,
或者相反,它会自动提供这些标签.
我像网上其他数百万人一样疯狂...我想在普通的html页面上工作:当我按下"输入"时,它会在我们在屏幕上看到它时给出一个空行,当我们在添加代码,它提供了一个代码,其行为类似于代码.
现在,例如,如果我在文本中这样做:
"this is a sample sentences
在现实中,它给出了这样的结果:here i want two words with h2 style
here my sentence continues...",
this is a sample sentences
here i want two words with h2 style
here my sentence continues...
我理解并且我试图通过添加remove_filter ('the_content', 'wpautop');
到函数文件来删除自动化,但在这种情况下,在每个换行符时我必须添加一个疯狂的代码.
有解决方案???