【发布时间】:2014-05-11 14:11:45
【问题描述】:
我正在使用微型端口模板。 可以在here找到一个演示。
head 部分如下所示:
<!DOCTYPE HTML>
<!--
Miniport 2.5 by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Miniport by HTML5 UP</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300,600,700" rel="stylesheet" />
<script src="js/jquery.min.js"></script>
<script src="js/config.js"></script>
<script src="js/skel.min.js"></script>
<noscript>
<link rel="stylesheet" href="css/skel-noscript.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-desktop.css" />
</noscript>
<!--[if lte IE 9]><link rel="stylesheet" href="css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><script src="js/html5shiv.js"></script><link rel="stylesheet" href="css/ie8.css" /><![endif]-->
<!--[if lte IE 7]><link rel="stylesheet" href="css/ie7.css" /><![endif]-->
</head>
没有任何变化,但在将其转换为 wordpress 主题时添加了<?php wp_head(); ?>。
但是css坏了,当<noscript>在那里时,看起来页面没有得到css。
将原始主题转换为 wordpress 时,响应性也会中断。
如何解决 1.noscript 问题 2. 响应性问题?
【问题讨论】:
标签: jquery css wordpress wordpress-theming noscript