admin管理员组文章数量:1425897
I'm using wordpress API to display content. I'm using the classic editor since guttenberg is bugging out elsewhere.
I noticed that if a paragraph does not have inline styles, wordpress does not save the <p>
tags in the database. So when I call the api, the response is something like this:
first paragraph.
second paragraph.
There isn't even a <br>
tag in between, just a newline I believe.
I just need to style paragraphs to be spaced apart, so I would prefer to have the paragraph tags.
Looked into wpautop function, but i just does not seem to save paragraph tags unless I tweak inline styles.
Any suggestions or alternatives?
本文标签: editorWordpress not saving ltpgt tags for custom taxonomy term description
版权声明:本文标题:editor - Wordpress not saving <p> tags for custom taxonomy term description 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745454797a2659051.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论