検索窓に検索語句を残す
<form action="<?php bloginfo('url'); ?>/" method="get">
<input type="text" name="s" value="<?php the_search_query(); ?>" />
</form>
<form action="<?php bloginfo('url'); ?>/" method="get">
<input type="text" name="s" value="<?php the_search_query(); ?>" />
</form>
function importJS() {
if (! new Array().push) return false;
var scripts = new Array(
'YOUR-PATH/YOUR-SCRIPT1.js'
,'YOUR-PATH/YOUR-SCRIPT2.js'
,'YOUR-PATH/YOUR-SCRIPT3.js'
);
for (var i=0; i<scripts.length; i++) {
document.write('<script type="text/javascript" src="' +scripts[i] +'"><\/script>');
}
}
importJS();
@media only screen and (max-width: 960px) {
div#twitterFollowBadge { display: none; }
}
<div class="nav"> <ol> <li><a accesskey="1" href="/">Home</a></li> <li><a accesskey="2" href="/html">HTML</a></li> <li><a accesskey="3" href="/css">CSS</a></li> <li><a accesskey="4" href="/javascript">JavaScript</a></li> <li><a accesskey="5" href="/jquery">jQuery</a></li> <li><a accesskey="6" href="/wordpress">WordPress</a></li> <li><a accesskey="7" href="/feed">RSS</a></li> </ol> </div>
p.button { clear: both; font-weight: bold; text-align: center; }
p.button a,
p.button span { display: inline-block; line-height: 43px; height: 45px; background: url(../images/button.png) no-repeat; }
p.button a { text-decoration: none; padding-left: 25px; }
p.button span { background-position: right top; padding-right: 45px; }
p.button a:hover { background-position: left bottom; }
p.button a:hover span { background-position: right bottom; }
<!DOCTYPE html>
<meta name="viewport" content="width=1024">
<style>
@media only screen and (max-device-width: 480px) {
body { font-size: 1.6em; }
div.body { width: 1024px; }
div.aside { display: none; }
div.article { float: none; width: auto; }
}
</style>
<body>
<div class="body"></div>
</body>
</html>