【问题标题】:Why Wordpress doesn't display embedded code properly为什么 Wordpress 不能正确显示嵌入代码
【发布时间】:2017-01-24 10:45:56
【问题描述】:

我确实将嵌入的代码复制并粘贴到 Wordpress HTML 格式中

<iframe src="http://free.timeanddate.com/clock/i5jvinv9/n179" frameborder="0" width="113" height="18"></iframe>

但是,输出仅在链接上方。请看附图。

谁能告诉我为什么以及如何解决它?非常感谢 enter image description hereenter image description here 劳伦斯

【问题讨论】:

    标签: html wordpress iframe


    【解决方案1】:

    使用 Wordpress.com,您必须使用“添加嵌入”或“添加媒体”按钮。来自文档:“WordPress.com VIP 以特殊方式处理尚未列入白名单的嵌入和脚本以进行安全保护。Here's how to embed 以 script、iframe、object 开头的代码。”

    【讨论】:

    • 在我的 wordpress 界面中没有“添加嵌入”按钮,正如您在我的帖子图片中看到的那样。你的意思是我必须申请 wordpress.com vip 是嵌入代码的唯一方法?
    • 不,您不需要 VIP。 this 有帮助吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-11
    相关资源
    最近更新 更多