1
Wordress使用AMP插件。目前出現錯誤The attribute 'type' may not appear in tag 'style amp-custom'.
WordPress的AMP插件錯誤:屬性'類型'可能不會出現在標籤'style amp-custom'中
打開頁面和訪問控制檯時,錯誤指向樣式屬性type
。
<style type="text/css">
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
這部分代碼來自index
頁面。我將如何去改變這一點?我在哪裏可以更改wordpress代碼?這是一個主題錯誤,因此我需要聯繫主題開發人員?
,這怎樣幫助我有關係嗎?如何使用這個新代碼更新wordpress?這是代碼的主題還是我可以手動更新它? –
@Mlennie我的不好,我錯過了wordpress標籤,我不喜歡wordpress,所以我不知道如何做到這一點,但看到你的風格標籤應該是這樣的: