加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows-8 – 尽管代码正确,Windows 8 Metro Tiles仍无法在主题

发布时间:2020-12-14 05:42:12 所属栏目:Windows 来源:网络整理
导读:按照微软上的指示设置Win 8 Metro Tiles – http://www.buildmypinnedsite.com,但它们对我不起作用.我的网站是 http://themixtapesite.com 这是我的标题代码,标签到位,所有其他标签的其他工作,所有我的Apple相关代码工作正常. headmeta charset="?php blogin
按照微软上的指示设置Win 8 Metro Tiles – http://www.buildmypinnedsite.com,但它们对我不起作用.我的网站是 http://themixtapesite.com

这是我的标题代码,标签到位,所有其他标签的其他工作,所有我的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"/>

代码似乎没有任何问题,您可以查看源代码及其中的内容,但Win 8和microsofts站点不会读取3个标签,标题,颜色或图像中的任何一个.必须与我的主题有关,但它可能是什么?

解决方法

首先,您可以删除额外的视口标记.有没有必要有两个?

您的页面似乎也有未关闭的标签.也许这导致它不显示?

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

解决这两个然后回到我身边.对不起,但我太喜欢直接向你发表评论了.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读