2013-05-02 51 views
4

按照微軟的指示設置了Win 8 Metro Tiles - http://www.buildmypinnedsite.com但它們對我而言不起作用。我的網站是http://themixtapesite.com儘管代碼正確,Windows 8 Metro Tiles無法在主題中工作

這是我的標記代碼,其中所有其他標記都適用於其他標記,所有Apple相關的代碼都可以正常工作。

<head> 

<meta charset="<?php bloginfo('charset'); ?>" /> 
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> 

<meta name="format-detection" content="telephone=no"> 

<link rel="apple-touch-icon-precomposed" href="http://assets.themixtapesite.com/images/touch-icon-iphone.png" /> 
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://assets.themixtapesite.com/images/touch-icon-ipad.png" /> 
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://assets.themixtapesite.com/images/touch-icon-iphone-retina.png" /> 
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://assets.themixtapesite.com/images/touch-icon-ipad-retina.png" /> 

<title><?php wp_title('|', true, 'right'); ?></title> 
<meta name="description" content="<?php rb_excerpt('rb_excerptlength_widget', 'rb_excerptmore'); ?>"> 
<meta name="viewport" content="width=device-width; initial-scale=1.0; 
maximum-scale=1.0; minimum-scale=1.0; user-scalable=0;" /> 
<meta name="apple-mobile-web-app-capable" content="yes" /> 
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> 
<meta name="application-name" content="TMS"/> 
<meta name="msapplication-TileColor" content="#000000"/> 
<meta name="msapplication-TileImage" content="http://assets.themixtapesite.com/images/15024da5-9803-4120-af3f-e8b2636c5eba.png"/> 

似乎沒有是什麼錯誤代碼,您查看源代碼和它的存在,但運8和微軟的網站不讀任何3個標籤,標題,顏色或圖像。必須是與我的主題有關,但它可能是什麼?

回答

0

對於tileColortileImage顯示出來,你必須針從Internet Explorer( +)的地鐵(瓦)版本啓動畫面了。

+0

嗨埃裏克,多數民衆贊成在測試的方式,但也在微軟自己的網站上測試 - http://www.buildmypinnedsite.com你可以做同樣的事情,但與這個主題似乎忽略元標籤沒有人,包括主題開發人員可以找到這種情況的原因 – 2013-06-07 11:48:28

1

首先您可以刪除額外的視口標籤。沒有必要有兩個在那裏?

此外,您的網頁似乎有未封閉的標籤。也許這導致它不顯示?

http://validator.w3.org/check?uri=http%3A%2F%2Fthemixtapesite.com

修復這兩個然後回到我身邊。我很抱歉,但我太過於直接對你發表評論。

+1

這些都不是 - 嘗試http://clean.seiceed.com它是這個主題的乾淨版本,在buildmypinnnedsite.com上,它仍然不會沒有工作。該主題中的某些內容會阻止Microsoft閱讀元標記,但它不應該是微軟最終的錯誤。 – 2013-06-13 13:58:30