Products
GG网络技术分享 2025-03-18 16:12 10
I have a custom text widget but I cant write html code in it.
Is there any way to add html support to custom widget?Note: I know there is Wordpress Text Widget but I have to use this custom widget.
Here is my code: https://codepaste.net/ct4yee
Thanks for help!
图片转代码服务由CSDN问答提供
感谢您的意见,我们尽快改进~
功能建议我有一个自定义文本小部件,但我不能在其中编写html代码。
有没有办法添加html支持 自定义小部件?</ p>
注意:我知道有Wordpress Text Widget,但我必须使用这个自定义小部件。</ p>
这是我的代码:< a href =“https://codepaste.net/ct4yee”rel =“nofollow noreferrer”> https://codepaste.net/ct4yee </ p>
感谢您的帮助!< / p>
</ div>
Your script is calling strip_tags() which removes HTML tags. See http://php.net/manual/en/function.strip-tags.php.
Demand feedback